Skip to content

Commit

Permalink
waiting on cypress
Browse files Browse the repository at this point in the history
  • Loading branch information
anirudhpillai committed Sep 4, 2024
1 parent 542664e commit 1ce8a37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/e2e/dashboard.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ describe('Dashboard', () => {
cy.get('[data-attr="date-filter"]').click()
cy.contains('span', 'Last 14 days').click()

cy.wait(1000)
cy.wait(2000)

// insight meta should be updated to show new date range
// default date range is last 7 days
Expand Down
1 change: 1 addition & 0 deletions cypress/e2e/insights-duplication.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ describe('Insights', () => {
})

it('can duplicate from insight view', () => {
cy.wait(2000)
cy.get('.TopBar3000 [data-attr="more-button"]').click()
cy.get('[data-attr="duplicate-insight-from-insight-view"]').click()
cy.get('[data-attr="top-bar-name"] .EditableField__display').should('contain', `${insightName} (copy)`)
Expand Down

0 comments on commit 1ce8a37

Please sign in to comment.