Replace account sign-in redirect with URL wait

Modified the e2e test for account deletion. Rather than redirecting to the sign-in page after the account is deleted, the change ensures that the system waits for a local URL. This should improve test coverage by making sure the browser is redirected to the correct URL instead of automatically going
This commit is contained in:
giancarlo
2024-04-12 21:51:59 +08:00
parent be82e6b342
commit bb608f5312

View File

@@ -56,6 +56,6 @@ test.describe('Account Deletion', () => {
await account.setup();
await account.deleteAccount();
await account.auth.goToSignIn();
await page.waitForURL('http://localhost:3000');
});
});