Browse Source

fix(playwright): don't use networkidle

pull/5903/head
Wing-Kam Wong 1 year ago
parent
commit
c28a2a5577
  1. 4
      tests/playwright/tests/db/users&Accounts/accountUserSettings.spec.ts

4
tests/playwright/tests/db/users&Accounts/accountUserSettings.spec.ts

@ -23,7 +23,7 @@ test.describe('App settings', () => {
await accountSettingsPage.goto();
// todo: remove after route navigation issue resolved
await accountSettingsPage.rootPage.reload({ waitUntil: 'networkidle' });
await accountSettingsPage.rootPage.reload();
// enable invite only signup
if (!(await accountSettingsPage.getInviteOnlyCheckboxValue())) {
@ -42,7 +42,7 @@ test.describe('App settings', () => {
expectedError: 'Not allowed to signup, contact super admin.',
});
await signupPage.rootPage.reload({ waitUntil: 'networkidle' });
await signupPage.rootPage.reload();
await accountSettingsPage.goto();

Loading…
Cancel
Save