@bigbinary/neeto-playwright-commons 3.3.10 → 3.3.12
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 -2
- package/index.cjs.js.map +1 -1
- package/index.js +2 -2
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -942,7 +942,7 @@ const COMMON_SELECTORS = {
|
|
|
942
942
|
profileSidebar: "profile-section",
|
|
943
943
|
selectOption: (label) => `${neetoCist.hyphenate(label)}-select-option`,
|
|
944
944
|
radioLabel: (embedLabel) => `${neetoCist.hyphenate(embedLabel)}-radio-label`,
|
|
945
|
-
neetoUiToastr: ".Toastify__toast", // TODO: Replace this with ".neeto-ui-toastr"
|
|
945
|
+
neetoUiToastr: ".Toastify__toast, .cn-toast", // TODO: Replace this with ".neeto-ui-toastr"
|
|
946
946
|
toastMessage: (type) => `toastr-${type}-container`,
|
|
947
947
|
toastCloseButton: "toastr-close-button",
|
|
948
948
|
windowAlert: "#alert-box",
|
|
@@ -2348,7 +2348,7 @@ class CustomCommands {
|
|
|
2348
2348
|
await this.page.keyboard.press(rightArrowKey);
|
|
2349
2349
|
await this.page.keyboard.press(downArrowKey);
|
|
2350
2350
|
// eslint-disable-next-line playwright/no-wait-for-timeout
|
|
2351
|
-
await this.page.waitForTimeout(
|
|
2351
|
+
await this.page.waitForTimeout(500); // Adding some delay for DOM to react
|
|
2352
2352
|
await this.page.keyboard.press("Enter");
|
|
2353
2353
|
};
|
|
2354
2354
|
}
|