feat(core/component): runtime checker for web-components #6587
Triggered via pull request
December 23, 2024 11:53
Status
Success
Total duration
14m 34s
Artifacts
–
test.yml
on: pull_request
Matrix: build
Matrix: linters
Matrix: components
Matrix: modules
Annotations
10 errors, 7 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/directives/on-resize/test/unit/main.ts:51:7 › components/directives/on-resize › the handler should be called › when the width or height of the element is resized.:
src/components/directives/on-resize/test/unit/main.ts#L1
1) [unit] › components/directives/on-resize/test/unit/main.ts:51:7 › components/directives/on-resize › the handler should be called › when the width or height of the element is resized.
Test timeout of 30000ms exceeded.
|
[unit] › components/directives/on-resize/test/unit/main.ts:51:7 › components/directives/on-resize › the handler should be called › when the width or height of the element is resized.:
src/components/directives/on-resize/test/unit/main.ts#L60
1) [unit] › components/directives/on-resize/test/unit/main.ts:51:7 › components/directives/on-resize › the handler should be called › when the width or height of the element is resized.
Error: Expected a promise to be resolved but it was rejected
Error: page.waitForFunction: Target closed
58 | });
59 |
> 60 | await test.expect(waitForWatcherCallsCount(page, component, 3)).toBeResolved();
| ^
61 | });
62 |
63 | test(
at /home/runner/work/Client/Client/src/components/directives/on-resize/test/unit/main.ts:60:68
|
[unit] › components/directives/on-resize/test/unit/main.ts:51:7 › components/directives/on-resize › the handler should be called › when the width or height of the element is resized.:
src/components/directives/on-resize/test/unit/main.ts#L1
1) [unit] › components/directives/on-resize/test/unit/main.ts:51:7 › components/directives/on-resize › the handler should be called › when the width or height of the element is resized.
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"
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:120: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
3) [unit] › components/directives/on-resize/test/unit/main.ts:120:7 › components/directives/on-resize › the handler should be called › when there is a change in padding or border of the element, regardless of whether the element has a box-sizing value of "content-box" or "border-box
Test timeout of 30000ms exceeded.
|
[unit] › components/directives/on-resize/test/unit/main.ts:120: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#L135
3) [unit] › components/directives/on-resize/test/unit/main.ts:120:7 › components/directives/on-resize › the handler should be called › when there is a change in padding or border of the element, regardless of whether the element has a box-sizing value of "content-box" or "border-box
Error: Expected a promise to be resolved but it was rejected
Error: page.waitForFunction: Target closed
133 | });
134 |
> 135 | await test.expect(waitForWatcherCallsCount(page, component, 3)).toBeResolved();
| ^
136 | }
137 | );
138 | });
at /home/runner/work/Client/Client/src/components/directives/on-resize/test/unit/main.ts:135:69
|
[unit] › components/directives/on-resize/test/unit/main.ts:120: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
3) [unit] › components/directives/on-resize/test/unit/main.ts:120:7 › components/directives/on-resize › the handler should be called › when there is a change in padding or border of the element, regardless of whether the element has a box-sizing value of "content-box" or "border-box
Pending operations:
- page.waitForFunction at src/components/directives/on-resize/test/unit/main.ts:225:5
|
linters (20.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
build (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, 1, 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
|
🎭 Playwright Run Summary
1 skipped
326 passed (7.0m)
|
🎭 Playwright Run Summary
1 skipped
372 passed (7.4m)
|
🎭 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
356 passed (8.3m)
|
🎭 Playwright Run Summary
3 flaky
[unit] › components/directives/on-resize/test/unit/main.ts:51:7 › components/directives/on-resize › the handler should be called › when the width or height of the element is resized.
[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:120:7 › components/directives/on-resize › the handler should be called › when there is a change in padding or border of the element, regardless of whether the element has a box-sizing value of "content-box" or "border-box
1 skipped
361 passed (9.1m)
|