Skip to content

HTML snapshot test for all samples for consistency in the markup #33

HTML snapshot test for all samples for consistency in the markup

HTML snapshot test for all samples for consistency in the markup #33

Triggered via pull request July 28, 2023 12:57
Status Success
Total duration 8m 18s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci.yml

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

Annotations

4 errors and 10 notices
[react:webkit] › pagination/pagination.e2e-spec.ts:46:2 › Pagination tests › Config features: e2e/pagination/pagination.e2e-spec.ts#L61
1) [react:webkit] › pagination/pagination.e2e-spec.ts:46:2 › Pagination tests › Config features ── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 @@ -1,7 +1,7 @@ Object { - "disabled": null, + "disabled": "true", "pages": Array [ "1(current)", ], "rootClasses": Array [ "au-pagination", 59 | await paginationDemoPO.locatorBtnConfigDisabled('false').click(); 60 | expectedState = {...expectedState, disabled: null}; > 61 | expect(await paginationState(paginationPO)).toEqual(expectedState); | ^ 62 | await paginationDemoPO.locatorBtnConfigCollectionSize('40').click(); 63 | expectedState = {...expectedState, pages: ['1(current)', '2', '3', '4']}; 64 | expect(await paginationState(paginationPO)).toEqual(expectedState); at /home/runner/work/AgnosUI/AgnosUI/e2e/pagination/pagination.e2e-spec.ts:61:47
[react:webkit] › rating/rating.e2e-spec.ts:17:2 › Rating tests › Basic features: e2e/rating/rating.e2e-spec.ts#L69
2) [react:webkit] › rating/rating.e2e-spec.ts:17:2 › Rating tests › Basic features › click interactions Error: expect(received).toEqual(expected) // deep equality - Expected - 7 + Received + 7 @@ -38,19 +38,19 @@ "rootClasses": Array [ "d-inline-flex", "au-rating", ], "stars": Array [ - "☆", - "☆", - "☆", - "☆", - "☆", + "★", + "★", + "★", + "★", + "★", "☆", "☆", "☆", "☆", "☆", ], - "text": "0 out of 10", - "value": "0", + "text": "5 out of 10", + "value": "5", } 67 | stars: ['☆', '☆', '☆', '☆', '☆', '☆', '☆', '☆', '☆', '☆'], 68 | }; > 69 | expect(await ratingPO.state()).toEqual(expectedState); | ^ 70 | expect(await ratingDemoPO.defaultRatingDemoState()).toEqual({rating: 0, hovered: 5, left: 5}); 71 | }); 72 | await test.step('keyboard interactions', async () => { at /home/runner/work/AgnosUI/AgnosUI/e2e/rating/rating.e2e-spec.ts:69:35 at /home/runner/work/AgnosUI/AgnosUI/e2e/rating/rating.e2e-spec.ts:24:3
[react:webkit] › rating/rating.e2e-spec.ts:170:2 › Rating tests › Config: e2e/rating/rating.e2e-spec.ts#L207
3) [react:webkit] › rating/rating.e2e-spec.ts:170:2 › Rating tests › Config ────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 20 + Received + 20 @@ -68,29 +68,29 @@ "rootClasses": Array [ "d-inline-flex", "au-rating", ], "stars": Array [ - "*", - "*", - "*", - "*", - "*", - "*", - "*", - "*", - "*", - "*", - "*", - "*", - "*", - "*", - "*", - "*", - "*", - "*", - "*", - "*", + "★", + "★", + "★", + "☆", + "☆", + "☆", + "☆", + "☆", + "☆", + "☆", + "☆", + "☆", + "☆", + "☆", + "☆", + "☆", + "☆", + "☆", + "☆", + "☆", ], "text": "3 out of 20", "value": "3", } 205 | stars: createArray(20, '*'), 206 | }; > 207 | expect(await ratingPO.state()).toEqual(expectedState); | ^ 208 | 209 | await ratingDemoPO.locatorBtnConfigSlotStar('custom').click(); 210 | expectedState = { at /home/runner/work/AgnosUI/AgnosUI/e2e/rating/rating.e2e-spec.ts:207:34
[react:webkit] › select/select.e2e-spec.ts:71:2 › Select tests › Config: e2e/select/select.e2e-spec.ts#L99
1) [react:webkit] › select/select.e2e-spec.ts:71:2 › Select tests › Config ─────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 Object { "badges": Array [], "isOpen": false, "list": Array [], - "text": "next value", + "text": "test", } 97 | expectedState.text = 'next value'; 98 | await selectConfigPO.locatorResetFilterTextButton.click(); > 99 | expect(await selectPO.state()).toEqual(expectedState); | ^ 100 | 101 | expectedState.text = 'sync again'; 102 | await selectPO.locatorInput.fill(expectedState.text); at /home/runner/work/AgnosUI/AgnosUI/e2e/select/select.e2e-spec.ts:99:34
🎭 Playwright Run Summary
1 skipped 40 passed (34.7s)
🎭 Playwright Run Summary
1 skipped 39 passed (49.1s)
🎭 Playwright Run Summary
3 flaky [react:webkit] › pagination/pagination.e2e-spec.ts:46:2 › Pagination tests › Config features ─── [react:webkit] › rating/rating.e2e-spec.ts:17:2 › Rating tests › Basic features ──────────────── [react:webkit] › rating/rating.e2e-spec.ts:170:2 › Rating tests › Config ─────────────────────── 1 skipped 37 passed (1.2m)
🎭 Playwright Run Summary
1 skipped 40 passed (53.9s)
🎭 Playwright Run Summary
41 passed (1.0m)
🎭 Playwright Run Summary
1 skipped 39 passed (1.0m)
🎭 Playwright Run Summary
1 skipped 40 passed (52.6s)
🎭 Playwright Run Summary
1 skipped 39 passed (1.2m)
🎭 Playwright Run Summary
1 skipped 40 passed (1.3m)
🎭 Playwright Run Summary
1 flaky [react:webkit] › select/select.e2e-spec.ts:71:2 › Select tests › Config ──────────────────────── 1 skipped 38 passed (1.2m)