Skip to content

Commit 22ae9c4

Browse files
committed
test: add missing test teardown fn to new test
1 parent ab69ea6 commit 22ae9c4

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

test/end-to-end/passwordless.test_gen.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1878,6 +1878,17 @@ export function getPasswordlessTestCases({ authRecipe, logId, generalErrorRecipe
18781878
}
18791879
});
18801880

1881+
after(async function () {
1882+
await browser.close();
1883+
await fetch(`${TEST_SERVER_BASE_URL}/after`, {
1884+
method: "POST",
1885+
}).catch(console.error);
1886+
1887+
await fetch(`${TEST_SERVER_BASE_URL}/stopst`, {
1888+
method: "POST",
1889+
}).catch(console.error);
1890+
});
1891+
18811892
beforeEach(async function () {
18821893
await clearBrowserCookiesWithoutAffectingConsole(page, consoleLogs);
18831894

0 commit comments

Comments
 (0)