Playwright is testing code examples 🚀 #544
code-examples.yml
on: schedule
run-code_examples-tests
19m 16s
Annotations
7 errors and 1 notice
[chromium] › tests/checkCodeExamples.spec.ts:22:9 › Verify api-client-tutorial:
apps/e2e-tests/tests/checkCodeExamples.spec.ts#L1
1) [chromium] › tests/checkCodeExamples.spec.ts:22:9 › Verify api-client-tutorial ────────────────
Test timeout of 360000ms exceeded.
|
[chromium] › tests/checkCodeExamples.spec.ts:22:9 › Verify api-client-tutorial:
apps/e2e-tests/tests/checkCodeExamples.spec.ts#L44
1) [chromium] › tests/checkCodeExamples.spec.ts:22:9 › Verify api-client-tutorial ────────────────
Error: locator.waitFor: Test timeout of 360000ms exceeded.
Call log:
- waiting for locator('iframe[title="Preview page"]') to be visible
42 | await page
43 | .locator('iframe[title="Preview page"]')
> 44 | .waitFor({ state: "visible" });
| ^
45 |
46 | expect(await page.locator('iframe[title="Preview page"]')).toBeVisible();
47 | expect(await page.mainFrame().content()).toContain("test-wrapper");
at /Users/runner/work/frontends/frontends/apps/e2e-tests/tests/checkCodeExamples.spec.ts:44:10
|
[chromium] › tests/checkCodeExamples.spec.ts:22:9 › Verify api-client-tutorial:
apps/e2e-tests/tests/checkCodeExamples.spec.ts#L1
1) [chromium] › tests/checkCodeExamples.spec.ts:22:9 › Verify api-client-tutorial ────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 360000ms exceeded.
|
[chromium] › tests/checkCodeExamples.spec.ts:22:9 › Verify api-client-tutorial:
apps/e2e-tests/tests/checkCodeExamples.spec.ts#L44
1) [chromium] › tests/checkCodeExamples.spec.ts:22:9 › Verify api-client-tutorial ────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.waitFor: Test timeout of 360000ms exceeded.
Call log:
- waiting for locator('iframe[title="Preview page"]') to be visible
42 | await page
43 | .locator('iframe[title="Preview page"]')
> 44 | .waitFor({ state: "visible" });
| ^
45 |
46 | expect(await page.locator('iframe[title="Preview page"]')).toBeVisible();
47 | expect(await page.mainFrame().content()).toContain("test-wrapper");
at /Users/runner/work/frontends/frontends/apps/e2e-tests/tests/checkCodeExamples.spec.ts:44:10
|
[chromium] › tests/checkCodeExamples.spec.ts:22:9 › Verify api-client-tutorial:
apps/e2e-tests/tests/checkCodeExamples.spec.ts#L1
1) [chromium] › tests/checkCodeExamples.spec.ts:22:9 › Verify api-client-tutorial ────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 360000ms exceeded.
|
[chromium] › tests/checkCodeExamples.spec.ts:22:9 › Verify api-client-tutorial:
apps/e2e-tests/tests/checkCodeExamples.spec.ts#L44
1) [chromium] › tests/checkCodeExamples.spec.ts:22:9 › Verify api-client-tutorial ────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.waitFor: Test timeout of 360000ms exceeded.
Call log:
- waiting for locator('iframe[title="Preview page"]') to be visible
42 | await page
43 | .locator('iframe[title="Preview page"]')
> 44 | .waitFor({ state: "visible" });
| ^
45 |
46 | expect(await page.locator('iframe[title="Preview page"]')).toBeVisible();
47 | expect(await page.mainFrame().content()).toContain("test-wrapper");
at /Users/runner/work/frontends/frontends/apps/e2e-tests/tests/checkCodeExamples.spec.ts:44:10
|
run-code_examples-tests
Process completed with exit code 1.
|
🎭 Playwright Run Summary
1 failed
[chromium] › tests/checkCodeExamples.spec.ts:22:9 › Verify api-client-tutorial ─────────────────
15 passed (18.2m)
|