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