Files
redash/client/cypress/integration/user/logout_spec.js
2019-03-24 11:24:59 -03:00

14 lines
278 B
JavaScript

describe('Logout', () => {
beforeEach(() => {
cy.login();
cy.visit('/');
});
it('shows login page after logout', () => {
cy.getByTestId('ProfileDropdown').click();
cy.contains('Log out').click();
cy.title().should('eq', 'Login to Redash');
});
});