@bigbinary/neeto-playwright-commons 3.2.2 → 3.2.3

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) {