Skip to content

Commit 25dba7c

Browse files
authored
fix: update flakey test (#3639)
1 parent 4e3cb27 commit 25dba7c

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

cypress/e2e/shared/dashboardsRefresh.test.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -215,12 +215,7 @@ describe('Dashboard refresh', () => {
215215
cy.getByTestID(
216216
'enable-auto-refresh-button'
217217
).contains('ENABLE AUTO REFRESH', {matchCase: false})
218-
cy.getByTestID('notification-success--children')
219-
.children()
220-
.should(
221-
'have.text',
222-
'Your dashboard auto refresh settings have been reset due to inactivity '
223-
)
218+
224219
cy.wait('@refreshQuery')
225220
cy.wait('@refreshQuery')
226221
// Wait the duration we'd expect on the next query to ensure stopping via the inactivity timeout actually stops the process. The fail means the request didn't run, which is what we want

0 commit comments

Comments
 (0)