@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.js CHANGED
@@ -921,7 +921,7 @@ const COMMON_SELECTORS = {
921
921
  profileSidebar: "profile-section",
922
922
  selectOption: (label) => `${hyphenate(label)}-select-option`,
923
923
  radioLabel: (embedLabel) => `${hyphenate(embedLabel)}-radio-label`,
924
- neetoUiToastr: ".Toastify__toast", // TODO: Replace this with ".neeto-ui-toastr"
924
+ neetoUiToastr: ".Toastify__toast, .cn-toast", // TODO: Replace this with ".neeto-ui-toastr"
925
925
  toastMessage: (type) => `toastr-${type}-container`,
926
926
  toastCloseButton: "toastr-close-button",
927
927
  windowAlert: "#alert-box",
@@ -2327,7 +2327,7 @@ class CustomCommands {
2327
2327
  await this.page.keyboard.press(rightArrowKey);
2328
2328
  await this.page.keyboard.press(downArrowKey);
2329
2329
  // eslint-disable-next-line playwright/no-wait-for-timeout
2330
- await this.page.waitForTimeout(150); // Adding some delay for DOM to react
2330
+ await this.page.waitForTimeout(500); // Adding some delay for DOM to react
2331
2331
  await this.page.keyboard.press("Enter");
2332
2332
  };
2333
2333
  }