allow relogin from softlogout when loginToken is present (#11794)

This commit is contained in:
Kerry 2023-10-26 19:57:28 +13:00 committed by GitHub
parent 48a89a236a
commit e8b27403b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 10 deletions

View file

@ -72,9 +72,6 @@ describe("Soft logout", () => {
});
it("shows the soft-logout page when a request fails, and allows a re-login", () => {
// there is a bug in Element which means this only actually works if there is an app reload between
// the token login and the soft-logout: https://github.com/vector-im/element-web/issues/25957
cy.reload();
cy.findByRole("heading", { name: "Welcome Alice" });
interceptRequestsWithSoftLogout();