@bigbinary/neeto-playwright-commons 1.22.28 → 1.22.29
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 +4 -7
- package/index.cjs.js.map +1 -1
- package/index.js +4 -7
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -191614,13 +191614,9 @@ class SlackPage extends IntegrationBase {
|
|
|
191614
191614
|
});
|
|
191615
191615
|
this.setupCloseHandlers = async (slackWebappPage = this.page) => {
|
|
191616
191616
|
const slackWebappPageDataQa = getByDataQA(slackWebappPage);
|
|
191617
|
-
await slackWebappPage.addLocatorHandler(slackWebappPageDataQa(SLACK_DATA_QA_SELECTORS.coachMarkCloseButton),
|
|
191618
|
-
await slackWebappPage.addLocatorHandler(slackWebappPageDataQa(SLACK_DATA_QA_SELECTORS.messagePaneBannerCloseIcon),
|
|
191619
|
-
|
|
191620
|
-
await slackWebappPage.addLocatorHandler(permissionBannerCloseIcon, async () => {
|
|
191621
|
-
await permissionBannerCloseIcon.click();
|
|
191622
|
-
await permissionBannerCloseIcon.click();
|
|
191623
|
-
}, { noWaitAfter: true });
|
|
191617
|
+
await slackWebappPage.addLocatorHandler(slackWebappPageDataQa(SLACK_DATA_QA_SELECTORS.coachMarkCloseButton), locator => locator.click(), { times: 1 });
|
|
191618
|
+
await slackWebappPage.addLocatorHandler(slackWebappPageDataQa(SLACK_DATA_QA_SELECTORS.messagePaneBannerCloseIcon), locator => locator.click(), { times: 1 });
|
|
191619
|
+
await slackWebappPage.addLocatorHandler(slackWebappPageDataQa(SLACK_DATA_QA_SELECTORS.permissionBannerCloseIcon), locator => locator.click(), { noWaitAfter: true, times: 2 });
|
|
191624
191620
|
};
|
|
191625
191621
|
this.connectAndVerifyIntegration = async (redirectUrl, customSteps, channelToConfigure = SLACK_DEFAULT_CHANNEL) => {
|
|
191626
191622
|
await this.connect();
|
|
@@ -192888,6 +192884,7 @@ class TeamMembers {
|
|
|
192888
192884
|
await this.page
|
|
192889
192885
|
.getByTestId(MEMBER_FORM_SELECTORS.emailTextField)
|
|
192890
192886
|
.fill(emails.join(", "));
|
|
192887
|
+
await this.page.keyboard.press("Enter");
|
|
192891
192888
|
await this.neetoPlaywrightUtilities.toggleElement({
|
|
192892
192889
|
locator: this.page.getByTestId(MEMBER_SELECTORS.roleLabel(role)),
|
|
192893
192890
|
});
|