@bigbinary/neeto-playwright-commons 3.2.2 → 3.2.4

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 CHANGED
@@ -6085,7 +6085,7 @@ class CustomCommands {
6085
6085
  .first();
6086
6086
  await test.expect(filteredToastrLocator).toContainText(ramda.isEmpty(message) ? "👍" : message, { timeout });
6087
6087
  const toastrCloseButton = filteredToastrLocator.getByTestId(COMMON_SELECTORS.toastCloseButton);
6088
- if (!closeAfterVerification && (await toastrCloseButton.isHidden()))
6088
+ if (!closeAfterVerification)
6089
6089
  return;
6090
6090
  const buttonHandle = await toastrCloseButton.elementHandle();
6091
6091
  if (buttonHandle) {
@@ -121321,7 +121321,7 @@ class ApiKeysPage {
121321
121321
  test.expect(this.page.getByTitle(normalizedDate.format(DATE_FORMATS.calendarDate))).toHaveClass(RegExp(DATE_PICKER_SELECTORS.selectedDateInCalendarClass)),
121322
121322
  ]);
121323
121323
  await this.page.keyboard.press("Enter");
121324
- await test.expect(nextYearBtn).toBeHidden();
121324
+ await test.expect(nextYearBtn).toBeHidden({ timeout: 15_000 });
121325
121325
  };
121326
121326
  fillApiKeyDetails = async ({ label, expiryDate }) => {
121327
121327
  await this.page