diff --git a/.github/workflows/storybook-chromatic.yml b/.github/workflows/storybook-chromatic.yml index 809328e296c90..f591e75993ef9 100644 --- a/.github/workflows/storybook-chromatic.yml +++ b/.github/workflows/storybook-chromatic.yml @@ -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: diff --git a/cypress/e2e/insights-navigation.cy.ts b/cypress/e2e/insights-navigation.cy.ts index 039074bb6554a..39a7f6f48b699 100644 --- a/cypress/e2e/insights-navigation.cy.ts +++ b/cypress/e2e/insights-navigation.cy.ts @@ -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') diff --git a/cypress/e2e/insights-saved.cy.ts b/cypress/e2e/insights-saved.cy.ts index 0eb1ea2e5a35f..ef12664cb7151 100644 --- a/cypress/e2e/insights-saved.cy.ts +++ b/cypress/e2e/insights-saved.cy.ts @@ -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') })