Skip to content

fix: jest ci tests #5797

fix: jest ci tests

fix: jest ci tests #5797

Triggered via pull request August 5, 2024 10:01
Status Success
Total duration 14m 37s
Artifacts

test.yml

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

Annotations

11 errors, 6 warnings, and 4 notices
[unit] › components/base/b-slider/test/unit/auto-slide.ts:79:8 › <b-slider> auto slide › enabled › slides are static › automatic moves should be resumed on touch end: src/components/base/b-slider/test/unit/auto-slide.ts#L89
1) [unit] › components/base/b-slider/test/unit/auto-slide.ts:79:8 › <b-slider> auto slide › enabled › slides are static › automatic moves should be resumed on touch end Error: expect(received).toBe(expected) // Object.is equality Expected: 1 Received: 2 87 | .toBeGreaterThan(autoSlidePostGestureDelay); 88 | > 89 | test.expect(await current(slider)).toBe(1); | ^ 90 | }); 91 | 92 | }); at /home/runner/work/Client/Client/src/components/base/b-slider/test/unit/auto-slide.ts:89:40
[unit] › components/base/b-virtual-scroll-new/test/unit/lifecycle/slots/slots.ts:462:7 › <b-virtual-scroll-new> › renderNext › activates when data is loaded: src/components/base/b-virtual-scroll-new/test/unit/lifecycle/slots/slots.ts#L1
1) [unit] › components/base/b-virtual-scroll-new/test/unit/lifecycle/slots/slots.ts:462:7 › <b-virtual-scroll-new> › renderNext › activates when data is loaded Test timeout of 30000ms exceeded.
[unit] › components/base/b-virtual-scroll-new/test/unit/lifecycle/slots/slots.ts:462:7 › <b-virtual-scroll-new> › renderNext › activates when data is loaded: src/components/base/b-virtual-scroll-new/test/api/component-object/index.ts#L140
1) [unit] › components/base/b-virtual-scroll-new/test/unit/lifecycle/slots/slots.ts:462:7 › <b-virtual-scroll-new> › renderNext › activates when data is loaded Error: locator.waitFor: Target closed =========================== logs =========================== waiting for locator('[data-component-object-id="b-virtual-scroll-new_0.42498272748200416"]').locator('.b-virtual-scroll-new__render-next') to be visible locator resolved to hidden <div class="b-virtual-scroll-new__render-next u444731…>…</div> locator resolved to hidden <div class="b-virtual-scroll-new__render-next u444731…>…</div> locator resolved to hidden <div class="b-virtual-scroll-new__render-next u444731…>…</div> locator resolved to hidden <div class="b-virtual-scroll-new__render-next u444731…>…</div> locator resolved to hidden <div class="b-virtual-scroll-new__render-next u444731…>…</div> locator resolved to hidden <div class="b-virtual-scroll-new__render-next u444731…>…</div> locator resolved to hidden <div class="b-virtual-scroll-new__render-next u444731…>…</div> locator resolved to hidden <div class="b-virtual-scroll-new__render-next u444731…>…</div> locator resolved to hidden <div class="b-virtual-scroll-new__render-next u444731…>…</div> locator resolved to hidden <div class="b-virtual-scroll-new__render-next u444731…>…</div> locator resolved to hidden <div class="b-virtual-scroll-new__render-next u444731…>…</div> locator resolved to hidden <div class="b-virtual-scroll-new__render-next u444731…>…</div> locator resolved to hidden <div class="b-virtual-scroll-new__render-next u444731…>…</div> locator resolved to hidden <div class="b-virtual-scroll-new__render-next u444731…>…</div> locator resolved to hidden <div class="b-virtual-scroll-new__render-next u444731…>…</div> locator resolved to hidden <div class="b-virtual-scroll-new__render-next u444731…>…</div> locator resolved to hidden <div class="b-virtual-scroll-new__render-next u444731…>…</div> locator resolved to hidden <div class="b-virtual-scroll-new__render-next u444731…>…</div> locator resolved to hidden <div class="b-virtual-scroll-new__render-next u444731…>…</div> locator resolved to hidden <div class="b-virtual-scroll-new__render-next u444731…>…</div> locator resolved to hidden <div class="b-virtual-scroll-new__render-next u444731…>…</div> locator resolved to hidden <div class="b-virtual-scroll-new__render-next u444731…>…</div> locator resolved to hidden <div class="b-virtual-scroll-new__render-next u444731…>…</div> locator resolved to hidden <div class="b-virtual-scroll-new__render-next u444731…>…</div> locator resolved to hidden <div class="b-virtual-scroll-new__render-next u444731…>…</div> locator resolved to hidden <div class="b-virtual-scroll-new__render-next u444731…>…</div> locator resolved to hidden <div class="b-virtual-scroll-new__render-next u444731…>…</div> locator resolved to hidden <div class="b-virtual-scroll-new__render-next u444731…>…</div> locator resolved to hidden <div class="b-virtual-scroll-new__render-next u444731…>…</div> locator resolved to hidden <div class="b-virtual-scroll-new__render-next u444731…>…</div> locator resolved to hidden <div class="b-virtual-scroll-new__render-next u444731…>…</div> locator resolved to hidden <div class="b-virtual-scroll-new__render-next u444731…>…</div> locator resolved to hidden <div class="b-virtual-scroll-new__render-next u444731…>…</div> locator resolved to hidden <div class="b-virtual-scroll-new__render-next u444731…>…</div> locator resolved to hidden <div class="b-virtual-scroll-new__render-next u444731…>…</div> locator resolved to hidden <div class="b-virtual-scroll-new__render-next u444731…>…</div> locator resolved to hidden <div class="b-virtual-scroll-new__render-next u444731…>…</div> locator resolved to hidden <div class="b-virtual-scroll-new__render-next u444731…>…</div> locator resolve
[unit] › components/base/b-virtual-scroll-new/test/unit/lifecycle/slots/slots.ts:462:7 › <b-virtual-scroll-new> › renderNext › activates when data is loaded: src/components/base/b-virtual-scroll-new/test/unit/lifecycle/slots/slots.ts#L1
1) [unit] › components/base/b-virtual-scroll-new/test/unit/lifecycle/slots/slots.ts:462:7 › <b-virtual-scroll-new> › renderNext › activates when data is loaded Pending operations: - locator.waitFor at src/components/base/b-virtual-scroll-new/test/api/component-object/index.ts:140:14
[unit] › components/directives/on-resize/test/unit/main.ts:99:7 › components/directives/on-resize › the handler should be called › when there is a change in padding or border of the element: src/components/directives/on-resize/test/unit/main.ts#L1
2) [unit] › components/directives/on-resize/test/unit/main.ts:99:7 › components/directives/on-resize › the handler should be called › when there is a change in padding or border of the element, provided that the box model is set to "border-box" and the element has a box-sizing value of "content-box" Test timeout of 30000ms exceeded.
[unit] › components/directives/on-resize/test/unit/main.ts:99:7 › components/directives/on-resize › the handler should be called › when there is a change in padding or border of the element: src/components/directives/on-resize/test/unit/main.ts#L116
2) [unit] › components/directives/on-resize/test/unit/main.ts:99:7 › components/directives/on-resize › the handler should be called › when there is a change in padding or border of the element, provided that the box model is set to "border-box" and the element has a box-sizing value of "content-box" Error: Expected a promise to be resolved but it was rejected Error: page.waitForFunction: Target closed 114 | }); 115 | > 116 | await test.expect(waitForWatcherCallsCount(page, component, 3)).toBeResolved(); | ^ 117 | } 118 | ); 119 | at /home/runner/work/Client/Client/src/components/directives/on-resize/test/unit/main.ts:116:69
[unit] › components/directives/on-resize/test/unit/main.ts:99:7 › components/directives/on-resize › the handler should be called › when there is a change in padding or border of the element: src/components/directives/on-resize/test/unit/main.ts#L1
2) [unit] › components/directives/on-resize/test/unit/main.ts:99:7 › components/directives/on-resize › the handler should be called › when there is a change in padding or border of the element, provided that the box model is set to "border-box" and the element has a box-sizing value of "content-box" Pending operations: - page.waitForFunction at src/components/directives/on-resize/test/unit/main.ts:225:5
[unit] › components/directives/on-resize/test/unit/main.ts:99:7 › components/directives/on-resize › the handler should be called › when there is a change in padding or border of the element: src/components/directives/on-resize/test/unit/main.ts#L1
2) [unit] › components/directives/on-resize/test/unit/main.ts:99:7 › components/directives/on-resize › the handler should be called › when there is a change in padding or border of the element, provided that the box model is set to "border-box" and the element has a box-sizing value of "content-box" Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[unit] › components/directives/on-resize/test/unit/main.ts:99:7 › components/directives/on-resize › the handler should be called › when there is a change in padding or border of the element: src/components/directives/on-resize/test/unit/main.ts#L116
2) [unit] › components/directives/on-resize/test/unit/main.ts:99:7 › components/directives/on-resize › the handler should be called › when there is a change in padding or border of the element, provided that the box model is set to "border-box" and the element has a box-sizing value of "content-box" Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Expected a promise to be resolved but it was rejected Error: page.waitForFunction: Target closed 114 | }); 115 | > 116 | await test.expect(waitForWatcherCallsCount(page, component, 3)).toBeResolved(); | ^ 117 | } 118 | ); 119 | at /home/runner/work/Client/Client/src/components/directives/on-resize/test/unit/main.ts:116:69
[unit] › components/directives/on-resize/test/unit/main.ts:99:7 › components/directives/on-resize › the handler should be called › when there is a change in padding or border of the element: src/components/directives/on-resize/test/unit/main.ts#L1
2) [unit] › components/directives/on-resize/test/unit/main.ts:99:7 › components/directives/on-resize › the handler should be called › when there is a change in padding or border of the element, provided that the box model is set to "border-box" and the element has a box-sizing value of "content-box" Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Pending operations: - page.waitForFunction at src/components/directives/on-resize/test/unit/main.ts:225:5
[unit] › components/directives/on-resize/test/unit/main.ts:190:6 › components/directives/on-resize › all provided handlers should be called when the size of the element changes: src/components/directives/on-resize/test/unit/main.ts#L1
3) [unit] › components/directives/on-resize/test/unit/main.ts:190:6 › components/directives/on-resize › all provided handlers should be called when the size of the element changes Test timeout of 30000ms exceeded.
build (20.x)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache/save@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
modules (20.x)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache/restore@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
components (20.x, 3, 4)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache/restore@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
components (20.x, 4, 4)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache/restore@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
components (20.x, 1, 4)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache/restore@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
components (20.x, 2, 4)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache/restore@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
🎭 Playwright Run Summary
1 skipped 336 passed (6.6m)
🎭 Playwright Run Summary
1 skipped 338 passed (7.3m)
🎭 Playwright Run Summary
1 flaky [unit] › components/base/b-slider/test/unit/auto-slide.ts:79:8 › <b-slider> auto slide › enabled › slides are static › automatic moves should be resumed on touch end 340 passed (7.8m)
🎭 Playwright Run Summary
3 flaky [unit] › components/base/b-virtual-scroll-new/test/unit/lifecycle/slots/slots.ts:462:7 › <b-virtual-scroll-new> › renderNext › activates when data is loaded [unit] › components/directives/on-resize/test/unit/main.ts:99:7 › components/directives/on-resize › the handler should be called › when there is a change in padding or border of the element, provided that the box model is set to "border-box" and the element has a box-sizing value of "content-box" [unit] › components/directives/on-resize/test/unit/main.ts:190:6 › components/directives/on-resize › all provided handlers should be called when the size of the element changes 1 skipped 342 passed (9.3m)