2.0.0 Release #33
Annotations
5 errors, 2 warnings, and 1 notice
tests/embeds.spec.js:3:5 › same-domain embed is loading:
tests/embeds.spec.js#L14
1) tests/embeds.spec.js:3:5 › same-domain embed is loading ───────────────────────────────────────
Error: Timed out 5000ms waiting for expect(received).toContainText(expected)
Expected string: "Want to help"
Received string: ""
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('replay-web-page').frameLocator('iframe').locator('replay-app-main wr-item wr-coll-replay').frameLocator('iframe').frameLocator('iframe#twitter-widget-0').locator('body')
12 | .locator("body");
13 |
> 14 | await expect(res).toContainText("Want to help");
| ^
15 | });
16 |
17 | test("cross-domain embed is loading", async ({ page }) => {
at /home/runner/work/replayweb.page/replayweb.page/tests/embeds.spec.js:14:21
|
tests/embeds.spec.js:17:5 › cross-domain embed is loading:
tests/embeds.spec.js#L28
2) tests/embeds.spec.js:17:5 › cross-domain embed is loading ─────────────────────────────────────
Error: Timed out 5000ms waiting for expect(received).toContainText(expected)
Expected string: "Want to help"
Received string: ""
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('replay-web-page').frameLocator('iframe').locator('replay-app-main wr-item wr-coll-replay').frameLocator('iframe').frameLocator('iframe#twitter-widget-0').locator('body')
26 | .locator("body");
27 |
> 28 | await expect(res).toContainText("Want to help");
| ^
29 | });
30 |
31 | test("sandbox + cross-domain embed is loading", async ({ page }) => {
at /home/runner/work/replayweb.page/replayweb.page/tests/embeds.spec.js:28:21
|
tests/embeds.spec.js:31:5 › sandbox + cross-domain embed is loading:
tests/embeds.spec.js#L48
3) tests/embeds.spec.js:31:5 › sandbox + cross-domain embed is loading ───────────────────────────
Error: Timed out 5000ms waiting for expect(received).toContainText(expected)
Expected string: "Want to help"
Received string: ""
Call log:
- expect.toContainText with timeout 5000ms
- waiting for frameLocator('iframe').locator('replay-web-page').frameLocator('iframe').locator('replay-app-main wr-item wr-coll-replay').frameLocator('iframe').frameLocator('iframe#twitter-widget-0').locator('body')
46 | .locator("body");
47 |
> 48 | await expect(res).toContainText("Want to help");
| ^
49 | });
50 |
51 | test("require subdomain iframe", async ({ page }) => {
at /home/runner/work/replayweb.page/replayweb.page/tests/embeds.spec.js:48:21
|
tests/embeds.spec.js:51:5 › require subdomain iframe:
tests/embeds.spec.js#L57
4) tests/embeds.spec.js:51:5 › require subdomain iframe ──────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(received).toContainText(expected)
Expected string: "Sorry, due to security settings, this ReplayWeb.page embed only be viewed within a subdomain iframe."
Received string: ""
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('replay-web-page')
- locator resolved to <replay-web-page sandbox="" url="page:0" embed="replay" requiresu…></replay-web-page>
- unexpected value ""
- locator resolved to <replay-web-page sandbox="" url="page:0" embed="replay" requiresu…></replay-web-page>
- unexpected value ""
- locator resolved to <replay-web-page sandbox="" url="page:0" embed="replay" requiresu…></replay-web-page>
- unexpected value ""
- locator resolved to <replay-web-page sandbox="" url="page:0" embed="replay" requiresu…></replay-web-page>
- unexpected value ""
- locator resolved to <replay-web-page sandbox="" url="page:0" embed="replay" requiresu…></replay-web-page>
- unexpected value ""
- locator resolved to <replay-web-page sandbox="" url="page:0" embed="replay" requiresu…></replay-web-page>
- unexpected value ""
- locator resolved to <replay-web-page sandbox="" url="page:0" embed="replay" requiresu…></replay-web-page>
- unexpected value ""
- locator resolved to <replay-web-page sandbox="" url="page:0" embed="replay" requiresu…></replay-web-page>
- unexpected value ""
- locator resolved to <replay-web-page sandbox="" url="page:0" embed="replay" requiresu…></replay-web-page>
- unexpected value ""
55 | const res = page.locator("replay-web-page");
56 |
> 57 | await expect(res).toContainText(
| ^
58 | "Sorry, due to security settings, this ReplayWeb.page embed only be viewed within a subdomain iframe.",
59 | );
60 | });
at /home/runner/work/replayweb.page/replayweb.page/tests/embeds.spec.js:57:21
|
playwright
Process completed with exit code 1.
|
playwright
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Slow Test:
tests/embeds.spec.js#L1
tests/embeds.spec.js took 20.5s
|
🎭 Playwright Run Summary
4 failed
tests/embeds.spec.js:3:5 › same-domain embed is loading ────────────────────────────────────────
tests/embeds.spec.js:17:5 › cross-domain embed is loading ──────────────────────────────────────
tests/embeds.spec.js:31:5 › sandbox + cross-domain embed is loading ────────────────────────────
tests/embeds.spec.js:51:5 › require subdomain iframe ───────────────────────────────────────────
|