Skip to content

Commit a2e8259

Browse files
committed
fix: e2e test failing
1 parent 6311ce7 commit a2e8259

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

e2e-tests/cypress/e2e/dashboard.spec.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,9 @@ describe('Dashboard Page - Default', function () {
1717
});
1818

1919
it('Preview Works', function () {
20-
cy.wait(1000);
2120
cy.get('.starter-site-card').first().as('firstCard');
2221
cy.get('@firstCard').realHover();
23-
cy.get('@firstCard').find('button').should('have.length', 3);
22+
cy.get('@firstCard').find('button').should('have.length', 2);
2423
cy.get('@firstCard').find('button').contains('Preview').click();
2524

2625
cy.get('.ob-preview').as('previewWrap');

0 commit comments

Comments
 (0)