diff --git a/generators/cypress/templates/src/test/javascript/cypress/e2e/account/logout.cy.ts.ejs b/generators/cypress/templates/src/test/javascript/cypress/e2e/account/logout.cy.ts.ejs index dcf891b02419..3b7b6dfd47f5 100644 --- a/generators/cypress/templates/src/test/javascript/cypress/e2e/account/logout.cy.ts.ejs +++ b/generators/cypress/templates/src/test/javascript/cypress/e2e/account/logout.cy.ts.ejs @@ -26,12 +26,12 @@ describe('logout', () => { const username = Cypress.env('E2E_USERNAME') ?? '<%- generateInMemoryUserCredentials ? 'admin' : 'user' %>'; const password = Cypress.env('E2E_PASSWORD') ?? '<%- generateInMemoryUserCredentials ? 'admin' : 'user' %>'; - it<%- clientFrameworkReact ? '.skip' : '' %>('go to home page when successfully logs out', () => { + it('go to home page when successfully logs out', () => { cy.login(username, password); cy.visit(''); cy.clickOnLogoutItem(); // Wait logout - cy.wait(500); // eslint-disable-line cypress/no-unnecessary-waiting + cy.wait(1000); // eslint-disable-line cypress/no-unnecessary-waiting cy.visit(''); cy.get(navbarSelector).get(accountMenuSelector).click(); cy.get(navbarSelector).get(accountMenuSelector).get(loginItemSelector).should('be.visible');