Skip to content

Clock InitScript Installment #149

Clock InitScript Installment

Clock InitScript Installment #149

Triggered via pull request April 12, 2026 18:44
@VinyzuVinyzu
synchronize #193
clock-sync
Status Failure
Total duration 8m 22s
Artifacts

patchright_tests.yml

on: pull_request
run-patchright-tests
8m 17s
run-patchright-tests
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 2 notices
[chromium-library] › tests/library/page-clock.spec.ts:500:3 › while on pause › runFor should not run nested immediate from microtask: playwright/tests/library/page-clock.spec.ts#L511
3) [chromium-library] › tests/library/page-clock.spec.ts:500:3 › while on pause › runFor should not run nested immediate from microtask Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 5 @@ -2,6 +2,11 @@ Object { "params": Array [ "outer", ], }, + Object { + "params": Array [ + "inner", + ], + }, ] 509 | }, undefined, false); 510 | await page.clock.runFor(1000); > 511 | expect(calls).toEqual([{ params: ['outer'] }]); | ^ 512 | await page.clock.runFor(1); 513 | expect(calls).toEqual([{ params: ['outer'] }, { params: ['inner'] }]); 514 | }); at /home/runner/work/patchright/patchright/playwright/tests/library/page-clock.spec.ts:511:19
[chromium-library] › tests/library/page-clock.spec.ts:500:3 › while on pause › runFor should not run nested immediate from microtask: playwright/tests/library/page-clock.spec.ts#L511
3) [chromium-library] › tests/library/page-clock.spec.ts:500:3 › while on pause › runFor should not run nested immediate from microtask Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 5 @@ -2,6 +2,11 @@ Object { "params": Array [ "outer", ], }, + Object { + "params": Array [ + "inner", + ], + }, ] 509 | }, undefined, false); 510 | await page.clock.runFor(1000); > 511 | expect(calls).toEqual([{ params: ['outer'] }]); | ^ 512 | await page.clock.runFor(1); 513 | expect(calls).toEqual([{ params: ['outer'] }, { params: ['inner'] }]); 514 | }); at /home/runner/work/patchright/patchright/playwright/tests/library/page-clock.spec.ts:511:19
[chromium-library] › tests/library/page-clock.spec.ts:484:3 › while on pause › runFor should not run nested immediate: playwright/tests/library/page-clock.spec.ts#L495
2) [chromium-library] › tests/library/page-clock.spec.ts:484:3 › while on pause › runFor should not run nested immediate Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 5 @@ -2,6 +2,11 @@ Object { "params": Array [ "outer", ], }, + Object { + "params": Array [ + "inner", + ], + }, ] 493 | }, undefined, false); 494 | await page.clock.runFor(1000); > 495 | expect(calls).toEqual([{ params: ['outer'] }]); | ^ 496 | await page.clock.runFor(1); 497 | expect(calls).toEqual([{ params: ['outer'] }, { params: ['inner'] }]); 498 | }); at /home/runner/work/patchright/patchright/playwright/tests/library/page-clock.spec.ts:495:19
[chromium-library] › tests/library/page-clock.spec.ts:484:3 › while on pause › runFor should not run nested immediate: playwright/tests/library/page-clock.spec.ts#L495
2) [chromium-library] › tests/library/page-clock.spec.ts:484:3 › while on pause › runFor should not run nested immediate Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 5 @@ -2,6 +2,11 @@ Object { "params": Array [ "outer", ], }, + Object { + "params": Array [ + "inner", + ], + }, ] 493 | }, undefined, false); 494 | await page.clock.runFor(1000); > 495 | expect(calls).toEqual([{ params: ['outer'] }]); | ^ 496 | await page.clock.runFor(1); 497 | expect(calls).toEqual([{ params: ['outer'] }, { params: ['inner'] }]); 498 | }); at /home/runner/work/patchright/patchright/playwright/tests/library/page-clock.spec.ts:495:19
[chromium-library] › tests/library/page-clock.spec.ts:484:3 › while on pause › runFor should not run nested immediate: playwright/tests/library/page-clock.spec.ts#L495
2) [chromium-library] › tests/library/page-clock.spec.ts:484:3 › while on pause › runFor should not run nested immediate Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 5 @@ -2,6 +2,11 @@ Object { "params": Array [ "outer", ], }, + Object { + "params": Array [ + "inner", + ], + }, ] 493 | }, undefined, false); 494 | await page.clock.runFor(1000); > 495 | expect(calls).toEqual([{ params: ['outer'] }]); | ^ 496 | await page.clock.runFor(1); 497 | expect(calls).toEqual([{ params: ['outer'] }, { params: ['inner'] }]); 498 | }); at /home/runner/work/patchright/patchright/playwright/tests/library/page-clock.spec.ts:495:19
[chromium-library] › tests/library/page-clock.spec.ts:484:3 › while on pause › runFor should not run nested immediate: playwright/tests/library/page-clock.spec.ts#L495
2) [chromium-library] › tests/library/page-clock.spec.ts:484:3 › while on pause › runFor should not run nested immediate Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 5 @@ -2,6 +2,11 @@ Object { "params": Array [ "outer", ], }, + Object { + "params": Array [ + "inner", + ], + }, ] 493 | }, undefined, false); 494 | await page.clock.runFor(1000); > 495 | expect(calls).toEqual([{ params: ['outer'] }]); | ^ 496 | await page.clock.runFor(1); 497 | expect(calls).toEqual([{ params: ['outer'] }, { params: ['inner'] }]); 498 | }); at /home/runner/work/patchright/patchright/playwright/tests/library/page-clock.spec.ts:495:19
[chromium-library] › tests/library/page-clock.spec.ts:107:3 › runFor › creates updated Date while ticking: playwright/tests/library/page-clock.spec.ts#L115
1) [chromium-library] › tests/library/page-clock.spec.ts:107:3 › runFor › creates updated Date while ticking Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 10 + Received + 20 Array [ Object { "params": Array [ - 10, + 0, ], }, Object { "params": Array [ - 20, + 0, ], }, Object { "params": Array [ - 30, + 8, ], }, Object { "params": Array [ - 40, + 18, ], }, Object { "params": Array [ - 50, + 28, ], }, Object { "params": Array [ - 60, + 38, ], }, Object { "params": Array [ - 70, + 48, ], }, Object { "params": Array [ - 80, + 58, ], }, Object { "params": Array [ - 90, + 68, ], }, Object { "params": Array [ - 100, + 78, + ], + }, + Object { + "params": Array [ + 88, + ], + }, + Object { + "params": Array [ + 98, ], }, ] 113 | }, undefined, false); 114 | await page.clock.runFor(100); > 115 | expect(calls).toEqual([ | ^ 116 | { params: [10] }, 117 | { params: [20] }, 118 | { params: [30] }, at /home/runner/work/patchright/patchright/playwright/tests/library/page-clock.spec.ts:115:19
[chromium-library] › tests/library/page-clock.spec.ts:107:3 › runFor › creates updated Date while ticking: playwright/tests/library/page-clock.spec.ts#L115
1) [chromium-library] › tests/library/page-clock.spec.ts:107:3 › runFor › creates updated Date while ticking Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 10 + Received + 15 Array [ Object { "params": Array [ - 10, + 0, ], }, Object { "params": Array [ - 20, + 7, ], }, Object { "params": Array [ - 30, + 17, ], }, Object { "params": Array [ - 40, + 27, ], }, Object { "params": Array [ - 50, + 37, + ], + }, + Object { + "params": Array [ + 47, ], }, Object { "params": Array [ - 60, + 57, ], }, Object { "params": Array [ - 70, + 67, ], }, Object { "params": Array [ - 80, + 77, ], }, Object { "params": Array [ - 90, + 87, ], }, Object { "params": Array [ - 100, + 97, ], }, ] 113 | }, undefined, false); 114 | await page.clock.runFor(100); > 115 | expect(calls).toEqual([ | ^ 116 | { params: [10] }, 117 | { params: [20] }, 118 | { params: [30] }, at /home/runner/work/patchright/patchright/playwright/tests/library/page-clock.spec.ts:115:19
[chromium-library] › tests/library/page-clock.spec.ts:107:3 › runFor › creates updated Date while ticking: playwright/tests/library/page-clock.spec.ts#L115
1) [chromium-library] › tests/library/page-clock.spec.ts:107:3 › runFor › creates updated Date while ticking Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 10 + Received + 15 Array [ Object { "params": Array [ - 10, + 0, ], }, Object { "params": Array [ - 20, + 9, ], }, Object { "params": Array [ - 30, + 19, ], }, Object { "params": Array [ - 40, + 29, ], }, Object { "params": Array [ - 50, + 39, + ], + }, + Object { + "params": Array [ + 49, ], }, Object { "params": Array [ - 60, + 59, ], }, Object { "params": Array [ - 70, + 69, ], }, Object { "params": Array [ - 80, + 79, ], }, Object { "params": Array [ - 90, + 89, ], }, Object { "params": Array [ - 100, + 99, ], }, ] 113 | }, undefined, false); 114 | await page.clock.runFor(100); > 115 | expect(calls).toEqual([ | ^ 116 | { params: [10] }, 117 | { params: [20] }, 118 | { params: [30] }, at /home/runner/work/patchright/patchright/playwright/tests/library/page-clock.spec.ts:115:19
[chromium-library] › tests/library/page-clock.spec.ts:107:3 › runFor › creates updated Date while ticking: playwright/tests/library/page-clock.spec.ts#L115
1) [chromium-library] › tests/library/page-clock.spec.ts:107:3 › runFor › creates updated Date while ticking Error: expect(received).toEqual(expected) // deep equality - Expected - 10 + Received + 15 Array [ Object { "params": Array [ - 10, + 0, ], }, Object { "params": Array [ - 20, + 9, ], }, Object { "params": Array [ - 30, + 19, ], }, Object { "params": Array [ - 40, + 29, ], }, Object { "params": Array [ - 50, + 39, + ], + }, + Object { + "params": Array [ + 49, ], }, Object { "params": Array [ - 60, + 59, ], }, Object { "params": Array [ - 70, + 69, ], }, Object { "params": Array [ - 80, + 79, ], }, Object { "params": Array [ - 90, + 89, ], }, Object { "params": Array [ - 100, + 99, ], }, ] 113 | }, undefined, false); 114 | await page.clock.runFor(100); > 115 | expect(calls).toEqual([ | ^ 116 | { params: [10] }, 117 | { params: [20] }, 118 | { params: [30] }, at /home/runner/work/patchright/patchright/playwright/tests/library/page-clock.spec.ts:115:19
run-patchright-tests
Process completed with exit code 1.
🎭 Playwright Run Summary
3 failed [chromium-library] › tests/library/page-clock.spec.ts:107:3 › runFor › creates updated Date while ticking [chromium-library] › tests/library/page-clock.spec.ts:484:3 › while on pause › runFor should not run nested immediate [chromium-library] › tests/library/page-clock.spec.ts:500:3 › while on pause › runFor should not run nested immediate from microtask 1062 skipped 1221 passed (2.3m)
🎭 Playwright Run Summary
168 skipped 1907 passed (3.2m)