mirror of
https://github.com/getredash/redash.git
synced 2025-12-23 11:23:00 -05:00
* Fix headless mode (didn't work with vertical navbar) * Fix header margins on public dashboard page * Fix test
18 lines
450 B
JavaScript
18 lines
450 B
JavaScript
describe("Logout", () => {
|
|
beforeEach(() => {
|
|
cy.login();
|
|
cy.visit("/");
|
|
});
|
|
|
|
it("shows login page after logout", () => {
|
|
cy.getByTestId("ProfileDropdown").click();
|
|
// Wait until submenu appears and become interactive
|
|
cy.wait(500); // eslint-disable-line cypress/no-unnecessary-waiting
|
|
cy.getByTestId("LogOutButton")
|
|
.should("be.visible")
|
|
.click();
|
|
|
|
cy.title().should("eq", "Login to Redash");
|
|
});
|
|
});
|