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:
@@ -56,6 +56,6 @@ test.describe('Account Deletion', () => {
|
|||||||
await account.setup();
|
await account.setup();
|
||||||
await account.deleteAccount();
|
await account.deleteAccount();
|
||||||
|
|
||||||
await account.auth.goToSignIn();
|
await page.waitForURL('http://localhost:3000');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
Reference in New Issue
Block a user