Skip to content

Rate-unfinished-song-test2 #1883

Rate-unfinished-song-test2

Rate-unfinished-song-test2 #1883

Re-run triggered January 28, 2025 11:59
Status Failure
Total duration 4m 55s
Artifacts 2

ci-improvement.yml

on: pull_request
Matrix: e2e-tests-run
deploy-branch
56s
deploy-branch
e2e-tests-add-summary
2s
e2e-tests-add-summary
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 30 warnings, and 4 notices
[firefox] › source-selection.spec.ts:36:5 › Source selection in sing settings: tests/source-selection.spec.ts#L1
1) [firefox] › source-selection.spec.ts:36:5 › Source selection in sing settings › Make sure the input is not monitored anymore if it is not in use Test timeout of 45000ms exceeded.
[firefox] › source-selection.spec.ts:36:5 › Source selection in sing settings: tests/PageObjects/AdvancedConnectionPage.ts#L39
1) [firefox] › source-selection.spec.ts:36:5 › Source selection in sing settings › Make sure the input is not monitored anymore if it is not in use Error: locator.click: Test timeout of 45000ms exceeded. Call log: - waiting for getByTestId('player-0-source') at PageObjects/AdvancedConnectionPage.ts:39 37 | 38 | public async togglePlayerMicrophoneSource(playerNumber: number) { > 39 | await this.getPlayerMicSource(playerNumber).click(); | ^ 40 | } 41 | 42 | public getMicInputName(playerNumber: number) { at AdvancedConnectionPagePO.togglePlayerMicrophoneSource (/home/runner/work/allkaraoke/allkaraoke/tests/PageObjects/AdvancedConnectionPage.ts:39:49) at /home/runner/work/allkaraoke/allkaraoke/tests/source-selection.spec.ts:62:40 at /home/runner/work/allkaraoke/allkaraoke/tests/source-selection.spec.ts:60:3
[chromium] › duet-song.spec.ts:88:5 › Sing a duet song in pass-the-mic mode as a single connected player: tests/duet-song.spec.ts#L103
1) [chromium] › duet-song.spec.ts:88:5 › Sing a duet song in pass-the-mic mode as a single connected player › Go to duet playlist and pick up the song Error: Timed out 7000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('song-e2e-pass-test-spanish-1994').getByTestId('multitrack-indicator') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 7000ms - waiting for getByTestId('song-e2e-pass-test-spanish-1994').getByTestId('multitrack-indicator') 101 | await pages.songListPage.goToPlaylist(duetsPlaylist); 102 | await pages.songListPage.expectPlaylistToBeSelected(duetsPlaylist); > 103 | await expect(await pages.songListPage.getDuetSongIcon(duetSpanSong)).toBeVisible(); | ^ 104 | }); 105 | 106 | await test.step('Check visibility of song language flag and open song', async () => { at /home/runner/work/allkaraoke/allkaraoke/tests/duet-song.spec.ts:103:74 at /home/runner/work/allkaraoke/allkaraoke/tests/duet-song.spec.ts:100:3
[chromium] › rate-unfinished-song.spec.ts:61:5 › user can correctly select all of the shown reasons why the song was not completed: tests/rate-unfinished-song.spec.ts#L114
2) [chromium] › rate-unfinished-song.spec.ts:61: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') 112 | await page.waitForTimeout(500); 113 | await pages.gamePage.exitSong(); > 114 | await expect(pages.rateUnfinishedSongPage.rateSongContainer).toBeVisible(); | ^ 115 | }); 116 | 117 | 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:114:66 at /home/runner/work/allkaraoke/allkaraoke/tests/rate-unfinished-song.spec.ts:110:3
deploy-branch
The process '/home/runner/setup-pnpm/node_modules/.bin/pnpm' failed with exit code 1
deploy-branch
🚨 Action failed
[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#L49
1) [firefox] › rate-unfinished-song.spec.ts:13:5 › window for rating unfinished song is visible and can be skipped by the user › After pressing Escape the user returns to game mode Error: Timed out 7000ms waiting for expect(locator).not.toBeVisible() Locator: getByTestId('rate-song-container') Expected: not visible Received: visible Call log: - expect.not.toBeVisible with timeout 7000ms - waiting for getByTestId('rate-song-container') 11 × locator resolved to <div data-test="rate-song-container" class="box-border flex flex-col justify-center rounded-md bg-black/50 w-[100vw] sm:max-w-[85rem] m-[2rem auto 0 auto] [view-transition-name:menu-container] items-stretch pointer-events-auto undefined gap-6 p-10">…</div> - unexpected value "visible" 47 | await page.keyboard.press('Escape'); 48 | await expect(pages.gamePage.getSongLyricsForPlayerElement(0)).toBeVisible(); > 49 | await expect(pages.rateUnfinishedSongPage.rateSongContainer).not.toBeVisible(); | ^ 50 | }); 51 | 52 | await test.step('User can skip the song rating container and go to pick up another song', async () => { at /home/runner/work/allkaraoke/allkaraoke/tests/rate-unfinished-song.spec.ts:49:70 at /home/runner/work/allkaraoke/allkaraoke/tests/rate-unfinished-song.spec.ts:46:3
[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#L49
1) [firefox] › rate-unfinished-song.spec.ts:13:5 › window for rating unfinished song is visible and can be skipped by the user › After pressing Escape the user returns to game mode Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 7000ms waiting for expect(locator).not.toBeVisible() Locator: getByTestId('rate-song-container') Expected: not visible Received: visible Call log: - expect.not.toBeVisible with timeout 7000ms - waiting for getByTestId('rate-song-container') 11 × locator resolved to <div data-test="rate-song-container" class="box-border flex flex-col justify-center rounded-md bg-black/50 w-[100vw] sm:max-w-[85rem] m-[2rem auto 0 auto] [view-transition-name:menu-container] items-stretch pointer-events-auto undefined gap-6 p-10">…</div> - unexpected value "visible" 47 | await page.keyboard.press('Escape'); 48 | await expect(pages.gamePage.getSongLyricsForPlayerElement(0)).toBeVisible(); > 49 | await expect(pages.rateUnfinishedSongPage.rateSongContainer).not.toBeVisible(); | ^ 50 | }); 51 | 52 | await test.step('User can skip the song rating container and go to pick up another song', async () => { at /home/runner/work/allkaraoke/allkaraoke/tests/rate-unfinished-song.spec.ts:49:70 at /home/runner/work/allkaraoke/allkaraoke/tests/rate-unfinished-song.spec.ts:46:3
[firefox] › jukebox.spec.ts:12:5 › Jukebox: tests/PageObjects/SongListPage.ts#L69
2) [firefox] › jukebox.spec.ts:12:5 › Jukebox › After click to sing a song, that song should appear as a preview in the song list Error: Timed out 7000ms waiting for expect(locator).toHaveAttribute(expected) Locator: getByTestId('song-preview') Expected string: "oasis-go-let-it-out" Received string: "miley-cyrus-nobodys-perfect" Call log: - expect.toHaveAttribute with timeout 7000ms - waiting for getByTestId('song-preview') 11 × locator resolved to <div width="298" height="167" data-expanded="false" data-show-video="true" data-test="song-preview" class="e1vaewax4 ec-l7gvqo e1ornw2x5" data-song="miley-cyrus-nobodys-perfect">…</div> - unexpected value "miley-cyrus-nobodys-perfect" at PageObjects/SongListPage.ts:69 67 | 68 | public expectSelectedSongToBe(songID: string) { > 69 | return expect(this.songPreviewElement).toHaveAttribute('data-song', songID); | ^ 70 | } 71 | 72 | public expectSelectedSongNotToBe(songID: string) { at SongListPagePO.expectSelectedSongToBe (/home/runner/work/allkaraoke/allkaraoke/tests/PageObjects/SongListPage.ts:69:44) at /home/runner/work/allkaraoke/allkaraoke/tests/jukebox.spec.ts:31:30 at /home/runner/work/allkaraoke/allkaraoke/tests/jukebox.spec.ts:26:3
e2e-tests-run (firefox, 1, 2)
Process completed with exit code 1.
ct-tests-run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: [chromium] › selection-playlist.spec.ts#L1
[chromium] › selection-playlist.spec.ts took 1.4m
Slow Test: [chromium] › remote-song-list.spec.ts#L1
[chromium] › remote-song-list.spec.ts took 1.1m
Slow Test: [chromium] › sing-a-song.spec.ts#L1
[chromium] › sing-a-song.spec.ts took 36.5s
Slow Test: [chromium] › remote-mics-sing-a-song.spec.ts#L1
[chromium] › remote-mics-sing-a-song.spec.ts took 29.4s
Slow Test: [chromium] › source-selection.spec.ts#L1
[chromium] › source-selection.spec.ts took 25.3s
Slow Test: [firefox] › selection-playlist.spec.ts#L1
[firefox] › selection-playlist.spec.ts took 1.6m
Slow Test: [firefox] › remote-song-list.spec.ts#L1
[firefox] › remote-song-list.spec.ts took 54.3s
Slow Test: [firefox] › sing-a-song.spec.ts#L1
[firefox] › sing-a-song.spec.ts took 32.5s
Slow Test: [firefox] › remote-mics-settings.spec.ts#L1
[firefox] › remote-mics-settings.spec.ts took 24.6s
Slow Test: [firefox] › remote-mics-playlist.spec.ts#L1
[firefox] › remote-mics-playlist.spec.ts took 18.1s
Slow Test: [chromium] › mobile-phone-mode.spec.ts#L1
[chromium] › mobile-phone-mode.spec.ts took 23.2s
Slow Test: [chromium] › co-op-mode.spec.ts#L1
[chromium] › co-op-mode.spec.ts took 18.6s
Slow Test: [chromium] › convert-and-sing-a-song.spec.ts#L1
[chromium] › convert-and-sing-a-song.spec.ts took 18.6s
Slow Test: [chromium] › initial-setup.spec.ts#L1
[chromium] › initial-setup.spec.ts took 16.9s
quick-checks
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
quick-checks: playwright.config.ts#L38
Unexpected any. Specify a different type
quick-checks: playwright.config.ts#L38
Unexpected any. Specify a different type
quick-checks: scripts/processSongs.ts#L157
Unexpected any. Specify a different type
quick-checks: src/modules/Elements/AKUI/Primitives/Box.tsx#L6
Unexpected any. Specify a different type
quick-checks: src/modules/Elements/AKUI/Primitives/Text.tsx#L11
Unexpected any. Specify a different type
quick-checks: src/modules/Elements/ErrorFallback.tsx#L15
Unexpected any. Specify a different type
quick-checks: src/modules/Elements/ErrorFallback.tsx#L18
Unexpected any. Specify a different type
quick-checks: src/modules/Elements/GameTip.tsx#L67
Unexpected any. Specify a different type
quick-checks: src/modules/Elements/Loader.tsx#L3
Unexpected any. Specify a different type
quick-checks: src/modules/Elements/Snow.tsx#L8
Unexpected any. Specify a different type
deploy-branch
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: [firefox] › co-op-mode.spec.ts#L1
[firefox] › co-op-mode.spec.ts took 17.0s
e2e-tests-run (firefox, 1, 2)
No files were found with the provided path: playwright-report. No artifacts will be uploaded.
e2e-tests-add-summary
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
🎭 Playwright Run Summary
1 skipped 28 passed (5.6m)
🎭 Playwright Run Summary
1 flaky [firefox] › source-selection.spec.ts:36:5 › Source selection in sing settings ────────────────── 3 skipped 25 passed (5.9m)
🎭 Playwright Run Summary
2 flaky [chromium] › duet-song.spec.ts:88:5 › Sing a duet song in pass-the-mic mode as a single connected player [chromium] › rate-unfinished-song.spec.ts:61:5 › user can correctly select all of the shown reasons why the song was not completed 1 skipped 26 passed (4.3m)
🎭 Playwright Run Summary
1 failed [firefox] › rate-unfinished-song.spec.ts:13:5 › window for rating unfinished song is visible and can be skipped by the user 1 flaky [firefox] › jukebox.spec.ts:12:5 › Jukebox ───────────────────────────────────────────────────── 6 skipped 21 passed (3.1m)

Artifacts

Produced during runtime
Name Size
test-results-blob-e2e-firefox-1
13.8 MB