Skip to content

Commit

Permalink
try and fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
leagrdv committed Dec 24, 2024
1 parent d84461a commit d667c86
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/components/cypress/e2e/megadropdown.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,13 @@ describe('megadropdown', () => {

it('should show back button', () => {
cy.get('@megadropdown-trigger').click();
cy.wait(500);
cy.get('@back-btn').should(`be.visible`);
});

it('should not show close button', () => {
cy.get('@megadropdown-trigger').click();
cy.wait(500);
cy.get('@close-btn').should(`be.hidden`);
});

Expand Down Expand Up @@ -74,11 +76,13 @@ describe('megadropdown', () => {

it('should show close button', () => {
cy.get('@megadropdown-trigger').click();
cy.wait(500);
cy.get('@close-btn').should(`be.visible`);
});

it('should not show back button', () => {
cy.get('@megadropdown-trigger').click();
cy.wait(500);
cy.get('@back-btn').should(`be.hidden`);
});

Expand Down

0 comments on commit d667c86

Please sign in to comment.