@bigbinary/neeto-playwright-commons 1.10.3 → 1.10.4
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 +6 -3
- package/index.cjs.js.map +1 -1
- package/index.js +6 -3
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -14311,8 +14311,10 @@ class TeamMembers {
|
|
|
14311
14311
|
.click();
|
|
14312
14312
|
await this.page.getByTestId(MEMBER_SELECTORS.continueButton).click();
|
|
14313
14313
|
}
|
|
14314
|
-
await
|
|
14315
|
-
|
|
14314
|
+
await test$1.expect(async () => {
|
|
14315
|
+
await this.page.getByTestId(MEMBER_SELECTORS.submitButton).click();
|
|
14316
|
+
await test$1.expect(this.page.getByTestId(COMMON_SELECTORS.paneBody)).toBeHidden();
|
|
14317
|
+
}).toPass({ timeout: 20000 });
|
|
14316
14318
|
await this.neetoPlaywrightUtilities.waitForPageLoad();
|
|
14317
14319
|
await this.neetoPlaywrightUtilities.verifyToast();
|
|
14318
14320
|
};
|
|
@@ -14323,7 +14325,8 @@ class TeamMembers {
|
|
|
14323
14325
|
});
|
|
14324
14326
|
await this.page.getByTestId(MEMBER_SELECTORS.searchTextField).fill(email);
|
|
14325
14327
|
await searchMembers;
|
|
14326
|
-
|
|
14328
|
+
const emailSubstr = email.length > 20 ? email.substring(0, 20) : email;
|
|
14329
|
+
await test$1.expect(this.page.getByTestId(NEETO_FILTERS_SELECTORS.searchTermBlock)).toContainText(emailSubstr);
|
|
14327
14330
|
await test$1.expect(this.page.getByRole("cell", { name: email, exact: true })).toBeVisible();
|
|
14328
14331
|
await test$1.expect(this.page.getByTestId(COMMON_SELECTORS.tableSpinner)).toBeHidden();
|
|
14329
14332
|
};
|