Skip to content

fix halloween test #1557

fix halloween test

fix halloween test #1557

Triggered via pull request October 27, 2024 09:05
Status Failure
Total duration 10m 11s
Artifacts 2

ci-improvement.yml

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

Annotations

18 errors, 35 warnings, and 6 notices
[firefox] › remote-song-list.spec.ts:246:5 › Selecting a song using the `select` button on the remoteMic: tests/remote-song-list.spec.ts#L1
1) [firefox] › remote-song-list.spec.ts:246:5 › Selecting a song using the `select` button on the remoteMic, when selected languages on desktop and remoteMic apps are the same - works › On the remoteMic app - ensure all languages are selected too Test timeout of 40000ms exceeded.
[firefox] › remote-song-list.spec.ts:246:5 › Selecting a song using the `select` button on the remoteMic: [pid=4341][err] s@https:/localhost:3010/assets/index-O1A4Qzd3.js#L39
1) [firefox] › remote-song-list.spec.ts:246:5 › Selecting a song using the `select` button on the remoteMic, when selected languages on desktop and remoteMic apps are the same - works › On the remoteMic app - ensure all languages are selected too Error: locator.click: Test ended. Browser logs: [pid=4341][out] TypeError: aNode is null -- resource:///modules/CustomizableUI.sys.mjs:1715 [pid=4341][out] console.error: CustomizableUI: [pid=4341][out] TypeError: aNode is null -- resource:///modules/CustomizableUI.sys.mjs:1715 [pid=4341][out] console.error: URLBar - Provider.UrlbarProviderSearchTips: ({}) [pid=4341][err] JavaScript error: resource://gre/modules/SearchEngineSelectorOld.sys.mjs, line 118: NS_ERROR_UNEXPECTED: Failed to get engine data from Remote Settings [pid=4341][out] console.error: CustomizableUI: [pid=4341][out] TypeError: aNode is null -- resource:///modules/CustomizableUI.sys.mjs:1715 [pid=4341][out] console.error: CustomizableUI: [pid=4341][out] TypeError: aNode is null -- resource:///modules/CustomizableUI.sys.mjs:1715 [pid=4341][out] console.error: CustomizableUI: [pid=4341][out] TypeError: aNode is null -- resource:///modules/CustomizableUI.sys.mjs:1715 [pid=4341][out] console.error: URLBar - Provider.UrlbarProviderSearchTips: ({}) [pid=4341][err] JavaScript warning: https://localhost:3010/assets/index-O1A4Qzd3.js, line 39: Script terminated by timeout at: [pid=4341][err] s@https://localhost:3010/assets/index-O1A4Qzd3.js:39:10924 [pid=4341][err] o7/</<@https://localhost:3010/assets/index-O1A4Qzd3.js:39:11005 [pid=4341][err] D_/<@https://localhost:3010/assets/index-O1A4Qzd3.js:39:9453 [pid=4341][err] t@https://localhost:3010/assets/index-O1A4Qzd3.js:39:9324 [pid=4341][err] EventListener.handleEvent*P0@https://localhost:3010/assets/index-O1A4Qzd3.js:39:9386 [pid=4341][err] o7/<@https://localhost:3010/assets/index-O1A4Qzd3.js:39:10993 [pid=4341][err] xh@https://localhost:3010/assets/index-O1A4Qzd3.js:39:10029 [pid=4341][err] o7@https://localhost:3010/assets/index-O1A4Qzd3.js:39:10771 [pid=4341][err] w7@https://localhost:3010/assets/index-O1A4Qzd3.js:42:112 [pid=4341][err] Eh@https://localhost:3010/assets/index-O1A4Qzd3.js:42:395 [pid=4341][err] A7@https://localhost:3010/assets/index-O1A4Qzd3.js:39:13439 [pid=4341][err] L7@https://localhost:3010/assets/index-O1A4Qzd3.js:42:2819 [pid=4341][err] R7@https://localhost:3010/assets/index-O1A4Qzd3.js:42:1204 [pid=4341][err] fU@https://localhost:3010/assets/index-O1A4Qzd3.js:42:28343 [pid=4341][err] @https://localhost:3010/assets/index-O1A4Qzd3.js:1232:5070 [pid=4341][err] [pid=4341][err] JavaScript error: chrome://juggler/content/content/Runtime.js, line 135: NS_ERROR_XPC_BAD_CONVERT_NATIVE: Could not convert Native argument arg 1 [nsIWindowMediator.getOuterWindowWithId] [pid=4341][err] JavaScript error: chrome://juggler/content/Helper.js, line 82: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIWebProgress.removeProgressListener] [pid=4341][err] JavaScript error: resource:///actors/DOMFullscreenParent.sys.mjs, line 245: TypeError: this.manager is null [pid=4341][err] JavaScript error: chrome://juggler/content/Helper.js, line 82: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIWebProgress.removeProgressListener] [pid=4341][out] console.error: URLBar - Provider.UrlbarProviderSearchTips: ({}) [pid=4341][err] JavaScript error: resource:///actors/DOMFullscreenParent.sys.mjs, line 218: Error: TelemetryStopwatch: key "FULLSCREEN_CHANGE_MS" was already initialized [pid=4341][err] JavaScript error: resource:///actors/DOMFullscreenParent.sys.mjs, line 177: Error: TelemetryStopwatch: finishing nonexisting stopwatch. Histogram: "FULLSCREEN_CHANGE_MS", key: "" [pid=4341][err] JavaScript error: chrome://juggler/content/Helper.js, line 82: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIWebProgre
[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: "462969" Received string: "585126" Call log: - expect.toHaveAttribute with timeout 7000ms - waiting for getByTestId('player-1-score') - locator resolved to <span data-score="475367" class="ec-0 el0barv0" data-test="player-1-score">475 368</span> - unexpected value "475367" - locator resolved to <span data-score="475367" class="ec-0 el0barv0" data-test="player-1-score">475 368</span> - unexpected value "475367" - locator resolved to <span data-score="511751" class="ec-0 el0barv0" data-test="player-1-score">511 752</span> - unexpected value "511751" - locator resolved to <span data-score="511751" class="ec-0 el0barv0" data-test="player-1-score">511 752</span> - unexpected value "511751" - locator resolved to <span data-score="585126" class="ec-0 el0barv0" data-test="player-1-score">585 127</span> - unexpected value "585126" - locator resolved to <span data-score="585126" class="ec-0 el0barv0" data-test="player-1-score">585 127</span> - unexpected value "585126" - locator resolved to <span data-score="585126" class="ec-0 el0barv0" data-test="player-1-score">585 127</span> - unexpected value "585126" - locator resolved to <span data-win="false" data-score="460126" data-test="player-1-score" class="ec-10pnj61 e1vy0af42">…</span> - unexpected value "460126" - locator resolved to <span data-win="false" data-score="460126" data-test="player-1-score" class="ec-10pnj61 e1vy0af42">…</span> - unexpected value "460126" - locator resolved to <span data-win="false" data-score="585126" data-test="player-1-score" class="ec-10pnj61 e1vy0af42">…</span> - unexpected value "585126" - locator resolved to <span data-win="false" data-score="585126" data-test="player-1-score" class="ec-10pnj61 e1vy0af42">…</span> - unexpected value "585126" 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
[chromium] › convert-and-sing-a-song.spec.ts:28:5 › Convert and sing a song: tests/convert-and-sing-a-song.spec.ts#L1
1) [chromium] › convert-and-sing-a-song.spec.ts:28:5 › Convert and sing a song › Go to playlist containing the song`s release year and check visibility Test timeout of 120000ms exceeded.
[chromium] › convert-and-sing-a-song.spec.ts:28:5 › Convert and sing a song: tests/PageObjects/SongListPage.ts#L94
1) [chromium] › convert-and-sing-a-song.spec.ts:28:5 › Convert and sing a song › Go to playlist containing the song`s release year and check visibility Error: locator.click: Test timeout of 120000ms exceeded. Call log: - waiting for getByTestId('playlist-Oldies') at PageObjects/SongListPage.ts:94 92 | 93 | public async goToPlaylist(name: string) { > 94 | await this.getPlaylistElement(name).click(); | ^ 95 | } 96 | 97 | public get searchButton() { at SongListPagePO.goToPlaylist (/home/runner/work/allkaraoke/allkaraoke/tests/PageObjects/SongListPage.ts:94:41) at /home/runner/work/allkaraoke/allkaraoke/tests/convert-and-sing-a-song.spec.ts:123:30 at /home/runner/work/allkaraoke/allkaraoke/tests/convert-and-sing-a-song.spec.ts:122:14
[chromium] › rate-unfinished-song.spec.ts:53:5 › user can correctly select all of the shown reasons why the song was not completed: tests/rate-unfinished-song.spec.ts#L81
2) [chromium] › rate-unfinished-song.spec.ts:53: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] › convert-and-sing-a-song.spec.ts:28:5 › Convert and sing a song: tests/convert-and-sing-a-song.spec.ts#L1
1) [chromium] › convert-and-sing-a-song.spec.ts:28:5 › Convert and sing a song › Go to playlist containing the song`s release year and check visibility Test timeout of 120000ms exceeded.
[chromium] › convert-and-sing-a-song.spec.ts:28:5 › Convert and sing a song: tests/PageObjects/SongListPage.ts#L94
1) [chromium] › convert-and-sing-a-song.spec.ts:28:5 › Convert and sing a song › Go to playlist containing the song`s release year and check visibility Error: locator.click: Test timeout of 120000ms exceeded. Call log: - waiting for getByTestId('playlist-Oldies') at PageObjects/SongListPage.ts:94 92 | 93 | public async goToPlaylist(name: string) { > 94 | await this.getPlaylistElement(name).click(); | ^ 95 | } 96 | 97 | public get searchButton() { at SongListPagePO.goToPlaylist (/home/runner/work/allkaraoke/allkaraoke/tests/PageObjects/SongListPage.ts:94:41) at /home/runner/work/allkaraoke/allkaraoke/tests/convert-and-sing-a-song.spec.ts:123:30 at /home/runner/work/allkaraoke/allkaraoke/tests/convert-and-sing-a-song.spec.ts:122:14
e2e-tests-run (chromium, 1, 2)
Final attempt failed. Child_process exited with error code 1
[firefox] › convert-and-sing-a-song.spec.ts:28:5 › Convert and sing a song: tests/convert-and-sing-a-song.spec.ts#L1
1) [firefox] › convert-and-sing-a-song.spec.ts:28:5 › Convert and sing a song › Go to playlist containing the song`s release year and check visibility Test timeout of 120000ms exceeded.
[firefox] › convert-and-sing-a-song.spec.ts:28:5 › Convert and sing a song: tests/PageObjects/SongListPage.ts#L94
1) [firefox] › convert-and-sing-a-song.spec.ts:28:5 › Convert and sing a song › Go to playlist containing the song`s release year and check visibility Error: locator.click: Test timeout of 120000ms exceeded. Call log: - waiting for getByTestId('playlist-Oldies') at PageObjects/SongListPage.ts:94 92 | 93 | public async goToPlaylist(name: string) { > 94 | await this.getPlaylistElement(name).click(); | ^ 95 | } 96 | 97 | public get searchButton() { at SongListPagePO.goToPlaylist (/home/runner/work/allkaraoke/allkaraoke/tests/PageObjects/SongListPage.ts:94:41) at /home/runner/work/allkaraoke/allkaraoke/tests/convert-and-sing-a-song.spec.ts:123:30 at /home/runner/work/allkaraoke/allkaraoke/tests/convert-and-sing-a-song.spec.ts:122:14
[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#L1
2) [firefox] › rate-unfinished-song.spec.ts:13:5 › window for rating unfinished song is visible and can be skipped by the user › Play the random song Test timeout of 40000ms exceeded.
[firefox] › rate-unfinished-song.spec.ts:13:5 › window for rating unfinished song is visible and can be skipped by the user: tests/PageObjects/SongPreviewPage.ts#L25
2) [firefox] › rate-unfinished-song.spec.ts:13:5 › window for rating unfinished song is visible and can be skipped by the user › Play the random song Error: locator.click: Test timeout of 40000ms exceeded. Call log: - waiting for getByTestId('play-song-button') at PageObjects/SongPreviewPage.ts:25 23 | 24 | public async playTheSong(skipIntro = true) { > 25 | await this.page.getByTestId('play-song-button').click(); | ^ 26 | await this.page.getByTestId('make-song-go-fast').click(); 27 | if (skipIntro) { 28 | const locator = this.page.locator('[data-test="skip-intro-info"]'); at SongPreviewPagePO.playTheSong (/home/runner/work/allkaraoke/allkaraoke/tests/PageObjects/SongPreviewPage.ts:25:53) at /home/runner/work/allkaraoke/allkaraoke/tests/rate-unfinished-song.spec.ts:33:33 at /home/runner/work/allkaraoke/allkaraoke/tests/rate-unfinished-song.spec.ts:27:3
[firefox] › rate-unfinished-song.spec.ts:53:5 › user can correctly select all of the shown reasons why the song was not completed: tests/rate-unfinished-song.spec.ts#L1
3) [firefox] › rate-unfinished-song.spec.ts:53:5 › user can correctly select all of the shown reasons why the song was not completed › User can return to Song List to choose another song Test timeout of 40000ms exceeded.
[firefox] › rate-unfinished-song.spec.ts:53:5 › user can correctly select all of the shown reasons why the song was not completed: tests/PageObjects/SongListPage.ts#L52
3) [firefox] › rate-unfinished-song.spec.ts:53:5 › user can correctly select all of the shown reasons why the song was not completed › User can return to Song List to choose another song Error: locator.click: Test timeout of 40000ms exceeded. Call log: - waiting for getByTestId('song-e2e-pass-test-spanish-1994') at PageObjects/SongListPage.ts:52 50 | public async openPreviewForSong(songID: string) { 51 | const locator = await this.getSongElement(songID); > 52 | await locator.click(); | ^ 53 | await expect(this.songPreviewElement).toHaveAttribute('data-song', songID); 54 | await locator.click({ force: true }); 55 | } at SongListPagePO.openPreviewForSong (/home/runner/work/allkaraoke/allkaraoke/tests/PageObjects/SongListPage.ts:52:19) at /home/runner/work/allkaraoke/allkaraoke/tests/rate-unfinished-song.spec.ts:165:5 at /home/runner/work/allkaraoke/allkaraoke/tests/rate-unfinished-song.spec.ts:160:3
[firefox] › convert-and-sing-a-song.spec.ts:28:5 › Convert and sing a song: tests/convert-and-sing-a-song.spec.ts#L1
1) [firefox] › convert-and-sing-a-song.spec.ts:28:5 › Convert and sing a song › Go to playlist containing the song`s release year and check visibility Test timeout of 120000ms exceeded.
[firefox] › convert-and-sing-a-song.spec.ts:28:5 › Convert and sing a song: tests/PageObjects/SongListPage.ts#L94
1) [firefox] › convert-and-sing-a-song.spec.ts:28:5 › Convert and sing a song › Go to playlist containing the song`s release year and check visibility Error: locator.click: Test timeout of 120000ms exceeded. Call log: - waiting for getByTestId('playlist-Oldies') at PageObjects/SongListPage.ts:94 92 | 93 | public async goToPlaylist(name: string) { > 94 | await this.getPlaylistElement(name).click(); | ^ 95 | } 96 | 97 | public get searchButton() { at SongListPagePO.goToPlaylist (/home/runner/work/allkaraoke/allkaraoke/tests/PageObjects/SongListPage.ts:94:41) at /home/runner/work/allkaraoke/allkaraoke/tests/convert-and-sing-a-song.spec.ts:123:30 at /home/runner/work/allkaraoke/allkaraoke/tests/convert-and-sing-a-song.spec.ts:122:14
e2e-tests-run (firefox, 1, 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] › selection-playlist.spec.ts#L1
[firefox] › selection-playlist.spec.ts took 1.2m
Slow Test: [firefox] › sing-a-song.spec.ts#L1
[firefox] › sing-a-song.spec.ts took 27.3s
Slow Test: [firefox] › source-selection.spec.ts#L1
[firefox] › source-selection.spec.ts took 20.5s
Slow Test: [firefox] › remote-mics-settings.spec.ts#L1
[firefox] › remote-mics-settings.spec.ts took 19.2s
e2e-tests-run (firefox, 2, 2)
Attempt 1 failed. Reason: Child_process exited with error code 1
Slow Test: [chromium] › selection-playlist.spec.ts#L1
[chromium] › selection-playlist.spec.ts took 1.6m
Slow Test: [chromium] › remote-song-list.spec.ts#L1
[chromium] › remote-song-list.spec.ts took 1.5m
Slow Test: [chromium] › sing-a-song.spec.ts#L1
[chromium] › sing-a-song.spec.ts took 38.9s
Slow Test: [chromium] › remote-mics-sing-a-song.spec.ts#L1
[chromium] › remote-mics-sing-a-song.spec.ts took 31.6s
Slow Test: [chromium] › source-selection.spec.ts#L1
[chromium] › source-selection.spec.ts took 20.4s
e2e-tests-run (chromium, 2, 2)
Attempt 1 failed. Reason: Child_process exited with error code 1
Slow Test: [chromium] › convert-and-sing-a-song.spec.ts#L1
[chromium] › convert-and-sing-a-song.spec.ts took 2.0m
Slow Test: [chromium] › duet-song.spec.ts#L1
[chromium] › duet-song.spec.ts took 29.3s
Slow Test: [chromium] › rate-unfinished-song.spec.ts#L1
[chromium] › rate-unfinished-song.spec.ts took 25.5s
Slow Test: [chromium] › mobile-phone-mode.spec.ts#L1
[chromium] › mobile-phone-mode.spec.ts took 19.7s
Slow Test: [chromium] › co-op-mode.spec.ts#L1
[chromium] › co-op-mode.spec.ts took 17.9s
e2e-tests-run (chromium, 1, 2)
Attempt 1 failed. Reason: Child_process exited with error code 1
Slow Test: [chromium] › convert-and-sing-a-song.spec.ts#L1
[chromium] › convert-and-sing-a-song.spec.ts took 2.0m
e2e-tests-run (chromium, 1, 2)
No files were found with the provided path: playwright-report. No artifacts will be uploaded.
Slow Test: [firefox] › convert-and-sing-a-song.spec.ts#L1
[firefox] › convert-and-sing-a-song.spec.ts took 2.0m
Slow Test: [firefox] › co-op-mode.spec.ts#L1
[firefox] › co-op-mode.spec.ts took 18.2s
Slow Test: [firefox] › initial-setup.spec.ts#L1
[firefox] › initial-setup.spec.ts took 15.5s
e2e-tests-run (firefox, 1, 2)
Attempt 1 failed. Reason: Child_process exited with error code 1
Slow Test: [firefox] › convert-and-sing-a-song.spec.ts#L1
[firefox] › convert-and-sing-a-song.spec.ts took 2.0m
e2e-tests-run (firefox, 1, 2)
No files were found with the provided path: playwright-report. No artifacts will be uploaded.
🎭 Playwright Run Summary
1 failed [firefox] › remote-song-list.spec.ts:246:5 › Selecting a song using the `select` button on the remoteMic, when selected languages on desktop and remoteMic apps are the same - works 3 skipped 24 passed (4.9m)
🎭 Playwright Run Summary
1 failed [chromium] › sing-a-song.spec.ts:39:5 › Sing a song ──────────────────────────────────────────── 1 skipped 26 passed (5.7m)
🎭 Playwright Run Summary
2 failed [chromium] › convert-and-sing-a-song.spec.ts:28:5 › Convert and sing a song ──────────────────── [chromium] › rate-unfinished-song.spec.ts:53:5 › user can correctly select all of the shown reasons why the song was not completed 1 skipped 26 passed (5.4m)
🎭 Playwright Run Summary
1 failed [chromium] › convert-and-sing-a-song.spec.ts:28:5 › Convert and sing a song ────────────────────
🎭 Playwright Run Summary
3 failed [firefox] › convert-and-sing-a-song.spec.ts:28:5 › Convert and sing a song ───────────────────── [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:53:5 › user can correctly select all of the shown reasons why the song was not completed 6 skipped 20 passed (5.2m)
🎭 Playwright Run Summary
1 failed [firefox] › convert-and-sing-a-song.spec.ts:28:5 › Convert and sing a song ───────────────────── 1 passed (2.4m)

Artifacts

Produced during runtime
Name Size
test-results-blob-e2e-chromium-1
38.8 MB
test-results-blob-e2e-firefox-1
41.3 MB