Skip to content

Commit

Permalink
test temp timeout increase for storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
anirudhpillai committed Sep 5, 2024
1 parent 1986fff commit 1ebe217
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/storybook-chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
visual-regression:
name: Visual regression tests
runs-on: ubuntu-latest
timeout-minutes: 30
timeout-minutes: 60
container:
image: mcr.microsoft.com/playwright:v1.45.0
strategy:
Expand Down
3 changes: 3 additions & 0 deletions cypress/e2e/insights-navigation.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,11 @@ describe('Insights', () => {
cy.get('tr.DataVizRow').should('have.length.gte', 2)

cy.get('[data-attr="insight-edit-button"]').click()
cy.wait(2000)

insight.clickTab('RETENTION')

cy.wait(2000)
cy.get('[data-attr="insight-save-button"]').click()

cy.get('.RetentionContainer canvas').should('exist')
Expand Down
1 change: 1 addition & 0 deletions cypress/e2e/insights-saved.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ describe('Insights - saved', () => {
createInsight('saved insight').then((newInsightId) => {
cy.get('[data-attr=trend-line-graph]').should('exist') // Results cached
cy.visit(urls.insightView(newInsightId)) // Full refresh
cy.wait(2000)
cy.get('.InsightViz').should('exist').should('neverHaveChild', '.insight-empty-state') // Only cached data
cy.get('[data-attr=trend-line-graph]').should('exist')
})
Expand Down

0 comments on commit 1ebe217

Please sign in to comment.