Skip to content

updated playwright to latest version #6599

updated playwright to latest version

updated playwright to latest version #6599

Triggered via pull request December 26, 2024 12:37
Status Failure
Total duration 11m 19s
Artifacts

test.yml

on: pull_request
Matrix: build
Matrix: linters
Matrix: components
Matrix: modules
Fit to window
Zoom out
Zoom in

Annotations

11 errors, 7 warnings, and 4 notices
[unit] › components/directives/in-view/test/unit/main.ts:117:6 › components/directives/in-view › the function passed as `onLeave` should be immediately called when the element leaves the viewport: src/components/directives/in-view/test/unit/main.ts#L1
1) [unit] › components/directives/in-view/test/unit/main.ts:117:6 › components/directives/in-view › the function passed as `onLeave` should be immediately called when the element leaves the viewport Test timeout of 30000ms exceeded.
[unit] › components/directives/in-view/test/unit/main.ts:117:6 › components/directives/in-view › the function passed as `onLeave` should be immediately called when the element leaves the viewport: src/components/directives/in-view/test/unit/main.ts#L127
1) [unit] › components/directives/in-view/test/unit/main.ts:117:6 › components/directives/in-view › the function passed as `onLeave` should be immediately called when the element leaves the viewport Error: Expected a promise to be resolved but it was rejected Error: page.waitForFunction: Test timeout of 30000ms exceeded. 125 | await restoreViewport(page); 126 | > 127 | await test.expect(waitForWatcherCallsCount(page, observedEl, 1)).toBeResolved(); | ^ 128 | } 129 | ); 130 | at /home/runner/work/Client/Client/src/components/directives/in-view/test/unit/main.ts:127:69
[unit] › components/directives/on-resize/test/unit/main.ts:81:7 › components/directives/on-resize › the handler should be called › only when the width of the element is changed when the `watchHeight` is set to false: src/components/directives/on-resize/test/unit/main.ts#L1
2) [unit] › components/directives/on-resize/test/unit/main.ts:81:7 › components/directives/on-resize › the handler should be called › only when the width of the element is changed when the `watchHeight` is set to false Test timeout of 30000ms exceeded.
[unit] › components/directives/on-resize/test/unit/main.ts:81:7 › components/directives/on-resize › the handler should be called › only when the width of the element is changed when the `watchHeight` is set to false: src/components/directives/on-resize/test/unit/main.ts#L95
2) [unit] › components/directives/on-resize/test/unit/main.ts:81:7 › components/directives/on-resize › the handler should be called › only when the width of the element is changed when the `watchHeight` is set to false Error: Expected a promise to be resolved but it was rejected Error: page.waitForFunction: Test timeout of 30000ms exceeded. 93 | }); 94 | > 95 | await test.expect(waitForWatcherCallsCount(page, component, 2)).toBeResolved(); | ^ 96 | } 97 | ); 98 | at /home/runner/work/Client/Client/src/components/directives/on-resize/test/unit/main.ts:95:69
[unit] › components/base/b-virtual-scroll-new/test/unit/functional/rendering/cls.ts:56:7 › <b-virtual-scroll-new> › tombstones switch to content › should not generate cls on initial loading: src/components/base/b-virtual-scroll-new/test/unit/functional/rendering/cls.ts#L72
1) [unit] › components/base/b-virtual-scroll-new/test/unit/functional/rendering/cls.ts:56:7 › <b-virtual-scroll-new> › tombstones switch to content › should not generate cls on initial loading Error: expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 0.9777777777777777 70 | }); 71 | > 72 | test.expect(score).toBe(0); | ^ 73 | }); 74 | 75 | test('should not generate cls on second loading', async ({page}) => { at /home/runner/work/Client/Client/src/components/base/b-virtual-scroll-new/test/unit/functional/rendering/cls.ts:72:23
[unit] › components/base/b-virtual-scroll-new/test/unit/functional/rendering/cls.ts:56:7 › <b-virtual-scroll-new> › tombstones switch to content › should not generate cls on initial loading: src/components/base/b-virtual-scroll-new/test/unit/functional/rendering/cls.ts#L72
1) [unit] › components/base/b-virtual-scroll-new/test/unit/functional/rendering/cls.ts:56:7 › <b-virtual-scroll-new> › tombstones switch to content › should not generate cls on initial loading Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 0.9777777777777777 70 | }); 71 | > 72 | test.expect(score).toBe(0); | ^ 73 | }); 74 | 75 | test('should not generate cls on second loading', async ({page}) => { at /home/runner/work/Client/Client/src/components/base/b-virtual-scroll-new/test/unit/functional/rendering/cls.ts:72:23
[unit] › components/base/b-virtual-scroll-new/test/unit/functional/rendering/cls.ts:56:7 › <b-virtual-scroll-new> › tombstones switch to content › should not generate cls on initial loading: src/components/base/b-virtual-scroll-new/test/unit/functional/rendering/cls.ts#L72
1) [unit] › components/base/b-virtual-scroll-new/test/unit/functional/rendering/cls.ts:56:7 › <b-virtual-scroll-new> › tombstones switch to content › should not generate cls on initial loading Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 0.9777777777777777 70 | }); 71 | > 72 | test.expect(score).toBe(0); | ^ 73 | }); 74 | 75 | test('should not generate cls on second loading', async ({page}) => { at /home/runner/work/Client/Client/src/components/base/b-virtual-scroll-new/test/unit/functional/rendering/cls.ts:72:23
[unit] › components/base/b-virtual-scroll-new/test/unit/functional/rendering/cls.ts:75:7 › <b-virtual-scroll-new> › tombstones switch to content › should not generate cls on second loading: src/components/base/b-virtual-scroll-new/test/unit/functional/rendering/cls.ts#L93
2) [unit] › components/base/b-virtual-scroll-new/test/unit/functional/rendering/cls.ts:75:7 › <b-virtual-scroll-new> › tombstones switch to content › should not generate cls on second loading Error: expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 0.9777777777777777 91 | }); 92 | > 93 | test.expect(score).toBe(0); | ^ 94 | }); 95 | }); 96 | }); at /home/runner/work/Client/Client/src/components/base/b-virtual-scroll-new/test/unit/functional/rendering/cls.ts:93:23
[unit] › components/base/b-virtual-scroll-new/test/unit/functional/rendering/cls.ts:75:7 › <b-virtual-scroll-new> › tombstones switch to content › should not generate cls on second loading: src/components/base/b-virtual-scroll-new/test/unit/functional/rendering/cls.ts#L93
2) [unit] › components/base/b-virtual-scroll-new/test/unit/functional/rendering/cls.ts:75:7 › <b-virtual-scroll-new> › tombstones switch to content › should not generate cls on second loading Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 0.9777777777777777 91 | }); 92 | > 93 | test.expect(score).toBe(0); | ^ 94 | }); 95 | }); 96 | }); at /home/runner/work/Client/Client/src/components/base/b-virtual-scroll-new/test/unit/functional/rendering/cls.ts:93:23
[unit] › components/base/b-virtual-scroll-new/test/unit/functional/rendering/cls.ts:75:7 › <b-virtual-scroll-new> › tombstones switch to content › should not generate cls on second loading: src/components/base/b-virtual-scroll-new/test/unit/functional/rendering/cls.ts#L93
2) [unit] › components/base/b-virtual-scroll-new/test/unit/functional/rendering/cls.ts:75:7 › <b-virtual-scroll-new> › tombstones switch to content › should not generate cls on second loading Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 0.9777777777777777 91 | }); 92 | > 93 | test.expect(score).toBe(0); | ^ 94 | }); 95 | }); 96 | }); at /home/runner/work/Client/Client/src/components/base/b-virtual-scroll-new/test/unit/functional/rendering/cls.ts:93:23
components (20.x, 1, 4)
Process completed with exit code 1.
build (20.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
linters (20.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
modules (20.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
components (20.x, 4, 4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
components (20.x, 3, 4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
components (20.x, 2, 4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
components (20.x, 1, 4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
🎭 Playwright Run Summary
1 skipped 326 passed (6.3m)
🎭 Playwright Run Summary
1 skipped 372 passed (6.7m)
🎭 Playwright Run Summary
2 flaky [unit] › components/directives/in-view/test/unit/main.ts:117:6 › components/directives/in-view › the function passed as `onLeave` should be immediately called when the element leaves the viewport [unit] › components/directives/on-resize/test/unit/main.ts:81:7 › components/directives/on-resize › the handler should be called › only when the width of the element is changed when the `watchHeight` is set to false 1 skipped 362 passed (7.9m)
🎭 Playwright Run Summary
2 failed [unit] › components/base/b-virtual-scroll-new/test/unit/functional/rendering/cls.ts:56:7 › <b-virtual-scroll-new> › tombstones switch to content › should not generate cls on initial loading [unit] › components/base/b-virtual-scroll-new/test/unit/functional/rendering/cls.ts:75:7 › <b-virtual-scroll-new> › tombstones switch to content › should not generate cls on second loading 355 passed (7.9m)