Skip to content

refactor: extract headless packages #326

refactor: extract headless packages

refactor: extract headless packages #326

Triggered via pull request September 13, 2023 16:08
Status Failure
Total duration 5m 34s
Artifacts

pr.yml

on: pull_request
Matrix: e2e-tests / e2e-tests
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 10 notices
build / build
Process completed with exit code 1.
[react:webkit] › pagination/pagination.e2e-spec.ts:76:2 › Pagination tests › Default features: e2e/pagination/pagination.e2e-spec.ts#L89
1) [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": 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
[angular:webkit] › pagination/pagination.e2e-spec.ts:76:2 › Pagination tests › Default features: e2e/pagination/pagination.e2e-spec.ts#L98
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": 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
1) [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
[react:webkit] › samplesMarkup.e2e-spec.ts:27:7 › Samples markup consistency check › rating/customtemplate should have a consistent markup: e2e/samplesMarkup.e2e-spec.ts#L36
2) [react:webkit] › samplesMarkup.e2e-spec.ts:27:7 › Samples markup consistency check › rating/customtemplate should have a consistent markup Error: Snapshot comparison failed: <body> <div id="root" > <div class="container p-3" > <div aria-label="custom rating" aria-valuemax="10" aria-valuemin="0" aria-valuenow="7" aria-valuetext="7 out of 10" class="au-rating d-inline-flex rating-custom" role="slider" tabindex="0" > <span class="visually-hidden" > "(*)" </span> <span class="au-rating-star" style="cursor: pointer;" > <span class="bad filled star" > "★" </span> </span> <span class="visually-hidden" > "(*)" </span> <span class="au-rating-star" style="cursor: pointer;" > <span class="bad filled star" > "★" </span> </span> <span class="visually-hidden" > "(*)" </span> <span class="au-rating-star" style="cursor: pointer;" > <span class="bad filled star" > "★" </span> </span> <span class="visually-hidden" > "(*)" </span> <span class="au-rating-star" style="cursor: pointer;" > <span class="filled star" > "★" </span> </span> <span class="visually-hidden" > "(*)" </span> <span class="au-rating-star" style="cursor: pointer;" > <span class="filled star" > "★" </span> </span> <span class="visually-hidden" > "(*)" </span> <span class="au-rating-star" style="cursor: pointer;" > <span class="filled star" > "★" </span> </span> <span class="visually-hidden" > "(*)" </span> <span class="au-rating-star" style="cursor: pointer;" > <span class="filled star" > "★" </span> </span> <span class="visually-hidden" > "( )" </span> <span class="au-rating-star" style="cursor: pointer;" > <span class="star" > "★" </span> </span> <span class="visually-hidden" > "( )" </span> <span class="au-rating-star" style="cursor: pointer;" > <span class="star" > "★" </span> </span> <span class="visually-hidden" > "( )" </span> <span class="au-rating-star" style="cursor: pointer;" > <span class="star" > "★" </span> </span> </div> </div> </div/> </body> Expected: /home/runner/work/AgnosUI/AgnosUI/e2e/samplesMarkup.e2e-spec.ts-snapshots/rating-customtemplate.html Received: /home/runner/work/AgnosUI/AgnosUI/test-results/samplesMarkup.e2e-spec.ts-Samples-markup-consi-df692--customtemplate-should-have-a-consistent-markup-react-webkit/rating-customtemplate-actual.html 34 | await routesExt
[react:webkit] › transition/transition.e2e-spec.ts:138:3 › Transition tests › animation on init: e2e/transition/transition.e2e-spec.ts#L160
3) [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
🎭 Playwright Run Summary
45 passed (46.1s)
🎭 Playwright Run Summary
45 passed (53.2s)
🎭 Playwright Run Summary
46 passed (58.2s)
🎭 Playwright Run Summary
1 flaky [react:webkit] › pagination/pagination.e2e-spec.ts:76:2 › Pagination tests › Default features ── 44 passed (1.2m)
🎭 Playwright Run Summary
46 passed (1.1m)
🎭 Playwright Run Summary
1 flaky [angular:webkit] › pagination/pagination.e2e-spec.ts:76:2 › Pagination tests › Default features 1 skipped 44 passed (1.3m)
🎭 Playwright Run Summary
1 skipped 44 passed (1.1m)
🎭 Playwright Run Summary
1 skipped 45 passed (1.2m)
🎭 Playwright Run Summary
3 flaky [react:webkit] › rating/rating.e2e-spec.ts:170:2 › Rating tests › Config ─────────────────────── [react:webkit] › samplesMarkup.e2e-spec.ts:27:7 › Samples markup consistency check › rating/customtemplate should have a consistent markup [react:webkit] › transition/transition.e2e-spec.ts:138:3 › Transition tests › animation on init, with animation setting enabled 42 passed (1.2m)
🎭 Playwright Run Summary
44 passed (1.4m)