fix(activation): do not call component reloading twice on activation #6561
Triggered via pull request
December 13, 2024 09:45
Status
Failure
Total duration
13m 11s
Artifacts
–
test.yml
on: pull_request
Matrix: build
Matrix: linters
Matrix: components
Matrix: modules
Annotations
12 errors, 4 warnings, and 2 notices
[unit] › components/super/i-block/modules/activation/test/unit/reload.ts:49:7 › <i-block> modules - reload › reloadOnActivation = true › should reload the data on activation even if the data is already loaded:
src/components/super/i-block/modules/activation/test/unit/reload.ts#L65
1) [unit] › components/super/i-block/modules/activation/test/unit/reload.ts:49:7 › <i-block> modules - reload › reloadOnActivation = true › should reload the data on activation even if the data is already loaded
Error: expect(received).resolves.toBe(expected) // Object.is equality
Expected: 2
Received: 1
63 | // We expect that the reload method will be called twice,
64 | // since we are going through two instances of `async` and `$async` in the array
> 65 | await test.expect(mockReload.callsCount).resolves.toBe(2);
| ^
66 | });
67 | });
68 |
at /home/runner/work/Client/Client/src/components/super/i-block/modules/activation/test/unit/reload.ts:65:54
|
[unit] › components/super/i-block/modules/activation/test/unit/reload.ts:49:7 › <i-block> modules - reload › reloadOnActivation = true › should reload the data on activation even if the data is already loaded:
src/components/super/i-block/modules/activation/test/unit/reload.ts#L65
1) [unit] › components/super/i-block/modules/activation/test/unit/reload.ts:49:7 › <i-block> modules - reload › reloadOnActivation = true › should reload the data on activation even if the data is already loaded
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).resolves.toBe(expected) // Object.is equality
Expected: 2
Received: 1
63 | // We expect that the reload method will be called twice,
64 | // since we are going through two instances of `async` and `$async` in the array
> 65 | await test.expect(mockReload.callsCount).resolves.toBe(2);
| ^
66 | });
67 | });
68 |
at /home/runner/work/Client/Client/src/components/super/i-block/modules/activation/test/unit/reload.ts:65:54
|
[unit] › components/super/i-block/modules/activation/test/unit/reload.ts:49:7 › <i-block> modules - reload › reloadOnActivation = true › should reload the data on activation even if the data is already loaded:
src/components/super/i-block/modules/activation/test/unit/reload.ts#L65
1) [unit] › components/super/i-block/modules/activation/test/unit/reload.ts:49:7 › <i-block> modules - reload › reloadOnActivation = true › should reload the data on activation even if the data is already loaded
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).resolves.toBe(expected) // Object.is equality
Expected: 2
Received: 1
63 | // We expect that the reload method will be called twice,
64 | // since we are going through two instances of `async` and `$async` in the array
> 65 | await test.expect(mockReload.callsCount).resolves.toBe(2);
| ^
66 | });
67 | });
68 |
at /home/runner/work/Client/Client/src/components/super/i-block/modules/activation/test/unit/reload.ts:65:54
|
components (20.x, 3, 4)
Process completed with exit code 1.
|
components (20.x, 4, 4)
The job was canceled because "_20_x_3_4" failed.
|
[unit] › core/component/directives/attrs/test/unit/main.ts:59:6 › core/component/directives/attrs › should allow setting custom directives:
src/core/component/directives/attrs/test/unit/main.ts#L1
1) [unit] › core/component/directives/attrs/test/unit/main.ts:59:6 › core/component/directives/attrs › should allow setting custom directives
Test timeout of 30000ms exceeded.
|
[unit] › core/component/directives/attrs/test/unit/main.ts:59:6 › core/component/directives/attrs › should allow setting custom directives:
src/core/component/directives/attrs/test/unit/main.ts#L68
1) [unit] › core/component/directives/attrs/test/unit/main.ts:59:6 › core/component/directives/attrs › should allow setting custom directives
Error: Expected a promise to be resolved but it was rejected
Error: page.waitForFunction: Target closed
66 | });
67 |
> 68 | await test.expect(waitForWatcherCallsCount(page, component, 2)).toBeResolved();
| ^
69 | });
70 |
71 | test.describe('should allow specifying directives, events, and attributes simultaneously', () => {
at /home/runner/work/Client/Client/src/core/component/directives/attrs/test/unit/main.ts:68:67
|
[unit] › core/component/directives/attrs/test/unit/main.ts:59:6 › core/component/directives/attrs › should allow setting custom directives:
src/core/component/directives/attrs/test/unit/main.ts#L1
1) [unit] › core/component/directives/attrs/test/unit/main.ts:59:6 › core/component/directives/attrs › should allow setting custom directives
Pending operations:
- page.waitForFunction at src/core/component/directives/attrs/test/helpers.ts:64:4
|
components (20.x, 2, 4)
The job was canceled because "_20_x_3_4" failed.
|
components (20.x, 2, 4)
The operation was canceled.
|
components (20.x, 1, 4)
The job was canceled because "_20_x_3_4" failed.
|
components (20.x, 1, 4)
The operation was canceled.
|
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, 3, 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 failed
[unit] › components/super/i-block/modules/activation/test/unit/reload.ts:49:7 › <i-block> modules - reload › reloadOnActivation = true › should reload the data on activation even if the data is already loaded
1 skipped
371 passed (7.6m)
|
🎭 Playwright Run Summary
1 flaky
[unit] › core/component/directives/attrs/test/unit/main.ts:59:6 › core/component/directives/attrs › should allow setting custom directives
1 skipped
325 passed (7.5m)
|