Skip to content

Merge branch 'main' of https://github.com/PzYon/engraved into scrap-t… #1652

Merge branch 'main' of https://github.com/PzYon/engraved into scrap-t…

Merge branch 'main' of https://github.com/PzYon/engraved into scrap-t… #1652

Triggered via push July 9, 2024 11:08
Status Failure
Total duration 2m 5s
Artifacts 1

api.yml

on: push
Deploy API (Windows)
0s
Deploy API (Windows)
Deploy API (Linux)
0s
Deploy API (Linux)
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 notice
[Google Chrome] › quickScraps.spec.ts:14:5 › Quick add: tests/src/poms/entriesPage.ts#L11
1) [Google Chrome] › quickScraps.spec.ts:14:5 › Quick add ──────────────────────────────────────── Error: expect.toBeVisible: Error: strict mode violation: getByTestId('entries-list-item-0').getByText('This is my content...') resolved to 2 elements: 1) <p>This is my content...</p> aka locator('p').filter({ hasText: 'This is my content...' }) 2) <li>This is my content...</li> aka getByRole('listitem') Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByTestId('entries-list-item-0').getByText('This is my content...') at ../src/poms/entriesPage.ts:11 9 | await expect( 10 | this.page.getByTestId("entries-list-item-" + index).getByText(content), > 11 | ).toBeVisible(); | ^ 12 | } 13 | } 14 | at EntriesPage.expectItem (/home/runner/work/engraved/engraved/tests/src/poms/entriesPage.ts:11:7) at /home/runner/work/engraved/engraved/tests/tests/quickScraps.spec.ts:26:3
[Google Chrome] › quickScraps.spec.ts:14:5 › Quick add: tests/src/poms/entriesPage.ts#L11
1) [Google Chrome] › quickScraps.spec.ts:14:5 › Quick add ──────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect.toBeVisible: Error: strict mode violation: getByTestId('entries-list-item-0').getByText('This is my content...') resolved to 2 elements: 1) <p>This is my content...</p> aka locator('p').filter({ hasText: 'This is my content...' }) 2) <li>This is my content...</li> aka getByRole('listitem') Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByTestId('entries-list-item-0').getByText('This is my content...') at ../src/poms/entriesPage.ts:11 9 | await expect( 10 | this.page.getByTestId("entries-list-item-" + index).getByText(content), > 11 | ).toBeVisible(); | ^ 12 | } 13 | } 14 | at EntriesPage.expectItem (/home/runner/work/engraved/engraved/tests/src/poms/entriesPage.ts:11:7) at /home/runner/work/engraved/engraved/tests/tests/quickScraps.spec.ts:26:3
[Google Chrome] › quickScraps.spec.ts:14:5 › Quick add: tests/src/poms/entriesPage.ts#L11
1) [Google Chrome] › quickScraps.spec.ts:14:5 › Quick add ──────────────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect.toBeVisible: Error: strict mode violation: getByTestId('entries-list-item-0').getByText('This is my content...') resolved to 2 elements: 1) <p>This is my content...</p> aka locator('p').filter({ hasText: 'This is my content...' }) 2) <li>This is my content...</li> aka getByRole('listitem') Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByTestId('entries-list-item-0').getByText('This is my content...') at ../src/poms/entriesPage.ts:11 9 | await expect( 10 | this.page.getByTestId("entries-list-item-" + index).getByText(content), > 11 | ).toBeVisible(); | ^ 12 | } 13 | } 14 | at EntriesPage.expectItem (/home/runner/work/engraved/engraved/tests/src/poms/entriesPage.ts:11:7) at /home/runner/work/engraved/engraved/tests/tests/quickScraps.spec.ts:26:3
[Google Chrome] › scrapsList.spec.ts:79:5 › modify list items in multiple tabs: tests/tests/scrapsList.spec.ts#L113
2) [Google Chrome] › scrapsList.spec.ts:79:5 › modify list items in multiple tabs, handle updates accordingly Error: expect.toBeVisible: Error: strict mode violation: getByTestId('scrap-668d1aa69237cc49d4bdc1e9').locator('li').filter({ hasText: 'My Third Item' }) resolved to 2 elements: 1) <li class="css-1fwnocy" data-testid="item-2:0">…</li> aka getByTestId('item-2:0') 2) <li>My Third Item</li> aka getByTestId('item-2:0').getByRole('listitem') Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByTestId('scrap-668d1aa69237cc49d4bdc1e9').locator('li').filter({ hasText: 'My Third Item' }) 111 | await expect(scrapListTab1.getListItemByText(thirdItemText)).toBeHidden(); 112 | await triggerFocusEvent(pageTab1); > 113 | await expect(scrapListTab1.getListItemByText(thirdItemText)).toBeVisible(); | ^ 114 | 115 | // tab1: add new item (without saving - i.e. still in edit mode) 116 | await scrapListTab1.dblClickToEdit(); at /home/runner/work/engraved/engraved/tests/tests/scrapsList.spec.ts:113:64
[Google Chrome] › scrapsList.spec.ts:79:5 › modify list items in multiple tabs: tests/tests/scrapsList.spec.ts#L113
2) [Google Chrome] › scrapsList.spec.ts:79:5 › modify list items in multiple tabs, handle updates accordingly Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect.toBeVisible: Error: strict mode violation: getByTestId('scrap-668d1aa99237cc49d4bdc1ed').locator('li').filter({ hasText: 'My Third Item' }) resolved to 2 elements: 1) <li class="css-1fwnocy" data-testid="item-2:0">…</li> aka getByTestId('item-2:0') 2) <li>My Third Item</li> aka getByTestId('item-2:0').getByRole('listitem') Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByTestId('scrap-668d1aa99237cc49d4bdc1ed').locator('li').filter({ hasText: 'My Third Item' }) 111 | await expect(scrapListTab1.getListItemByText(thirdItemText)).toBeHidden(); 112 | await triggerFocusEvent(pageTab1); > 113 | await expect(scrapListTab1.getListItemByText(thirdItemText)).toBeVisible(); | ^ 114 | 115 | // tab1: add new item (without saving - i.e. still in edit mode) 116 | await scrapListTab1.dblClickToEdit(); at /home/runner/work/engraved/engraved/tests/tests/scrapsList.spec.ts:113:64
[Google Chrome] › scrapsList.spec.ts:79:5 › modify list items in multiple tabs: tests/tests/scrapsList.spec.ts#L113
2) [Google Chrome] › scrapsList.spec.ts:79:5 › modify list items in multiple tabs, handle updates accordingly Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect.toBeVisible: Error: strict mode violation: getByTestId('scrap-668d1aac9237cc49d4bdc1f3').locator('li').filter({ hasText: 'My Third Item' }) resolved to 2 elements: 1) <li class="css-1fwnocy" data-testid="item-2:0">…</li> aka getByTestId('item-2:0') 2) <li>My Third Item</li> aka getByTestId('item-2:0').getByRole('listitem') Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByTestId('scrap-668d1aac9237cc49d4bdc1f3').locator('li').filter({ hasText: 'My Third Item' }) 111 | await expect(scrapListTab1.getListItemByText(thirdItemText)).toBeHidden(); 112 | await triggerFocusEvent(pageTab1); > 113 | await expect(scrapListTab1.getListItemByText(thirdItemText)).toBeVisible(); | ^ 114 | 115 | // tab1: add new item (without saving - i.e. still in edit mode) 116 | await scrapListTab1.dblClickToEdit(); at /home/runner/work/engraved/engraved/tests/tests/scrapsList.spec.ts:113:64
E2E Tests / Run Tests
Process completed with exit code 1.
🎭 Playwright Run Summary
2 failed [Google Chrome] › quickScraps.spec.ts:14:5 › Quick add ───────────────────────────────────────── [Google Chrome] › scrapsList.spec.ts:79:5 › modify list items in multiple tabs, handle updates accordingly 10 passed (1.4m)

Artifacts

Produced during runtime
Name Size
api Expired
19.4 MB