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