Skip to content

feat: e2e coverage (#22) #31

feat: e2e coverage (#22)

feat: e2e coverage (#22) #31

Triggered via push July 28, 2023 12:56
Status Success
Total duration 4m 58s
Artifacts

ci.yml

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

Annotations

5 errors and 10 notices
[svelte:webkit] › select/select.e2e-spec.ts:14:2 › Select tests › Basic states: e2e/select/select.e2e-spec.ts#L52
1) [svelte:webkit] › select/select.e2e-spec.ts:14:2 › Select tests › Basic states ──────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 2 + Received + 18 @@ -3,9 +3,25 @@ Array [ "Action 1", "x", ], ], - "isOpen": false, - "list": Array [], + "isOpen": true, + "list": Array [ + Object { + "hasCheckBox": true, + "isChecked": true, + "text": "Action 1", + }, + Object { + "hasCheckBox": true, + "isChecked": false, + "text": "Action 2", + }, + Object { + "hasCheckBox": true, + "isChecked": false, + "text": "Action 3", + }, + ], "text": "a", } 50 | list: [], 51 | }); > 52 | expect(await selectPO.state()).toEqual(expectedState); | ^ 53 | }); 54 | 55 | test(`Close actions`, async ({page}) => { at /home/runner/work/AgnosUI/AgnosUI/e2e/select/select.e2e-spec.ts:52:34
[react:webkit] › rating/rating.e2e-spec.ts:17:2 › Rating tests › Basic features: e2e/rating/rating.e2e-spec.ts#L49
1) [react:webkit] › rating/rating.e2e-spec.ts:17:2 › Rating tests › Basic features › click interactions Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 Object { - "hovered": 5, + "hovered": 0, "left": 0, "rating": 3, } 47 | stars: ['★', '★', '★', '★', '★', '☆', '☆', '☆', '☆', '☆'], 48 | }; > 49 | expect(await ratingDemoPO.defaultRatingDemoState()).toEqual({rating: 3, hovered: 5, left: 0}); | ^ 50 | expect(await ratingPO.state()).toEqual(expectedState); 51 | 52 | await star.click(); at /home/runner/work/AgnosUI/AgnosUI/e2e/rating/rating.e2e-spec.ts:49:56 at /home/runner/work/AgnosUI/AgnosUI/e2e/rating/rating.e2e-spec.ts:24:3
[react:webkit] › select/select.e2e-spec.ts:14:2 › Select tests › Basic states: e2e/select/select.e2e-spec.ts#L52
2) [react:webkit] › select/select.e2e-spec.ts:14:2 › Select tests › Basic states ───────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 2 + Received + 18 @@ -3,9 +3,25 @@ Array [ "Action 1", "x", ], ], - "isOpen": false, - "list": Array [], + "isOpen": true, + "list": Array [ + Object { + "hasCheckBox": true, + "isChecked": true, + "text": "Action 1", + }, + Object { + "hasCheckBox": true, + "isChecked": false, + "text": "Action 2", + }, + Object { + "hasCheckBox": true, + "isChecked": false, + "text": "Action 3", + }, + ], "text": "a", } 50 | list: [], 51 | }); > 52 | expect(await selectPO.state()).toEqual(expectedState); | ^ 53 | }); 54 | 55 | test(`Close actions`, async ({page}) => { at /home/runner/work/AgnosUI/AgnosUI/e2e/select/select.e2e-spec.ts:52:34
[react:webkit] › select/select.e2e-spec.ts:71:2 › Select tests › Config: e2e/select/select.e2e-spec.ts#L87
3) [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
[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
🎭 Playwright Run Summary
22 passed (23.8s)
🎭 Playwright Run Summary
22 passed (39.0s)
🎭 Playwright Run Summary
22 passed (49.0s)
🎭 Playwright Run Summary
1 flaky [svelte:webkit] › select/select.e2e-spec.ts:14:2 › Select tests › Basic states ───────────────── 19 passed (52.5s)
🎭 Playwright Run Summary
22 passed (52.3s)
🎭 Playwright Run Summary
3 flaky [react:webkit] › rating/rating.e2e-spec.ts:17:2 › Rating tests › Basic features ──────────────── [react:webkit] › select/select.e2e-spec.ts:14:2 › Select tests › Basic states ────────────────── [react:webkit] › select/select.e2e-spec.ts:71:2 › Select tests › Config ──────────────────────── 19 passed (1.1m)
🎭 Playwright Run Summary
1 flaky [angular:webkit] › select/select.e2e-spec.ts:55:2 › Select tests › Close actions ─────────────── 21 passed (1.0m)
🎭 Playwright Run Summary
22 passed (45.8s)
🎭 Playwright Run Summary
22 passed (51.9s)
🎭 Playwright Run Summary
21 passed (47.8s)