fix(demo): react custom demo was not consistent with angular and svelte #93
ci.yml
on: push
Matrix: e2e-tests / e2e-tests
build
/
build
4m 31s
Annotations
6 errors and 10 notices
[react:webkit] › select/select.e2e-spec.ts:55:2 › Select tests › Close actions:
e2e/select/select.e2e-spec.ts#L68
1) [react:webkit] › select/select.e2e-spec.ts:55:2 › Select tests › Close actions ────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: false
Received: true
66 |
67 | await page.locator('body').click({position: {x: 0, y: 0}});
> 68 | expect((await selectPO.state()).isOpen).toEqual(false);
| ^
69 | });
70 |
71 | test(`Config`, async ({page}) => {
at /home/runner/work/AgnosUI/AgnosUI/e2e/select/select.e2e-spec.ts:68:43
|
[react:webkit] › transition/transition.e2e-spec.ts:138:3 › Transition tests › animation on init:
e2e/transition/transition.e2e-spec.ts#L160
2) [react:webkit] › transition/transition.e2e-spec.ts:138:3 › Transition tests › animation on init, with animation setting enabled
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
@@ -6,8 +6,8 @@
],
"hidden": false,
"removeFromDOM": true,
"shown": false,
"transition": "verticalCollapse",
- "transitioning": true,
+ "transitioning": false,
"visible": true,
}
158 | expectedState.shown = false;
159 | expectedState.classes = ['collapsing'];
> 160 | expect(await po.getState()).toEqual(expectedState);
| ^
161 |
162 | await expect.poll(() => po.getState()).not.toEqual(expectedState);
163 | expectedState.transitioning = false;
at /home/runner/work/AgnosUI/AgnosUI/e2e/transition/transition.e2e-spec.ts:160:32
|
[react:webkit] › focustrack/focustrack.e2e-spec.ts:13:2 › Select tests › Basic navigation:
e2e/focustrack/focustrack.e2e-spec.ts#L22
1) [react:webkit] › focustrack/focustrack.e2e-spec.ts:13:2 › Select tests › Basic navigation ─────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 5
+ Received + 1
Object {
- "activeElements": Array [
- Object {
- "tagName": "body",
- },
- ],
+ "activeElements": Array [],
"isInContainer": false,
}
20 | };
21 |
> 22 | expect(await focustrackPO.getState()).toEqual(expectedState);
| ^
23 |
24 | await focustrackPO.locatorFocusableInput.click();
25 |
at /home/runner/work/AgnosUI/AgnosUI/e2e/focustrack/focustrack.e2e-spec.ts:22:41
|
[react:webkit] › pagination/pagination.e2e-spec.ts:76:2 › Pagination tests › Default features:
e2e/pagination/pagination.e2e-spec.ts#L98
2) [react:webkit] › pagination/pagination.e2e-spec.ts:76:2 › Pagination tests › Default features ─
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Object {
- "page": 6,
+ "page": 1,
}
96 | });
97 | await paginationWithBoundariesPO.locatorLastButton.click();
> 98 | expect(await paginationDemoPO.defaultPaginationDemoState()).toEqual({page: 6});
| ^
99 | expect(await paginationState(paginationWithBoundariesPO)).toEqual({
100 | ...initState,
101 | isFirstDisabled: false,
at /home/runner/work/AgnosUI/AgnosUI/e2e/pagination/pagination.e2e-spec.ts:98:63
|
[react:webkit] › rating/rating.e2e-spec.ts:170:2 › Rating tests › Config:
e2e/rating/rating.e2e-spec.ts#L200
3) [react:webkit] › rating/rating.e2e-spec.ts:170:2 › Rating tests › Config ──────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 42
+ Received + 2
@@ -28,69 +28,29 @@
"au-rating-star",
],
Array [
"au-rating-star",
],
- Array [
- "au-rating-star",
- ],
- Array [
- "au-rating-star",
- ],
- Array [
- "au-rating-star",
- ],
- Array [
- "au-rating-star",
- ],
- Array [
- "au-rating-star",
- ],
- Array [
- "au-rating-star",
- ],
- Array [
- "au-rating-star",
- ],
- Array [
- "au-rating-star",
],
- Array [
- "au-rating-star",
- ],
- Array [
- "au-rating-star",
- ],
- ],
"disabled": "true",
- "max": "20",
+ "max": "10",
"min": "0",
"readonly": null,
"rootClasses": Array [
"d-inline-flex",
"au-rating",
],
"stars": Array [
"★",
"★",
"★",
- "☆",
"☆",
"☆",
"☆",
"☆",
"☆",
"☆",
"☆",
- "☆",
- "☆",
- "☆",
- "☆",
- "☆",
- "☆",
- "☆",
- "☆",
- "☆",
],
- "text": "3 out of 20",
+ "text": "3 out of 10",
"value": "3",
}
198 | classes: createArray(20, ['au-rating-star']),
199 | };
> 200 | expect(await ratingPO.state()).toEqual(expectedState);
| ^
201 |
202 | await ratingDemoPO.locatorBtnConfigSlotStar("'*'").click();
203 | expectedState = {
at /home/runner/work/AgnosUI/AgnosUI/e2e/rating/rating.e2e-spec.ts:200:34
|
[angular:webkit] › pagination/pagination.e2e-spec.ts:76:2 › Pagination tests › Default features:
e2e/pagination/pagination.e2e-spec.ts#L89
1) [angular:webkit] › pagination/pagination.e2e-spec.ts:76:2 › Pagination tests › Default features
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Object {
- "page": 1,
+ "page": 4,
}
87 | const paginationWithBoundariesPO = new PaginationPO(page, 2);
88 | await paginationWithBoundariesPO.locatorFirstButton.click();
> 89 | expect(await paginationDemoPO.defaultPaginationDemoState()).toEqual({page: 1});
| ^
90 | expect(await paginationState(paginationWithBoundariesPO)).toEqual({
91 | ...initState,
92 | isFirstDisabled: true,
at /home/runner/work/AgnosUI/AgnosUI/e2e/pagination/pagination.e2e-spec.ts:89:63
|
🎭 Playwright Run Summary
42 passed (50.6s)
|
🎭 Playwright Run Summary
43 passed (48.4s)
|
🎭 Playwright Run Summary
42 passed (1.0m)
|
🎭 Playwright Run Summary
43 passed (59.0s)
|
🎭 Playwright Run Summary
1 skipped
42 passed (57.8s)
|
🎭 Playwright Run Summary
42 passed (1.4m)
|
🎭 Playwright Run Summary
2 flaky
[react:webkit] › select/select.e2e-spec.ts:55:2 › Select tests › Close actions ─────────────────
[react:webkit] › transition/transition.e2e-spec.ts:138:3 › Transition tests › animation on init, with animation setting enabled
40 passed (1.4m)
|
🎭 Playwright Run Summary
1 skipped
42 passed (1.2m)
|
🎭 Playwright Run Summary
3 flaky
[react:webkit] › focustrack/focustrack.e2e-spec.ts:13:2 › Select tests › Basic navigation ──────
[react:webkit] › pagination/pagination.e2e-spec.ts:76:2 › Pagination tests › Default features ──
[react:webkit] › rating/rating.e2e-spec.ts:170:2 › Rating tests › Config ───────────────────────
40 passed (1.5m)
|
🎭 Playwright Run Summary
1 flaky
[angular:webkit] › pagination/pagination.e2e-spec.ts:76:2 › Pagination tests › Default features
1 skipped
41 passed (1.5m)
|