Playwright is testing code examples 🚀 #542
code-examples.yml
on: schedule
run-code_examples-tests
19m 25s
Annotations
10 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
|
[chromium] › tests/checkCodeExamples.spec.ts:22:9 › Verify b2b-quote-management:
apps/e2e-tests/tests/checkCodeExamples.spec.ts#L41
2) [chromium] › tests/checkCodeExamples.spec.ts:22:9 › Verify b2b-quote-management ───────────────
Error: expect(received).toContain(expected) // indexOf
Expected substring: "Frontends"
Received string: "StackBlitz"
39 | `https://stackblitz.com/github/${exampleName}`,
40 | );
> 41 | expect(await page.title()).toContain("Frontends");
| ^
42 | await page
43 | .locator('iframe[title="Preview page"]')
44 | .waitFor({ state: "visible" });
at /Users/runner/work/frontends/frontends/apps/e2e-tests/tests/checkCodeExamples.spec.ts:41:34
|
[chromium] › tests/checkCodeExamples.spec.ts:22:9 › Verify b2b-quote-management:
apps/e2e-tests/tests/checkCodeExamples.spec.ts#L41
2) [chromium] › tests/checkCodeExamples.spec.ts:22:9 › Verify b2b-quote-management ───────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toContain(expected) // indexOf
Expected substring: "Frontends"
Received string: "StackBlitz"
39 | `https://stackblitz.com/github/${exampleName}`,
40 | );
> 41 | expect(await page.title()).toContain("Frontends");
| ^
42 | await page
43 | .locator('iframe[title="Preview page"]')
44 | .waitFor({ state: "visible" });
at /Users/runner/work/frontends/frontends/apps/e2e-tests/tests/checkCodeExamples.spec.ts:41:34
|
[chromium] › tests/checkCodeExamples.spec.ts:22:9 › Verify b2b-quote-management:
apps/e2e-tests/tests/checkCodeExamples.spec.ts#L41
2) [chromium] › tests/checkCodeExamples.spec.ts:22:9 › Verify b2b-quote-management ───────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toContain(expected) // indexOf
Expected substring: "Frontends"
Received string: "StackBlitz"
39 | `https://stackblitz.com/github/${exampleName}`,
40 | );
> 41 | expect(await page.title()).toContain("Frontends");
| ^
42 | await page
43 | .locator('iframe[title="Preview page"]')
44 | .waitFor({ state: "visible" });
at /Users/runner/work/frontends/frontends/apps/e2e-tests/tests/checkCodeExamples.spec.ts:41:34
|
run-code_examples-tests
Process completed with exit code 1.
|
🎭 Playwright Run Summary
2 failed
[chromium] › tests/checkCodeExamples.spec.ts:22:9 › Verify api-client-tutorial ─────────────────
[chromium] › tests/checkCodeExamples.spec.ts:22:9 › Verify b2b-quote-management ────────────────
14 passed (18.3m)
|