Skip to content

Commit

Permalink
chore: try to fix e2e tests part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexVarchuk committed Oct 15, 2024
1 parent 649ffd6 commit 23d3463
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions e2e/integration/menu.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,24 +60,21 @@ describe('Menu', () => {
.wait(100)
.get('[role=menuitem] > label.active')
.children('span[type="badge"]')
.should('have.text', 'Beta')
.should('be.visible');
.should('have.text', 'Beta');

cy.contains('h2 > span', 'Alpha')
.scrollIntoView()
.wait(100)
.get('[role=menuitem] > label.active')
.children('span[type="badge"]')
.should('have.text', 'Alpha')
.should('be.visible');
.should('have.text', 'Alpha');

cy.contains('h2 > span', 'Gamma')
.scrollIntoView()
.wait(100)
.get('[role=menuitem] > label.active')
.children('span[type="badge"]')
.should('have.text', 'Gamma')
.should('be.visible');
.should('have.text', 'Gamma');
});

it('should contains Cat schema in Pet using x-tags', () => {
Expand Down

0 comments on commit 23d3463

Please sign in to comment.