Browse Source

test(playwright): reload page to handle route navigation error

- TypeError: Cannot read properties of null (reading 'parentNode')

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/4134/head
Pranav C 2 years ago
parent
commit
1ee30f47e2
  1. 3
      tests/playwright/tests/accountUserSettings.spec.ts

3
tests/playwright/tests/accountUserSettings.spec.ts

@ -21,6 +21,9 @@ test.describe('App settings', () => {
await accountSettingsPage.goto();
// todo: remove after route navigation issue resolved
await accountSettingsPage.rootPage.reload({ waitUntil: 'networkidle' });
// enable invite only signup
if (!(await accountSettingsPage.getInviteOnlyCheckboxValue())) {
await accountSettingsPage.toggleInviteOnlyCheckbox();

Loading…
Cancel
Save