Skip to content

Commit

Permalink
chore: deflake a test (#17956)
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldambra authored Oct 12, 2023
1 parent 9f8ef65 commit 3528b66
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cypress/e2e/insights-unsaved-confirmation.cy.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { urls } from 'scenes/urls'
import { randomString } from '../support/random'
import { decideResponse } from '../fixtures/api/decide'
import { insight } from '../productAnalytics'
Expand All @@ -20,7 +19,10 @@ describe('Insights', () => {
return true
})

cy.visit(urls.insightNew())
cy.visit('/insights')
cy.wait('@getInsights').then(() => {
cy.get('.saved-insights tr').should('exist')
})
})

describe('unsaved insights confirmation', () => {
Expand Down

0 comments on commit 3528b66

Please sign in to comment.