@bigbinary/neeto-playwright-commons 1.12.3 → 1.12.5
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 +15 -4
- package/index.cjs.js.map +1 -1
- package/index.js +15 -4
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -23689,6 +23689,12 @@ const WEBHOOK_SELECTORS = {
|
|
|
23689
23689
|
endpointInputField: "endpoint-input-field",
|
|
23690
23690
|
deliveryResponseCode: "delivery-response-code",
|
|
23691
23691
|
deliveryRequestPayload: "delivery-request-payload",
|
|
23692
|
+
addSecretKey: "add-secret-key",
|
|
23693
|
+
newWebhookHeader: "add-new-webhook-pane-header",
|
|
23694
|
+
endpointInputError: "endpoint-input-error",
|
|
23695
|
+
eventsSelectError: "events-select-error",
|
|
23696
|
+
regenerateSecret: "regenerate-secret",
|
|
23697
|
+
deleteSecret: "delete-secret",
|
|
23692
23698
|
};
|
|
23693
23699
|
|
|
23694
23700
|
class WebhooksPage {
|
|
@@ -23709,9 +23715,15 @@ class WebhooksPage {
|
|
|
23709
23715
|
await this.page
|
|
23710
23716
|
.getByTestId(WEBHOOK_SELECTORS.endpointInputField)
|
|
23711
23717
|
.fill(webhookSiteURL);
|
|
23712
|
-
|
|
23713
|
-
|
|
23714
|
-
|
|
23718
|
+
await Promise.all([
|
|
23719
|
+
this.page.getByTestId(COMMON_SELECTORS.saveChangesButton).click(),
|
|
23720
|
+
this.neetoPlaywrightUtilities.verifyToast({
|
|
23721
|
+
message: this.t("resource.add", {
|
|
23722
|
+
entity: "webhook",
|
|
23723
|
+
count: 1,
|
|
23724
|
+
}),
|
|
23725
|
+
}),
|
|
23726
|
+
]);
|
|
23715
23727
|
await test$1.expect(this.page.getByRole("row", { name: webhookSiteURL })).toBeVisible();
|
|
23716
23728
|
};
|
|
23717
23729
|
this.verifyLatestWebhookResponse = async ({ callback = () => { }, webhookToken, parseFullResponseContent = false, ...otherParams }) => {
|
|
@@ -157233,7 +157245,6 @@ const definePlaywrightConfig = (overrides) => {
|
|
|
157233
157245
|
baseURL: process.env.BASE_URL,
|
|
157234
157246
|
testIdAttribute: "data-cy",
|
|
157235
157247
|
trace: "on",
|
|
157236
|
-
video: { mode: "on" },
|
|
157237
157248
|
screenshot: "on",
|
|
157238
157249
|
actionTimeout: 10 * 1000,
|
|
157239
157250
|
timezoneId: "Asia/Calcutta",
|