diff --git a/tests/user.ts b/tests/user.ts index 09487d3..1d65308 100644 --- a/tests/user.ts +++ b/tests/user.ts @@ -44,6 +44,7 @@ export default class User { // await dropdown.getByRole("link", { name: "Sign Out" }).click(); await dropdown.getByText("Sign Out").waitFor(); await dropdown.getByText("Sign Out").click(); + await new Promise(r => setTimeout(r, 3000)); await page.waitForURL(config.INSTANCE_URL.toString()); await expect(page).toHaveTitle("Forgejo: Beyond coding. We forge.");