diff --git a/ui/cypress/e2e/checks.test.ts b/ui/cypress/e2e/checks.test.ts index 76d10f34c6d..2fdd42f38c9 100644 --- a/ui/cypress/e2e/checks.test.ts +++ b/ui/cypress/e2e/checks.test.ts @@ -22,6 +22,9 @@ describe('Checks', () => { }) }) cy.get('[data-testid="resource-list--body"]', {timeout: PAGE_LOAD_SLA}) + + // User can only see all panels at once on large screens + cy.getByTestID('alerting-tab--checks').click({force: true}) }) it('can validate a threshold check', () => { diff --git a/ui/cypress/e2e/notificationEndpoints.test.ts b/ui/cypress/e2e/notificationEndpoints.test.ts index 55c4d7d46d1..772e76213e6 100644 --- a/ui/cypress/e2e/notificationEndpoints.test.ts +++ b/ui/cypress/e2e/notificationEndpoints.test.ts @@ -31,7 +31,7 @@ describe('Notification Endpoints', () => { cy.visit(`${orgs}/${id}${alerting}`) // User can only see all panels at once on large screens - cy.getByTestID('alerting-tab--endpoints').click() + cy.getByTestID('alerting-tab--endpoints').click({force: true}) }) }) }) diff --git a/ui/cypress/e2e/notificationRules.test.ts b/ui/cypress/e2e/notificationRules.test.ts index 8dec97af695..b763e41d798 100644 --- a/ui/cypress/e2e/notificationRules.test.ts +++ b/ui/cypress/e2e/notificationRules.test.ts @@ -26,9 +26,6 @@ describe('NotificationRules', () => { // visit the alerting index cy.fixture('routes').then(({orgs, alerting}) => { cy.visit(`${orgs}/${id}${alerting}`) - - // User can only see all panels at once on large screens - cy.getByTestID('alerting-tab--rules').click() }) }) }) @@ -155,6 +152,9 @@ describe('NotificationRules', () => { }) it('can create a notification rule', () => { + // User can only see all panels at once on large screens + cy.getByTestID('alerting-tab--rules').click({force: true}) + const ruleName = 'my-new-rule' cy.getByTestID('create-rule').click()