Skip to content

Commit fb5ee4a

Browse files
committed
test: add missing cleanup
1 parent 8c00e21 commit fb5ee4a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/end-to-end/signin.test.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,10 @@ describe("SuperTokens SignIn", function () {
112112
});
113113

114114
describe("SignIn test ", function () {
115+
afterEach(async function () {
116+
await page.evaluate(() => localStorage.removeItem("signoutOnSessionNotExists"));
117+
});
118+
115119
it("Should contain email and password fields only", async function () {
116120
const inputNames = await getInputNames(page);
117121
assert.deepStrictEqual(inputNames, ["email", "password"]);

0 commit comments

Comments
 (0)