diff --git a/web/cypress/views/incidents-page.ts b/web/cypress/views/incidents-page.ts index 1044de5cb..02bab449e 100644 --- a/web/cypress/views/incidents-page.ts +++ b/web/cypress/views/incidents-page.ts @@ -17,9 +17,8 @@ const _resetSearchState = () => { _quietSearch = false; }; -// Selector for the Incidents tab rendered by the Console SDK's HorizontalNav. -// The Console assigns data-test-id="horizontal-link-" to each tab. -const _INCIDENTS_TAB_SELECTOR = '[data-test-id="horizontal-link-incidents"]'; +// Case-insensitive selector — the console has shipped both "incidents" and "Incidents". +const _INCIDENTS_TAB_SELECTOR = '[data-test-id="horizontal-link-incidents" i]'; // Selector for bar group containers in the incidents chart (one per incident). const _BAR_GROUP_SELECTOR = 'g[role="presentation"][data-test*="incidents-chart-bar-"]';