fix: improve determinism in transition stores #2831
Annotations
4 errors and 1 notice
|
Run npm run e2e:coverage -- --preview --shard=6/10:
e2e/transition/transition.e2e-spec.ts#L103
1) [main:svelte:webkit] › transition/transition.e2e-spec.ts:67:4 › Transition tests › with dedicated buttons (opposite of animated setting) › toggle with animation
Error: expect(received).toEqual(expected) // deep equality
- Expected - 3
+ Received + 4
Object {
"animated": false,
"animatedOnInit": false,
"classes": Array [
- "collapsing",
+ "collapse",
+ "show",
],
"hidden": false,
"removeFromDOM": true,
- "shown": false,
+ "shown": true,
"transition": "verticalCollapse",
- "transitioning": true,
+ "transitioning": false,
"visible": true,
}
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
101 |
102 | // transition started
> 103 | await expect.poll(() => po.getState()).toEqual(expectedState);
| ^
104 |
105 | // transition ended
106 | await expect.poll(() => po.getState()).not.toEqual(expectedState);
at /home/runner/work/AgnosUI/AgnosUI/e2e/transition/transition.e2e-spec.ts:103:5
|
Run npm run e2e:coverage -- --preview --shard=6/10:
e2e/transition/transition.e2e-spec.ts#L103
1) [main:svelte:webkit] › transition/transition.e2e-spec.ts:67:4 › Transition tests › with dedicated buttons (opposite of animated setting) › toggle with animation
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 3
+ Received + 4
Object {
"animated": false,
"animatedOnInit": false,
"classes": Array [
- "collapsing",
+ "collapse",
+ "show",
],
"hidden": false,
"removeFromDOM": true,
- "shown": false,
+ "shown": true,
"transition": "verticalCollapse",
- "transitioning": true,
+ "transitioning": false,
"visible": true,
}
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
101 |
102 | // transition started
> 103 | await expect.poll(() => po.getState()).toEqual(expectedState);
| ^
104 |
105 | // transition ended
106 | await expect.poll(() => po.getState()).not.toEqual(expectedState);
at /home/runner/work/AgnosUI/AgnosUI/e2e/transition/transition.e2e-spec.ts:103:5
|
Run npm run e2e:coverage -- --preview --shard=6/10
The operation was canceled.
|
Run npm run e2e:coverage -- --preview --shard=6/10
1 failed
[main:svelte:webkit] › transition/transition.e2e-spec.ts:67:4 › Transition tests › with dedicated buttons (opposite of animated setting) › toggle with animation
2 skipped
95 passed (2.5m)
|
Loading