Skip to content

Commit

Permalink
fix: e2e test failing
Browse files Browse the repository at this point in the history
  • Loading branch information
HardeepAsrani committed Sep 24, 2024
1 parent 6311ce7 commit a2e8259
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions e2e-tests/cypress/e2e/dashboard.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,9 @@ describe('Dashboard Page - Default', function () {
});

it('Preview Works', function () {
cy.wait(1000);
cy.get('.starter-site-card').first().as('firstCard');
cy.get('@firstCard').realHover();
cy.get('@firstCard').find('button').should('have.length', 3);
cy.get('@firstCard').find('button').should('have.length', 2);
cy.get('@firstCard').find('button').contains('Preview').click();

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

0 comments on commit a2e8259

Please sign in to comment.