@bigbinary/neeto-playwright-commons 1.20.4 → 1.20.6
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 +8 -12
- package/index.cjs.js.map +1 -1
- package/index.d.ts +0 -1
- package/index.js +8 -12
- package/index.js.map +1 -1
- package/package.json +7 -7
package/index.cjs.js
CHANGED
|
@@ -189107,7 +189107,6 @@ const ZAPIER_WEB_TEXTS = {
|
|
|
189107
189107
|
welcomeText: (zapierLoginEmail) => `Welcome back ${zapierLoginEmail}`,
|
|
189108
189108
|
connectStagingApp: (appName) => `Connect ${appName} Staging`,
|
|
189109
189109
|
zapierWorkflowTriggered: "Zapier Workflow Triggered",
|
|
189110
|
-
confirmPublishing: "Confirm Publishing",
|
|
189111
189110
|
startFreeWithEmail: "Start free with email",
|
|
189112
189111
|
appsByTitle: "Apps by title",
|
|
189113
189112
|
logIn: "Log in",
|
|
@@ -189153,8 +189152,8 @@ const STATUS_TEXTS = {
|
|
|
189153
189152
|
};
|
|
189154
189153
|
const AUDIT_LOGS_TEXTS = { organizationRole: "Organization Role" };
|
|
189155
189154
|
const COMMON_TEXTS = {
|
|
189156
|
-
skipCleanup: "SKIP_CLEANUP",
|
|
189157
|
-
skipSetup: "SKIP_SETUP",
|
|
189155
|
+
skipCleanup: "@SKIP_CLEANUP",
|
|
189156
|
+
skipSetup: "@SKIP_SETUP",
|
|
189158
189157
|
};
|
|
189159
189158
|
const ORGANIZATION_TEXTS = {
|
|
189160
189159
|
subdomainAvailable: "Subdomain is available",
|
|
@@ -189189,7 +189188,7 @@ class HelpAndProfilePage {
|
|
|
189189
189188
|
this.openAndVerifyChatWidgetV2 = async () => {
|
|
189190
189189
|
await this.page.reload();
|
|
189191
189190
|
await this.neetoPlaywrightUtilities.waitForPageLoad();
|
|
189192
|
-
await test$1.test.step("Step 1: Open live chat and verify iframe", this.openLiveChatAndVerify);
|
|
189191
|
+
await test$1.test.step("Step 1: Open live chat and verify iframe", () => this.openLiveChatAndVerify());
|
|
189193
189192
|
await test$1.test.step("Step 2: Close and reopen live chat frame", async () => {
|
|
189194
189193
|
await this.page.getByTestId(CHAT_WIDGET_SELECTORS.closeChat).click();
|
|
189195
189194
|
await test$1.expect(this.neetoChatWidget).toBeHidden({ timeout: 35000 });
|
|
@@ -191518,7 +191517,7 @@ class SlackPage extends IntegrationBase {
|
|
|
191518
191517
|
.pressSequentially(slackLoginPassword, { delay: 10 });
|
|
191519
191518
|
await slackWebappPage.locator(SLACK_SELECTORS.signInButton).click();
|
|
191520
191519
|
const redirectOpenInBrowser = slackWebappPage.locator(SLACK_SELECTORS.redirectOpenInBrowser);
|
|
191521
|
-
await test$1.expect(redirectOpenInBrowser).toBeVisible({ timeout:
|
|
191520
|
+
await test$1.expect(redirectOpenInBrowser).toBeVisible({ timeout: 25000 });
|
|
191522
191521
|
await redirectOpenInBrowser.click();
|
|
191523
191522
|
await this.setupCloseHandlers(slackWebappPage);
|
|
191524
191523
|
return;
|
|
@@ -191788,6 +191787,9 @@ class ZapierPage extends IntegrationBase {
|
|
|
191788
191787
|
const testTriggerButton = this.zapierWebPage.getByRole("button", {
|
|
191789
191788
|
name: ZAPIER_WEB_TEXTS.testTrigger,
|
|
191790
191789
|
});
|
|
191790
|
+
await test$1.expect(this.zapierWebPage.locator(ZAPIER_SELECTORS.spinner)).toBeHidden({
|
|
191791
|
+
timeout: 25000,
|
|
191792
|
+
});
|
|
191791
191793
|
(await testTriggerButton.isVisible()) && (await testTriggerButton.click());
|
|
191792
191794
|
await test$1.expect(this.zapierWebPage.getByText(ZAPIER_WEB_TEXTS.testCurrentlyInQueue)).toBeHidden({ timeout: 20000 });
|
|
191793
191795
|
await test$1.expect(this.zapierWebPage.getByLabel(ZAPIER_WEB_TEXTS.statusLabel, {
|
|
@@ -191808,14 +191810,8 @@ class ZapierPage extends IntegrationBase {
|
|
|
191808
191810
|
.getByRole("button", { name: ZAPIER_WEB_TEXTS.publish }))
|
|
191809
191811
|
.click({ timeout: 20000 });
|
|
191810
191812
|
await this.zapierWebPage
|
|
191811
|
-
.getByRole("button", { name: ZAPIER_WEB_TEXTS.confirmPublishing })
|
|
191812
|
-
.or(this.zapierWebPage
|
|
191813
191813
|
.getByRole("dialog")
|
|
191814
|
-
.getByLabel(ZAPIER_WEB_TEXTS.publish)
|
|
191815
|
-
.or(this.zapierWebPage.getByRole("dialog").getByRole("button", {
|
|
191816
|
-
name: ZAPIER_WEB_TEXTS.publish,
|
|
191817
|
-
exact: true,
|
|
191818
|
-
})))
|
|
191814
|
+
.getByLabel(new RegExp(ZAPIER_WEB_TEXTS.publish, "i"))
|
|
191819
191815
|
.click();
|
|
191820
191816
|
await this.zapierWebPage
|
|
191821
191817
|
.getByLabel(ZAPIER_WEB_TEXTS.publishingZapHeading)
|