Fix Playwright test timeouts on CI by using deterministic load waits #181
Annotations
11 errors and 1 notice
|
check
Process completed with exit code 1.
|
|
[chromium] › test/e2e/community-events.spec.ts:218:1 › upcoming and past sections only show events on the correct side of now:
test/e2e/community-events.spec.ts#L251
2) [chromium] › test/e2e/community-events.spec.ts:218:1 › upcoming and past sections only show events on the correct side of now
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.evaluateAll: Test timeout of 90000ms exceeded.
249 | errorMessage: string,
250 | ) => {
> 251 | const dates = await section.locator("a time").evaluateAll(elements =>
| ^
252 | elements.map(element => ({
253 | iso: element.getAttribute("datetime") ?? "",
254 | text: element.textContent?.trim() ?? "",
at validateSectionDates (/home/runner/work/graphql.github.io/graphql.github.io/test/e2e/community-events.spec.ts:251:51)
at /home/runner/work/graphql.github.io/graphql.github.io/test/e2e/community-events.spec.ts:277:9
|
|
[chromium] › test/e2e/community-events.spec.ts:218:1 › upcoming and past sections only show events on the correct side of now:
test/e2e/community-events.spec.ts#L0
2) [chromium] › test/e2e/community-events.spec.ts:218:1 › upcoming and past sections only show events on the correct side of now
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
|
[chromium] › test/e2e/community-events.spec.ts:218:1 › upcoming and past sections only show events on the correct side of now:
test/e2e/community-events.spec.ts#L251
2) [chromium] › test/e2e/community-events.spec.ts:218:1 › upcoming and past sections only show events on the correct side of now
Error: locator.evaluateAll: Test timeout of 90000ms exceeded.
249 | errorMessage: string,
250 | ) => {
> 251 | const dates = await section.locator("a time").evaluateAll(elements =>
| ^
252 | elements.map(element => ({
253 | iso: element.getAttribute("datetime") ?? "",
254 | text: element.textContent?.trim() ?? "",
at validateSectionDates (/home/runner/work/graphql.github.io/graphql.github.io/test/e2e/community-events.spec.ts:251:51)
at /home/runner/work/graphql.github.io/graphql.github.io/test/e2e/community-events.spec.ts:277:9
|
|
[chromium] › test/e2e/community-events.spec.ts:218:1 › upcoming and past sections only show events on the correct side of now:
test/e2e/community-events.spec.ts#L0
2) [chromium] › test/e2e/community-events.spec.ts:218:1 › upcoming and past sections only show events on the correct side of now
Test timeout of 90000ms exceeded.
|
|
[chromium] › test/e2e/community-events.spec.ts:141:1 › event type filters hide cards and lock the last active tag:
test/e2e/community-events.spec.ts#L169
1) [chromium] › test/e2e/community-events.spec.ts:141:1 › event type filters hide cards and lock the last active tag
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.count: Test timeout of 90000ms exceeded.
167 | })
168 |
> 169 | if ((await filter.count()) === 0) continue
| ^
170 |
171 | activeFilters.push({
172 | filter,
at /home/runner/work/graphql.github.io/graphql.github.io/test/e2e/community-events.spec.ts:169:23
|
|
[chromium] › test/e2e/community-events.spec.ts:141:1 › event type filters hide cards and lock the last active tag:
test/e2e/community-events.spec.ts#L0
1) [chromium] › test/e2e/community-events.spec.ts:141:1 › event type filters hide cards and lock the last active tag
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
|
[chromium] › test/e2e/community-events.spec.ts:141:1 › event type filters hide cards and lock the last active tag:
test/e2e/community-events.spec.ts#L169
1) [chromium] › test/e2e/community-events.spec.ts:141:1 › event type filters hide cards and lock the last active tag
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.count: Test timeout of 90000ms exceeded.
167 | })
168 |
> 169 | if ((await filter.count()) === 0) continue
| ^
170 |
171 | activeFilters.push({
172 | filter,
at /home/runner/work/graphql.github.io/graphql.github.io/test/e2e/community-events.spec.ts:169:23
|
|
[chromium] › test/e2e/community-events.spec.ts:141:1 › event type filters hide cards and lock the last active tag:
test/e2e/community-events.spec.ts#L0
1) [chromium] › test/e2e/community-events.spec.ts:141:1 › event type filters hide cards and lock the last active tag
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
|
[chromium] › test/e2e/community-events.spec.ts:141:1 › event type filters hide cards and lock the last active tag:
test/e2e/community-events.spec.ts#L169
1) [chromium] › test/e2e/community-events.spec.ts:141:1 › event type filters hide cards and lock the last active tag
Error: locator.count: Test timeout of 90000ms exceeded.
167 | })
168 |
> 169 | if ((await filter.count()) === 0) continue
| ^
170 |
171 | activeFilters.push({
172 | filter,
at /home/runner/work/graphql.github.io/graphql.github.io/test/e2e/community-events.spec.ts:169:23
|
|
[chromium] › test/e2e/community-events.spec.ts:141:1 › event type filters hide cards and lock the last active tag:
test/e2e/community-events.spec.ts#L0
1) [chromium] › test/e2e/community-events.spec.ts:141:1 › event type filters hide cards and lock the last active tag
Test timeout of 90000ms exceeded.
|
|
🎭 Playwright Run Summary
2 failed
[chromium] › test/e2e/community-events.spec.ts:141:1 › event type filters hide cards and lock the last active tag
[chromium] › test/e2e/community-events.spec.ts:218:1 › upcoming and past sections only show events on the correct side of now
3 skipped
5 passed (10.7m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
playwright-report
|
2.85 MB |
sha256:d3284cf1a37028f32ca7b9d65a82a5b861b7251f24320cd849b67d64c57ef512
|
|