diff --git a/cypress/tests/functional/WebFeed.cy.js b/cypress/tests/functional/WebFeed.cy.js index 155ed0e..59f02d4 100644 --- a/cypress/tests/functional/WebFeed.cy.js +++ b/cypress/tests/functional/WebFeed.cy.js @@ -12,7 +12,9 @@ describe('Web Feed plugin tests', () => { it('The side bar and the feeds are displayed properly', () => { cy.login('admin', 'admin', 'publicknowledge'); - cy.get('.app__nav a').contains('Website').click(); + cy.get('nav').contains('Settings').click(); + // Ensure submenu item click despite animation + cy.get('nav').contains('Website').click({ force: true }); cy.get('button[id="plugins-button"]').click(); // Access the settings and setup some options @@ -31,7 +33,9 @@ describe('Web Feed plugin tests', () => { // Enable the wed feed plugin's sidebar cy.reload(); - cy.get('.app__nav a').contains('Website').click(); + cy.get('nav').contains('Settings').click(); + // Ensure submenu item click despite animation + cy.get('nav').contains('Website').click({ force: true }); cy.get('button[id="appearance-button"]').click(); cy.get('#appearance-setup-button').click();