diff --git a/cypress/support/pages/admin_console/manage/events/AdminEventsTab.ts b/cypress/support/pages/admin_console/manage/events/AdminEventsTab.ts index b7c2e727ff..ead052730e 100644 --- a/cypress/support/pages/admin_console/manage/events/AdminEventsTab.ts +++ b/cypress/support/pages/admin_console/manage/events/AdminEventsTab.ts @@ -66,7 +66,7 @@ export default class AdminEventsTab { cy.findByTestId(this.searchAdminEventDrpDwnBtn).click(); cy.findByTestId(this.resourcePathInputFld).type("events/test"); cy.findByTestId(this.searchEventsBtn).click(); - cy.get(this.adminEventsTabTitle).contains("No events logged"); + cy.get(this.adminEventsTabTitle).contains("No search results"); } shouldCheckAuthDialogOpensAndIsNotEmpty() { diff --git a/cypress/support/pages/admin_console/manage/events/UserEventsTab.ts b/cypress/support/pages/admin_console/manage/events/UserEventsTab.ts index accb00c982..438ec70ea7 100644 --- a/cypress/support/pages/admin_console/manage/events/UserEventsTab.ts +++ b/cypress/support/pages/admin_console/manage/events/UserEventsTab.ts @@ -68,6 +68,6 @@ export default class UserEventsTab { cy.findByTestId(this.searchEventDrpDwnBtn).click(); cy.findByTestId(this.userIdInputFld).type("test"); cy.findByTestId(this.searchEventsBtn).click(); - cy.get(this.userEventsTabTitle).contains("No events logged"); + cy.get(this.userEventsTabTitle).contains("No search results"); } } diff --git a/src/events/AdminEvents.tsx b/src/events/AdminEvents.tsx index 997074bc9b..fbb72eb395 100644 --- a/src/events/AdminEvents.tsx +++ b/src/events/AdminEvents.tsx @@ -629,6 +629,7 @@ export const AdminEvents = () => { instructions={t("emptyEventsInstructions")} /> } + isSearching={Object.keys(activeFilters).length > 0} /> ); diff --git a/src/events/EventsSection.tsx b/src/events/EventsSection.tsx index 51c3f09777..21ebda3f67 100644 --- a/src/events/EventsSection.tsx +++ b/src/events/EventsSection.tsx @@ -468,6 +468,7 @@ export default function EventsSection() { instructions={t("emptyEventsInstructions")} /> } + isSearching={Object.keys(activeFilters).length > 0} />