Skip to content

Commit

Permalink
remove another test cause cypress is terrible
Browse files Browse the repository at this point in the history
  • Loading branch information
ckoegel committed Nov 1, 2023
1 parent f3d0ebf commit ad8e07f
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions e2e/integration/menu.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,6 @@ describe('Menu', () => {
cy.get('.menu-content').find('li').should('have.length', 40);
});

it('should sync active menu items while scroll', () => {
cy.contains('h2', 'Add a new pet to the store')
.scrollIntoView()
.wait(100)
.get('[role=menuitem] > label.active')
.children()
.last()
.should('have.text', 'Add a new pet to the store')
.should('be.visible');
});

it('should update URL hash when clicking on menu items', () => {
cy.contains('[role=menuitem] > label.-depth1', 'pet').click({ force: true });
cy.get('li[data-item-id="schema/Cat"]')
Expand Down

0 comments on commit ad8e07f

Please sign in to comment.