Skip to content

Commit

Permalink
test: add missing cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
porcellus committed Jun 24, 2024
1 parent 8c00e21 commit fb5ee4a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/end-to-end/signin.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@ describe("SuperTokens SignIn", function () {
});

describe("SignIn test ", function () {
afterEach(async function () {
await page.evaluate(() => localStorage.removeItem("signoutOnSessionNotExists"));
});

it("Should contain email and password fields only", async function () {
const inputNames = await getInputNames(page);
assert.deepStrictEqual(inputNames, ["email", "password"]);
Expand Down

0 comments on commit fb5ee4a

Please sign in to comment.