@bigbinary/neeto-playwright-commons 1.22.42 → 1.22.43
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 +2 -6
- package/index.cjs.js.map +1 -1
- package/index.js +2 -6
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -189266,12 +189266,6 @@ class EmbedBase {
|
|
|
189266
189266
|
const iframe = this.page.locator("iframe");
|
|
189267
189267
|
await iframe.waitFor({ state: "visible" });
|
|
189268
189268
|
await test$1.expect(this.page.frameLocator("iframe").getByTestId(headingTestId)).toBeVisible({ timeout: 10000 });
|
|
189269
|
-
const [iframeHeight, iframeWidth] = await iframe.evaluate(node => [
|
|
189270
|
-
node.getAttribute("height"),
|
|
189271
|
-
node.getAttribute("width"),
|
|
189272
|
-
]);
|
|
189273
|
-
test$1.expect(iframeHeight).toStrictEqual(embedSize.height);
|
|
189274
|
-
test$1.expect(iframeWidth).toStrictEqual(embedSize.width);
|
|
189275
189269
|
await this.backToEmbedSelection();
|
|
189276
189270
|
};
|
|
189277
189271
|
this.backToEmbedSelection = () => this.page.getByTestId(EMBED_SELECTORS.backToEmbedSelectionButton).click();
|
|
@@ -192974,6 +192968,8 @@ class EditorPage {
|
|
|
192974
192968
|
await this.page.keyboard.press("End");
|
|
192975
192969
|
await this.page.keyboard.press("PageDown");
|
|
192976
192970
|
}
|
|
192971
|
+
// eslint-disable-next-line playwright/no-wait-for-timeout
|
|
192972
|
+
await this.page.waitForTimeout(100); // Adding some delay for DOM to react
|
|
192977
192973
|
await this.page.keyboard.press("Enter");
|
|
192978
192974
|
};
|
|
192979
192975
|
this.fillRandomText = async () => {
|