@bigbinary/neeto-playwright-commons 1.9.6 → 1.9.7

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
@@ -2766,6 +2766,10 @@ class CustomCommands {
2766
2766
  await uploadFile;
2767
2767
  await test$1.expect(this.page.getByTestId(NEETO_IMAGE_UPLOADER_SELECTORS.uploadedImage)).toHaveAttribute("src", new RegExp(imageName), { timeout: 20000 });
2768
2768
  };
2769
+ this.verifyTooltip = async ({ triggerElement, content, }) => {
2770
+ await triggerElement.hover();
2771
+ await test$1.expect(this.page.getByTestId(COMMON_SELECTORS.tooltip)).toContainText(content);
2772
+ };
2769
2773
  this.page = page;
2770
2774
  this.responses = [];
2771
2775
  this.request = request;