Skip to content

Commit

Permalink
test trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
plang-psm committed Jun 15, 2024
1 parent 8b3f609 commit e363ec1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions frontend/cypress/e2e/navbar/navbar.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@ describe('Test links on the mobile navbar', () => {
beforeEach(() => {
cy.visit('/');
cy.viewport('iphone-x');
cy.getDataTest('mobile-hamburger-menu-open').should('exisit').then($element => {
console.log('Found element:', $element);
cy.wrap($element).should('be.visible').trigger('mouseover').click();
});
cy.getDataTest('mobile-hamburger-menu-open').trigger('click')
});
it('Test logo text to direct to home page', () => {
cy.getDataTest('mobile-nav-title').click();
Expand Down

0 comments on commit e363ec1

Please sign in to comment.