Publish e2e reports #1499
Annotations
4 errors, 8 warnings, and 2 notices
Run E2E tests:
tests/steps/navigateWithKeyboard.ts#L27
1) [chromium] › remote-mics-sing-a-song.spec.ts:30:5 › Remote mic should connect, be selectable and control the game › Check if the mics are reselected after they refresh › Use remote keyboard to navigate to play-song-button
Error: Timed out 7000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('play-song-button')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 7000ms
- waiting for getByTestId('play-song-button')
at steps/navigateWithKeyboard.ts:27
25 | export default async function navigateWithKeyboard(page: Page, targetTestId: string, remoteMic?: Page) {
26 | await test.step(`Use ${remoteMic ? 'remote ' : ''}keyboard to navigate to ${targetTestId}`, async () => {
> 27 | await expect(page.getByTestId(targetTestId)).toBeVisible();
| ^
28 | const navigableElements = await page.locator('[data-e2e-focused]:not([data-unfocusable])');
29 | const handles = await navigableElements.elementHandles();
30 |
at /home/runner/work/allkaraoke/allkaraoke/tests/steps/navigateWithKeyboard.ts:27:50
at navigateWithKeyboard (/home/runner/work/allkaraoke/allkaraoke/tests/steps/navigateWithKeyboard.ts:26:14)
at SongPreviewPagePO.navigateToPlayTheSongWithKeyboard (/home/runner/work/allkaraoke/allkaraoke/tests/PageObjects/SongPreviewPage.ts:43:31)
at /home/runner/work/allkaraoke/allkaraoke/tests/remote-mics-sing-a-song.spec.ts:111:33
at /home/runner/work/allkaraoke/allkaraoke/tests/remote-mics-sing-a-song.spec.ts:92:3
|
Run E2E tests:
tests/PageObjects/GamePage.ts#L75
2) [chromium] › sing-a-song.spec.ts:39:5 › Sing a song › When the song resumes, the players score values should be the same as before
Error: Timed out 7000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: getByTestId('player-1-score')
Expected string: "375000"
Received string: "1440680"
Call log:
- expect.toHaveAttribute with timeout 7000ms
- waiting for getByTestId('player-1-score')
- locator resolved to <span data-score="385643" class="ec-0 el0barv0" data-test="player-1-score">385 644</span>
- unexpected value "385643"
- locator resolved to <span data-score="385643" class="ec-0 el0barv0" data-test="player-1-score">385 644</span>
- unexpected value "385643"
- locator resolved to <span data-score="497561" class="ec-0 el0barv0" data-test="player-1-score">497 561</span>
- unexpected value "497561"
- locator resolved to <span data-score="497561" class="ec-0 el0barv0" data-test="player-1-score">497 561</span>
- unexpected value "497561"
- locator resolved to <span data-score="949044" class="ec-0 el0barv0" data-test="player-1-score">949 045</span>
- unexpected value "949044"
- locator resolved to <span data-score="1424186" class="ec-0 el0barv0" data-test="player-1-score">1 424 186</span>
- unexpected value "1424186"
- locator resolved to <span data-score="1440680" class="ec-0 el0barv0" data-test="player-1-score">1 440 680</span>
- unexpected value "1440680"
- locator resolved to <span data-win="false" data-score="1065680" data-test="player-1-score" class="ec-10pnj61 e1vy0af42">…</span>
- unexpected value "1065680"
- locator resolved to <span data-win="false" data-score="1065680" data-test="player-1-score" class="ec-10pnj61 e1vy0af42">…</span>
- unexpected value "1065680"
- locator resolved to <span data-win="false" data-score="1440680" data-test="player-1-score" class="ec-10pnj61 e1vy0af42">…</span>
- unexpected value "1440680"
- locator resolved to <span data-win="false" data-score="1440680" data-test="player-1-score" class="ec-10pnj61 e1vy0af42">…</span>
- unexpected value "1440680"
at PageObjects/GamePage.ts:75
73 |
74 | public async expectPlayerScoreValueToBe(playerNumber: number, expectedScore: string) {
> 75 | await expect(this.getPlayerScoreElement(playerNumber)).toHaveAttribute('data-score', expectedScore);
| ^
76 | }
77 |
78 | public get playersCoopScoreElement() {
at GamePagePO.expectPlayerScoreValueToBe (/home/runner/work/allkaraoke/allkaraoke/tests/PageObjects/GamePage.ts:75:60)
at /home/runner/work/allkaraoke/allkaraoke/tests/sing-a-song.spec.ts:178:26
at /home/runner/work/allkaraoke/allkaraoke/tests/sing-a-song.spec.ts:175:3
|
Run E2E tests:
tests/PageObjects/GamePage.ts#L75
1) [chromium] › sing-a-song.spec.ts:39:5 › Sing a song › When the song resumes, the players score values should be the same as before
Error: Timed out 7000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: getByTestId('player-1-score')
Expected string: "417190"
Received string: "1294996"
Call log:
- expect.toHaveAttribute with timeout 7000ms
- waiting for getByTestId('player-1-score')
- locator resolved to <span data-score="425198" class="ec-0 el0barv0" data-test="player-1-score">425 199</span>
- unexpected value "425198"
- locator resolved to <span data-score="425198" class="ec-0 el0barv0" data-test="player-1-score">425 199</span>
- unexpected value "425198"
- locator resolved to <span data-score="529714" class="ec-0 el0barv0" data-test="player-1-score">529 714</span>
- unexpected value "529714"
- locator resolved to <span data-score="529714" class="ec-0 el0barv0" data-test="player-1-score">529 714</span>
- unexpected value "529714"
- locator resolved to <span data-score="919996" class="ec-0 el0barv0" data-test="player-1-score">919 997</span>
- unexpected value "919996"
- locator resolved to <span data-score="1287057" class="ec-0 el0barv0" data-test="player-1-score">1 287 058</span>
- unexpected value "1287057"
- locator resolved to <span data-score="1294996" class="ec-0 el0barv0" data-test="player-1-score">1 294 997</span>
- unexpected value "1294996"
- locator resolved to <span data-win="false" data-score="919996" data-test="player-1-score" class="ec-10pnj61 e1vy0af42">…</span>
- unexpected value "919996"
- locator resolved to <span data-win="false" data-score="919996" data-test="player-1-score" class="ec-10pnj61 e1vy0af42">…</span>
- unexpected value "919996"
- locator resolved to <span data-win="false" data-score="1294996" data-test="player-1-score" class="ec-10pnj61 e1vy0af42">…</span>
- unexpected value "1294996"
- locator resolved to <span data-win="false" data-score="1294996" data-test="player-1-score" class="ec-10pnj61 e1vy0af42">…</span>
- unexpected value "1294996"
at PageObjects/GamePage.ts:75
73 |
74 | public async expectPlayerScoreValueToBe(playerNumber: number, expectedScore: string) {
> 75 | await expect(this.getPlayerScoreElement(playerNumber)).toHaveAttribute('data-score', expectedScore);
| ^
76 | }
77 |
78 | public get playersCoopScoreElement() {
at GamePagePO.expectPlayerScoreValueToBe (/home/runner/work/allkaraoke/allkaraoke/tests/PageObjects/GamePage.ts:75:60)
at /home/runner/work/allkaraoke/allkaraoke/tests/sing-a-song.spec.ts:178:26
at /home/runner/work/allkaraoke/allkaraoke/tests/sing-a-song.spec.ts:175:3
|
Run E2E tests
Final attempt failed. Child_process exited with error code 1
|
Run E2E tests:
[chromium] › selection-playlist.spec.ts#L1
[chromium] › selection-playlist.spec.ts took 1.5m
|
Run E2E tests:
[chromium] › remote-song-list.spec.ts#L1
[chromium] › remote-song-list.spec.ts took 1.3m
|
Run E2E tests:
[chromium] › sing-a-song.spec.ts#L1
[chromium] › sing-a-song.spec.ts took 38.4s
|
Run E2E tests:
[chromium] › remote-mics-sing-a-song.spec.ts#L1
[chromium] › remote-mics-sing-a-song.spec.ts took 24.4s
|
Run E2E tests:
[chromium] › source-selection.spec.ts#L1
[chromium] › source-selection.spec.ts took 20.5s
|
Run E2E tests
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Run E2E tests:
[chromium] › sing-a-song.spec.ts#L1
[chromium] › sing-a-song.spec.ts took 38.7s
|
Run E2E tests
No files were found with the provided path: playwright-report. No artifacts will be uploaded.
|
Run E2E tests
2 failed
[chromium] › remote-mics-sing-a-song.spec.ts:30:5 › Remote mic should connect, be selectable and control the game
[chromium] › sing-a-song.spec.ts:39:5 › Sing a song ────────────────────────────────────────────
2 skipped
24 passed (5.9m)
|
Run E2E tests
1 failed
[chromium] › sing-a-song.spec.ts:39:5 › Sing a song ────────────────────────────────────────────
|
Loading