Skip to content

Better types for modal actions #51

Better types for modal actions

Better types for modal actions #51

Triggered via push August 1, 2023 13:44
Status Success
Total duration 16m 58s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci.yml

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

Annotations

5 errors and 10 notices
[angular:webkit] › select/select.e2e-spec.ts:55:2 › Select tests › Close actions: e2e/select/select.e2e-spec.ts#L68
1) [angular: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] › 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] › samplesMarkup.e2e-spec.ts:11:7 › Samples markup consistency check › alert/generic should have a consistent markup: e2e/samplesMarkup.e2e-spec.ts#L15
1) [react:webkit] › samplesMarkup.e2e-spec.ts:11:7 › Samples markup consistency check › alert/generic should have a consistent markup Error: Snapshot comparison failed: <body> <div id="root" > <div class="container p-3" > <div class="alert alert-primary au-alert d-flex show w-100" role="alert" > <div class="alert-body" > "Simple primary alert" </div> <button aria-label="Close" class="btn-close ms-auto" type="button" /> </div> <div class="alert alert-secondary au-alert d-flex show w-100" role="alert" > <div class="alert-body" > "Simple secondary alert" </div> <button aria-label="Close" class="btn-close ms-auto" type="button" /> </div> <div class="alert alert-success au-alert d-flex show w-100" role="alert" > <div class="alert-body" > "Simple success alert" </div> <button aria-label="Close" class="btn-close ms-auto" type="button" /> </div> <div class="alert alert-danger au-alert d-flex show w-100" role="alert" > <div class="alert-body" > "Simple danger alert" </div> <button aria-label="Close" class="btn-close ms-auto" type="button" /> </div> <div class="alert alert-warning au-alert d-flex show w-100" role="alert" > <div class="alert-body" > "Simple warning alert" </div> <button aria-label="Close" class="btn-close ms-auto" type="button" /> </div> <div class="alert alert-info au-alert d-flex show w-100" role="alert" > <div class="alert-body" > "Simple info alert" </div> <button aria-label="Close" class="btn-close ms-auto" type="button" /> </div> <div class="alert alert-light au-alert d-flex show w-100" role="alert" > <div class="alert-body" > "Simple light alert" </div> <button aria-label="Close" class="btn-close ms-auto" type="button" /> </div> <div class="alert alert-dark au-alert d-flex show w-100" role="alert" > <div class="alert-body" > "Simple dark alert" </div> <button aria-label="Close" class="btn-close ms-auto" type="button" /> </div> </div> </div> </body> Expected: /home/runner/work/AgnosUI/AgnosUI/test-results/samplesMarkup.e2e-spec.ts-Samples-markup-consi-224ce-k-alert-generic-should-have-a-consistent-markup-react-webkit/alert-generic-expected.html Received: /home/runner/work/AgnosUI/AgnosUI/test-results/samplesMarkup.e2e-spec.ts-Samples-markup-consi-224ce-k-alert-generic-should-have-a-consistent-markup-react-webkit/alert-generic-actual.html 13 | await page.goto(`#/${route}`); 14 | await page.waitForSelector('.fade', {state: 'detached'}); // wait for fade transitions to be finished > 15 | expect(await htmlSnapshot(page.locator('body'))).toMatchSnapshot(`${route}.html`); | ^ 16 | }); 17 | } 18 | }); at /home/runner/work/AgnosUI/AgnosUI/e2e/samplesMarkup.e2e-spec.ts:15:53
[react:webkit] › select/select.e2e-spec.ts:71:2 › Select tests › Config: e2e/select/select.e2e-spec.ts#L87
2) [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": "other value", + "text": "initial value", } 85 | expectedState.text = 'other value'; 86 | await selectConfigPO.locatorFilterTextInput.fill(expectedState.text); > 87 | expect(await selectPO.state()).toEqual(expectedState); | ^ 88 | 89 | expectedState.text = 'test'; 90 | await selectPO.locatorInput.fill(expectedState.text); at /home/runner/work/AgnosUI/AgnosUI/e2e/select/select.e2e-spec.ts:87:34
[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
1 skipped 40 passed (37.6s)
🎭 Playwright Run Summary
1 skipped 40 passed (1.1m)
🎭 Playwright Run Summary
1 flaky [angular:webkit] › select/select.e2e-spec.ts:55:2 › Select tests › Close actions ─────────────── 1 skipped 39 passed (1.2m)
🎭 Playwright Run Summary
1 skipped 39 passed (1.1m)
🎭 Playwright Run Summary
41 passed (57.6s)
🎭 Playwright Run Summary
1 skipped 40 passed (48.4s)
🎭 Playwright Run Summary
1 flaky [react:webkit] › pagination/pagination.e2e-spec.ts:46:2 › Pagination tests › Config features ─── 1 skipped 39 passed (1.1m)
🎭 Playwright Run Summary
1 skipped 39 passed (49.2s)
🎭 Playwright Run Summary
3 flaky [react:webkit] › samplesMarkup.e2e-spec.ts:11:7 › Samples markup consistency check › alert/generic should have a consistent markup [react:webkit] › select/select.e2e-spec.ts:71:2 › Select tests › Config ──────────────────────── [react:webkit] › transition/transition.e2e-spec.ts:138:3 › Transition tests › animation on init, with animation setting enabled 1 skipped 36 passed (1.1m)
🎭 Playwright Run Summary
1 skipped 39 passed (1.1m)