@bigbinary/neeto-playwright-commons 1.16.0 → 1.16.1
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 +2 -5
- package/index.cjs.js.map +1 -1
- package/index.d.ts +1 -0
- package/index.js +2 -5
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -328,6 +328,7 @@ const COMMON_SELECTORS = {
|
|
|
328
328
|
helpPopoverButton: "help-popover-button",
|
|
329
329
|
helpPopoverDesc: "help-popover-description",
|
|
330
330
|
helpPopoverLinkButton: "help-popover-link-button",
|
|
331
|
+
copyToClipboardButton: "copy-to-clipboard-button",
|
|
331
332
|
};
|
|
332
333
|
|
|
333
334
|
const THANK_YOU_SELECTORS = {
|
|
@@ -24141,11 +24142,7 @@ class ZapierPage extends IntegrationBase {
|
|
|
24141
24142
|
await this.neetoPlaywrightUtilities.verifySuccessToast({
|
|
24142
24143
|
message: TOASTR_MESSAGES.zapierApiKeyGenerated,
|
|
24143
24144
|
});
|
|
24144
|
-
await this.page
|
|
24145
|
-
.getByRole("button", {
|
|
24146
|
-
name: this.t("neetoIntegrations.zapier.copyApiKey"),
|
|
24147
|
-
})
|
|
24148
|
-
.click();
|
|
24145
|
+
await this.page.getByTestId(COMMON_SELECTORS.copyToClipboardButton).click();
|
|
24149
24146
|
const apiKey = await this.page.evaluate(() => navigator.clipboard.readText());
|
|
24150
24147
|
await this.verifyIntegrationStatus();
|
|
24151
24148
|
return apiKey;
|