@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.js CHANGED
@@ -6064,7 +6064,7 @@ class CustomCommands {
6064
6064
  .first();
6065
6065
  await expect(filteredToastrLocator).toContainText(isEmpty(message) ? "👍" : message, { timeout });
6066
6066
  const toastrCloseButton = filteredToastrLocator.getByTestId(COMMON_SELECTORS.toastCloseButton);
6067
- if (!closeAfterVerification && (await toastrCloseButton.isHidden()))
6067
+ if (!closeAfterVerification)
6068
6068
  return;
6069
6069
  const buttonHandle = await toastrCloseButton.elementHandle();
6070
6070
  if (buttonHandle) {
@@ -121300,7 +121300,7 @@ class ApiKeysPage {
121300
121300
  expect(this.page.getByTitle(normalizedDate.format(DATE_FORMATS.calendarDate))).toHaveClass(RegExp(DATE_PICKER_SELECTORS.selectedDateInCalendarClass)),
121301
121301
  ]);
121302
121302
  await this.page.keyboard.press("Enter");
121303
- await expect(nextYearBtn).toBeHidden();
121303
+ await expect(nextYearBtn).toBeHidden({ timeout: 15_000 });
121304
121304
  };
121305
121305
  fillApiKeyDetails = async ({ label, expiryDate }) => {
121306
121306
  await this.page