diff --git a/test/end-to-end/passwordless.test_gen.js b/test/end-to-end/passwordless.test_gen.js index 807d3fc27..cab2cfaee 100644 --- a/test/end-to-end/passwordless.test_gen.js +++ b/test/end-to-end/passwordless.test_gen.js @@ -1878,6 +1878,17 @@ export function getPasswordlessTestCases({ authRecipe, logId, generalErrorRecipe } }); + after(async function () { + await browser.close(); + await fetch(`${TEST_SERVER_BASE_URL}/after`, { + method: "POST", + }).catch(console.error); + + await fetch(`${TEST_SERVER_BASE_URL}/stopst`, { + method: "POST", + }).catch(console.error); + }); + beforeEach(async function () { await clearBrowserCookiesWithoutAffectingConsole(page, consoleLogs);