mirror of
https://github.com/logto-io/logto.git
synced 2025-01-27 21:39:16 -05:00
chore(test): wait for network idle to ensure the sign-in request to be handled (#4749)
This commit is contained in:
parent
1fcc4152af
commit
6b99cc1f2e
1 changed files with 2 additions and 0 deletions
|
@ -58,6 +58,8 @@ describe('MFA - User controlled', () => {
|
|||
// Wait for the TOTP page rendered
|
||||
await waitFor(1000);
|
||||
await experience.toClick('div[role=button][class$=skipButton]');
|
||||
// Wait for the sign-in requests to be handled
|
||||
await experience.page.waitForNetworkIdle();
|
||||
await experience.verifyThenEnd();
|
||||
await deleteUser(user.id);
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue