diff --git a/cypress/e2e/health-check.cy.ts b/cypress/e2e/health-check.cy.ts index e5883318b..a8fb40e4d 100644 --- a/cypress/e2e/health-check.cy.ts +++ b/cypress/e2e/health-check.cy.ts @@ -11,7 +11,7 @@ describe('Health check for Cypress e2e test', () => { // Check the user avatar, and then log out again cy.get('[data-testid="visyn-user-avatar"]').should('include.text', 'A').click().parent().contains('Logout').click(); // Assert the login modal to be shown again - cy.get('[data-testid="visyn-login-modal"]').should('be.visible'); + cy.get('[data-testid="visyn-login-modal"]').should('include.text', 'Demo App'); // Assert the content to be invisible again cy.get('body').should('not.include.text', 'Visualization type'); });