@bigbinary/neeto-playwright-commons 1.11.16 → 1.11.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs.js +7 -2
- package/index.cjs.js.map +1 -1
- package/index.d.ts +33 -2
- package/index.js +7 -2
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -16419,7 +16419,10 @@ class TeamMembers {
|
|
|
16419
16419
|
await this.page
|
|
16420
16420
|
.getByTestId(MEMBER_FORM_SELECTORS.emailTextField)
|
|
16421
16421
|
.fill(emails.join(", "));
|
|
16422
|
-
await
|
|
16422
|
+
await test$1.expect(async () => {
|
|
16423
|
+
await this.page.getByTestId(MEMBER_SELECTORS.roleLabel(role)).click();
|
|
16424
|
+
await test$1.expect(this.page.getByTestId(MEMBER_SELECTORS.roleLabel(role))).toBeChecked();
|
|
16425
|
+
}).toPass({ timeout: 20000 });
|
|
16423
16426
|
await this.page.getByTestId(MEMBER_SELECTORS.continueButton).click();
|
|
16424
16427
|
if (IS_STAGING_ENV) {
|
|
16425
16428
|
await this.page
|
|
@@ -16428,10 +16431,12 @@ class TeamMembers {
|
|
|
16428
16431
|
.click();
|
|
16429
16432
|
await this.page.getByTestId(MEMBER_SELECTORS.continueButton).click();
|
|
16430
16433
|
}
|
|
16434
|
+
// eslint-disable-next-line playwright/no-standalone-expect
|
|
16431
16435
|
await test$1.expect(async () => {
|
|
16432
16436
|
await this.page.getByTestId(MEMBER_SELECTORS.submitButton).click();
|
|
16437
|
+
// eslint-disable-next-line playwright/no-standalone-expect
|
|
16433
16438
|
await test$1.expect(this.page.getByTestId(COMMON_SELECTORS.paneBody)).toBeHidden();
|
|
16434
|
-
}).toPass({ timeout:
|
|
16439
|
+
}).toPass({ timeout: 40000 });
|
|
16435
16440
|
await this.neetoPlaywrightUtilities.waitForPageLoad();
|
|
16436
16441
|
await this.neetoPlaywrightUtilities.verifyToast();
|
|
16437
16442
|
};
|