test #1484
ci-improvement.yml
on: pull_request
Matrix: e2e-tests-run
deploy-branch
5m 42s
deploy
0s
Annotations
7 errors, 32 warnings, and 6 notices
[firefox] › rate-unfinished-song.spec.ts:13:5 › window for rating unfinished song is visible and can be skipped by the user:
tests/rate-unfinished-song.spec.ts#L40
1) [firefox] › rate-unfinished-song.spec.ts:13:5 › window for rating unfinished song is visible and can be skipped by the user › After exiting an unfinished song, the user sees a window where they can provide a reason for stopping
Error: Timed out 7000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('rate-song-container')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 7000ms
- waiting for getByTestId('rate-song-container')
38 | await page.waitForTimeout(1000);
39 | await pages.gamePage.exitSong();
> 40 | await expect(pages.rateUnfinishedSongPage.rateSongContainer).toBeVisible();
| ^
41 | await expect(pages.rateUnfinishedSongPage.lyricsSyncIssueButton).toBeVisible();
42 | await expect(pages.rateUnfinishedSongPage.wrongLyricsIssueButton).toBeVisible();
43 | await expect(pages.rateUnfinishedSongPage.wrongVolumeIssueButton).toBeVisible();
at /home/runner/work/allkaraoke/allkaraoke/tests/rate-unfinished-song.spec.ts:40:66
at /home/runner/work/allkaraoke/allkaraoke/tests/rate-unfinished-song.spec.ts:37:3
|
[firefox] › rate-unfinished-song.spec.ts:54:5 › user can correctly select all of the shown reasons why the song was not completed:
tests/rate-unfinished-song.spec.ts#L81
2) [firefox] › rate-unfinished-song.spec.ts:54:5 › user can correctly select all of the shown reasons why the song was not completed › After exiting a song before its end, a container with the song`s rating appears
Error: Timed out 7000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('rate-song-container')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 7000ms
- waiting for getByTestId('rate-song-container')
79 | await page.waitForTimeout(1000);
80 | await pages.gamePage.exitSong();
> 81 | await expect(pages.rateUnfinishedSongPage.rateSongContainer).toBeVisible();
| ^
82 | });
83 |
84 | await test.step('User can select `lyrics synchronization issue` as a reason of unfinished song', async () => {
at /home/runner/work/allkaraoke/allkaraoke/tests/rate-unfinished-song.spec.ts:81:66
at /home/runner/work/allkaraoke/allkaraoke/tests/rate-unfinished-song.spec.ts:78:3
|
[chromium] › remote-mics-sing-a-song.spec.ts:30:5 › Remote mic should connect:
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
|
[chromium] › remote-song-list.spec.ts:237:5 › Selecting a song using the `select` button on the remoteMic:
tests/remote-song-list.spec.ts#L1
2) [chromium] › remote-song-list.spec.ts:237:5 › Selecting a song using the `select` button on the remoteMic, when selected languages on desktop and remoteMic apps are the same - works
Expected to fail, but passed.
|
[chromium] › sing-a-song.spec.ts:39:5 › Sing a song:
tests/sing-a-song.spec.ts#L142
3) [chromium] › sing-a-song.spec.ts:39:5 › Sing a song › Skip to High Scores - check names visibility and update one of them
Error: Timed out 7000ms waiting for expect(locator).toBeVisible()
Locator: locator('[data-test="input-edit-highscore"][data-original-name="E2E Player 2"]')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 7000ms
- waiting for locator('[data-test="input-edit-highscore"][data-original-name="E2E Player 2"]')
140 | await pages.postGameResultsPage.goToHighScoresStep();
141 | await expect(pages.postGameHighScoresPage.getPlayerNameInput(player1.name)).toBeVisible();
> 142 | await expect(pages.postGameHighScoresPage.getPlayerNameInput(player2.name)).toBeVisible();
| ^
143 | await pages.postGameHighScoresPage.navigateAndUpdateHighestScorePlayerNameByKeyboard(updatedName);
144 | });
145 |
at /home/runner/work/allkaraoke/allkaraoke/tests/sing-a-song.spec.ts:142:81
at /home/runner/work/allkaraoke/allkaraoke/tests/sing-a-song.spec.ts:138:3
|
[chromium] › sing-a-song.spec.ts:39:5 › Sing a song:
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: "375000"
Received string: "1172963"
Call log:
- expect.toHaveAttribute with timeout 7000ms
- waiting for getByTestId('player-1-score')
- locator resolved to <span data-score="380625" class="ec-0 el0barv0" data-test="player-1-score">380 626</span>
- unexpected value "380625"
- locator resolved to <span data-score="380625" class="ec-0 el0barv0" data-test="player-1-score">380 626</span>
- unexpected value "380625"
- locator resolved to <span data-score="498979" class="ec-0 el0barv0" data-test="player-1-score">498 980</span>
- unexpected value "498979"
- locator resolved to <span data-score="536215" class="ec-0 el0barv0" data-test="player-1-score">536 216</span>
- unexpected value "536215"
- locator resolved to <span data-score="922963" class="ec-0 el0barv0" data-test="player-1-score">922 963</span>
- unexpected value "922963"
- locator resolved to <span data-score="1154552" class="ec-0 el0barv0" data-test="player-1-score">1 154 553</span>
- unexpected value "1154552"
- locator resolved to <span data-score="1172963" class="ec-0 el0barv0" data-test="player-1-score">1 172 963</span>
- unexpected value "1172963"
- locator resolved to <span data-win="false" data-score="922963" data-test="player-1-score" class="ec-10pnj61 e1vy0af42">…</span>
- unexpected value "922963"
- locator resolved to <span data-win="false" data-score="922963" data-test="player-1-score" class="ec-10pnj61 e1vy0af42">…</span>
- unexpected value "922963"
- locator resolved to <span data-win="false" data-score="1172963" data-test="player-1-score" class="ec-10pnj61 e1vy0af42">…</span>
- unexpected value "1172963"
- locator resolved to <span data-win="false" data-score="1172963" data-test="player-1-score" class="ec-10pnj61 e1vy0af42">…</span>
- unexpected value "1172963"
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
|
e2e-tests-run (chromium, 2, 2)
Final attempt failed. Child_process exited with error code 1
|
quick-checks:
peerJSServer.js#L12
'peerServer' is assigned a value but never used
|
quick-checks:
scripts/analyzeIndex.ts#L18
'Data' is defined but never used
|
quick-checks:
scripts/processSongs.ts#L64
'fixAccentCharacters' is defined but never used
|
quick-checks:
scripts/processSongs.ts#L81
'appendBandOrigin' is defined but never used
|
quick-checks:
scripts/processSongs.ts#L96
'fillMissingRealBpm' is defined but never used
|
quick-checks:
scripts/processSongs.ts#L112
'fillSongYear' is defined but never used
|
quick-checks:
src/App.tsx#L40
'mobilePhoneMode' is assigned a value but never used
|
quick-checks:
src/modules/GameEngine/Drawing/CanvasDrawing.ts#L164
'h' is assigned a value but never used
|
quick-checks:
src/modules/GameEngine/Drawing/CanvasDrawing.ts#L255
'h' is assigned a value but never used
|
quick-checks:
src/modules/GameEngine/Drawing/Elements/debris.ts#L19
'triangle' is defined but never used
|
Slow Test:
[firefox] › co-op-mode.spec.ts#L1
[firefox] › co-op-mode.spec.ts took 17.8s
|
Slow Test:
[firefox] › convert-and-sing-a-song.spec.ts#L1
[firefox] › convert-and-sing-a-song.spec.ts took 16.0s
|
e2e-tests-run (firefox, 1, 2)
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Slow Test:
[chromium] › duet-song.spec.ts#L1
[chromium] › duet-song.spec.ts took 30.2s
|
Slow Test:
[chromium] › rate-unfinished-song.spec.ts#L1
[chromium] › rate-unfinished-song.spec.ts took 26.6s
|
Slow Test:
[chromium] › convert-and-sing-a-song.spec.ts#L1
[chromium] › convert-and-sing-a-song.spec.ts took 20.6s
|
Slow Test:
[chromium] › mobile-phone-mode.spec.ts#L1
[chromium] › mobile-phone-mode.spec.ts took 19.9s
|
Slow Test:
[chromium] › co-op-mode.spec.ts#L1
[chromium] › co-op-mode.spec.ts took 17.8s
|
Slow Test:
[firefox] › selection-playlist.spec.ts#L1
[firefox] › selection-playlist.spec.ts took 1.3m
|
Slow Test:
[firefox] › remote-song-list.spec.ts#L1
[firefox] › remote-song-list.spec.ts took 1.2m
|
Slow Test:
[firefox] › sing-a-song.spec.ts#L1
[firefox] › sing-a-song.spec.ts took 28.7s
|
Slow Test:
[firefox] › source-selection.spec.ts#L1
[firefox] › source-selection.spec.ts took 25.3s
|
Slow Test:
[firefox] › remote-mics-settings.spec.ts#L1
[firefox] › remote-mics-settings.spec.ts took 17.2s
|
Slow Test:
[chromium] › selection-playlist.spec.ts#L1
[chromium] › selection-playlist.spec.ts took 1.3m
|
Slow Test:
[chromium] › sing-a-song.spec.ts#L1
[chromium] › sing-a-song.spec.ts took 28.6s
|
Slow Test:
[chromium] › remote-mics-sing-a-song.spec.ts#L1
[chromium] › remote-mics-sing-a-song.spec.ts took 22.5s
|
Slow Test:
[chromium] › source-selection.spec.ts#L1
[chromium] › source-selection.spec.ts took 20.0s
|
Slow Test:
[chromium] › remote-mics-settings.spec.ts#L1
[chromium] › remote-mics-settings.spec.ts took 18.1s
|
e2e-tests-run (chromium, 2, 2)
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Slow Test:
[chromium] › sing-a-song.spec.ts#L1
[chromium] › sing-a-song.spec.ts took 37.9s
|
e2e-tests-run (chromium, 2, 2)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "e2e-chromium-2-test-results".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
🎭 Playwright Run Summary
2 failed
[firefox] › rate-unfinished-song.spec.ts:13:5 › window for rating unfinished song is visible and can be skipped by the user
[firefox] › rate-unfinished-song.spec.ts:54:5 › user can correctly select all of the shown reasons why the song was not completed
6 skipped
21 passed (3.0m)
|
🎭 Playwright Run Summary
1 passed (38.2s)
|
🎭 Playwright Run Summary
1 skipped
28 passed (4.2m)
|
🎭 Playwright Run Summary
4 skipped
24 passed (5.0m)
|
🎭 Playwright Run Summary
3 failed
[chromium] › remote-mics-sing-a-song.spec.ts:30:5 › Remote mic should connect, be selectable and control the game
[chromium] › remote-song-list.spec.ts:237:5 › Selecting a song using the `select` button on the remoteMic, when selected languages on desktop and remoteMic apps are the same - works
[chromium] › sing-a-song.spec.ts:39:5 › Sing a song ────────────────────────────────────────────
2 skipped
23 passed (5.2m)
|
🎭 Playwright Run Summary
1 failed
[chromium] › sing-a-song.spec.ts:39:5 › Sing a song ────────────────────────────────────────────
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
e2e-chromium-2-test-results
|
20 MB |
|