@bigbinary/neeto-playwright-commons 1.10.0 → 1.10.2
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 -4
- package/index.cjs.js.map +1 -1
- package/index.d.ts +27 -0
- package/index.js +2 -4
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -2740,6 +2740,12 @@ declare const networkConditions: Record<"Slow 3G" | "Fast 3G" | "No Throttling",
|
|
|
2740
2740
|
*
|
|
2741
2741
|
* import { COMMON_SELECTORS } from "@bigbinary/neeto-playwright-commons";
|
|
2742
2742
|
* @endexample
|
|
2743
|
+
* emailInputError: Selector for email input error.
|
|
2744
|
+
*
|
|
2745
|
+
* pane: Selector for pane wrapper.
|
|
2746
|
+
*
|
|
2747
|
+
* sideBar: Selector for side bar.
|
|
2748
|
+
*
|
|
2743
2749
|
* copyButton: Selector for the copy button.
|
|
2744
2750
|
*
|
|
2745
2751
|
* resetButton: Selector for the reset button.
|
|
@@ -2788,6 +2794,10 @@ declare const networkConditions: Record<"Slow 3G" | "Fast 3G" | "No Throttling",
|
|
|
2788
2794
|
*
|
|
2789
2795
|
* inputField: Selector to get neetoUI input field.
|
|
2790
2796
|
*
|
|
2797
|
+
* alertBox: Selector for alert box.
|
|
2798
|
+
*
|
|
2799
|
+
* tableContainer: Selector for table container.
|
|
2800
|
+
*
|
|
2791
2801
|
* alertConfirmationText: Selector for alert confirmation text.
|
|
2792
2802
|
*
|
|
2793
2803
|
* alertCancelButton: Selector for alert cancel buttons.
|
|
@@ -2874,6 +2884,22 @@ declare const networkConditions: Record<"Slow 3G" | "Fast 3G" | "No Throttling",
|
|
|
2874
2884
|
*
|
|
2875
2885
|
* selectSingleValue: Selector for select single values.
|
|
2876
2886
|
*
|
|
2887
|
+
* actionSelectIndicator: Selector for action select indicator.
|
|
2888
|
+
*
|
|
2889
|
+
* takeActionDropdown: Selector for take action dropdown.
|
|
2890
|
+
*
|
|
2891
|
+
* columnsSearchInput: Selector for column search input.
|
|
2892
|
+
*
|
|
2893
|
+
* errorToastIcon: Selector for error toast icon.
|
|
2894
|
+
*
|
|
2895
|
+
* nuiRadioLabel: Selector for nui radio label.
|
|
2896
|
+
*
|
|
2897
|
+
* submitButton: Selector for submit button.
|
|
2898
|
+
*
|
|
2899
|
+
* tableRow: Selector for table row.
|
|
2900
|
+
*
|
|
2901
|
+
* navigationHeaderLeftBlock: Selector for navigation header left block.
|
|
2902
|
+
*
|
|
2877
2903
|
*/
|
|
2878
2904
|
declare const COMMON_SELECTORS: {
|
|
2879
2905
|
emailInputError: string;
|
|
@@ -2955,6 +2981,7 @@ declare const COMMON_SELECTORS: {
|
|
|
2955
2981
|
nuiRadioLabel: string;
|
|
2956
2982
|
submitButton: string;
|
|
2957
2983
|
tableRow: string;
|
|
2984
|
+
navigationHeaderLeftBlock: string;
|
|
2958
2985
|
};
|
|
2959
2986
|
/**
|
|
2960
2987
|
*
|
package/index.js
CHANGED
|
@@ -328,6 +328,7 @@ const COMMON_SELECTORS = {
|
|
|
328
328
|
nuiRadioLabel: "nui-radio-label",
|
|
329
329
|
submitButton: "submit-button",
|
|
330
330
|
tableRow: ".ant-table-row",
|
|
331
|
+
navigationHeaderLeftBlock: "navigation-header-left-block",
|
|
331
332
|
};
|
|
332
333
|
|
|
333
334
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
@@ -13464,10 +13465,7 @@ class WebhooksPage {
|
|
|
13464
13465
|
callback({ parsedResponse, ...otherParams });
|
|
13465
13466
|
};
|
|
13466
13467
|
this.verifyWebhookDeliveryByEvent = async ({ event, callbackToVerifyDeliveries, ...fieldsToBeVerified }) => {
|
|
13467
|
-
await this.page
|
|
13468
|
-
.getByRole("row", { name: event })
|
|
13469
|
-
.getByRole("button")
|
|
13470
|
-
.click();
|
|
13468
|
+
await this.page.getByRole("row", { name: event }).getByRole("link").click();
|
|
13471
13469
|
await this.verifyWebhookDeliveries({
|
|
13472
13470
|
callback: callbackToVerifyDeliveries,
|
|
13473
13471
|
...fieldsToBeVerified,
|