mirror of
https://github.com/getredash/redash.git
synced 2025-12-19 17:37:19 -05:00
14 lines
278 B
JavaScript
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');
|
|
});
|
|
});
|