@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.js
CHANGED
|
@@ -191594,13 +191594,9 @@ class SlackPage extends IntegrationBase {
|
|
|
191594
191594
|
});
|
|
191595
191595
|
this.setupCloseHandlers = async (slackWebappPage = this.page) => {
|
|
191596
191596
|
const slackWebappPageDataQa = getByDataQA(slackWebappPage);
|
|
191597
|
-
await slackWebappPage.addLocatorHandler(slackWebappPageDataQa(SLACK_DATA_QA_SELECTORS.coachMarkCloseButton),
|
|
191598
|
-
await slackWebappPage.addLocatorHandler(slackWebappPageDataQa(SLACK_DATA_QA_SELECTORS.messagePaneBannerCloseIcon),
|
|
191599
|
-
|
|
191600
|
-
await slackWebappPage.addLocatorHandler(permissionBannerCloseIcon, async () => {
|
|
191601
|
-
await permissionBannerCloseIcon.click();
|
|
191602
|
-
await permissionBannerCloseIcon.click();
|
|
191603
|
-
}, { noWaitAfter: true });
|
|
191597
|
+
await slackWebappPage.addLocatorHandler(slackWebappPageDataQa(SLACK_DATA_QA_SELECTORS.coachMarkCloseButton), locator => locator.click(), { times: 1 });
|
|
191598
|
+
await slackWebappPage.addLocatorHandler(slackWebappPageDataQa(SLACK_DATA_QA_SELECTORS.messagePaneBannerCloseIcon), locator => locator.click(), { times: 1 });
|
|
191599
|
+
await slackWebappPage.addLocatorHandler(slackWebappPageDataQa(SLACK_DATA_QA_SELECTORS.permissionBannerCloseIcon), locator => locator.click(), { noWaitAfter: true, times: 2 });
|
|
191604
191600
|
};
|
|
191605
191601
|
this.connectAndVerifyIntegration = async (redirectUrl, customSteps, channelToConfigure = SLACK_DEFAULT_CHANNEL) => {
|
|
191606
191602
|
await this.connect();
|
|
@@ -192868,6 +192864,7 @@ class TeamMembers {
|
|
|
192868
192864
|
await this.page
|
|
192869
192865
|
.getByTestId(MEMBER_FORM_SELECTORS.emailTextField)
|
|
192870
192866
|
.fill(emails.join(", "));
|
|
192867
|
+
await this.page.keyboard.press("Enter");
|
|
192871
192868
|
await this.neetoPlaywrightUtilities.toggleElement({
|
|
192872
192869
|
locator: this.page.getByTestId(MEMBER_SELECTORS.roleLabel(role)),
|
|
192873
192870
|
});
|