@bigbinary/neeto-playwright-commons 1.10.15 → 1.10.16
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 -5
- package/index.cjs.js.map +1 -1
- package/index.js +6 -5
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -12920,7 +12920,7 @@ const ZAPIER_WEB_TEXTS = {
|
|
|
12920
12920
|
subdomain: "Subdomain",
|
|
12921
12921
|
apiKey: "API key",
|
|
12922
12922
|
publishingZapHeading: "Preparing Zap to go live",
|
|
12923
|
-
connectionListMenu: "
|
|
12923
|
+
connectionListMenu: "Toggle connection list menu",
|
|
12924
12924
|
usageRegExp: "Usage resets in *",
|
|
12925
12925
|
trialEndsRegExp: "Trial ends on",
|
|
12926
12926
|
testCurrentlyInQueue: "Test currently in queue",
|
|
@@ -13707,20 +13707,21 @@ class ZapierPage extends IntegrationBase {
|
|
|
13707
13707
|
await test$1.expect(this.zapierWebPage.locator(ZAPIER_SELECTORS.skeletonBlock)).toHaveCount(0);
|
|
13708
13708
|
const connectionLocator = this.zapierWebPage.locator(ZAPIER_SELECTORS.connection);
|
|
13709
13709
|
const connections = await connectionLocator.all();
|
|
13710
|
-
const deleteButton = this.zapierWebPage
|
|
13711
|
-
.
|
|
13712
|
-
|
|
13710
|
+
const deleteButton = this.zapierWebPage.getByRole("menuitem", {
|
|
13711
|
+
name: ZAPIER_WEB_TEXTS.delete,
|
|
13712
|
+
});
|
|
13713
13713
|
for (const connection of connections) {
|
|
13714
13714
|
await test$1.expect(async () => {
|
|
13715
13715
|
await connection
|
|
13716
13716
|
.getByLabel(ZAPIER_WEB_TEXTS.connectionListMenu)
|
|
13717
13717
|
.click();
|
|
13718
|
+
await test$1.expect(deleteButton).toBeVisible({ timeout: 10000 });
|
|
13718
13719
|
await deleteButton.click();
|
|
13719
13720
|
await this.zapierWebPage
|
|
13720
13721
|
.locator(ZAPIER_SELECTORS.deleteConnectionModal)
|
|
13721
13722
|
.getByRole("button", { name: ZAPIER_WEB_TEXTS.delete })
|
|
13722
13723
|
.click();
|
|
13723
|
-
}).toPass({ timeout:
|
|
13724
|
+
}).toPass({ timeout: 40000 });
|
|
13724
13725
|
}
|
|
13725
13726
|
// eslint-disable-next-line playwright/no-standalone-expect
|
|
13726
13727
|
await test$1.expect(connectionLocator).toHaveCount(0, {
|