replace puppeteer with playwright to prerender pages #1471
You are viewing an older attempt in the history of this workflow run.
View latest attempt.
ci-improvement.yml
on: pull_request
Matrix: e2e-tests-run
deploy-branch
55s
deploy
0s
Annotations
6 errors, 31 warnings, and 5 notices
[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
1) [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] › selection-playlist.spec.ts:41:5 › Adding completed song to the Selection playlist:
tests/selection-playlist.spec.ts#L1
2) [chromium] › selection-playlist.spec.ts:41:5 › Adding completed song to the Selection playlist › Search and play the entire song - ensure song is not visible in Selection playlist
Test timeout of 40000ms exceeded.
|
[chromium] › selection-playlist.spec.ts:41:5 › Adding completed song to the Selection playlist:
tests/PageObjects/SongListPage.ts#L52
2) [chromium] › selection-playlist.spec.ts:41:5 › Adding completed song to the Selection playlist › Search and play the entire song - ensure song is not visible in Selection playlist
Error: locator.click: Test timeout of 40000ms exceeded.
Call log:
- waiting for getByTestId('song-e2e-christmas-english-1995')
- locator resolved to <div data-song-index="0" data-focused="true" data-group="Search results" class="e13s0pn5 ec-ev9t9j e1ornw2x5" data-test="song-e2e-christmas-english-1995">…</div>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <html lang="en" translate="no" class="blockOverflow">…</html> intercepts pointer events
- retrying click action, attempt #1
- waiting for element to be visible, enabled and stable
- element is not stable
- retrying click action, attempt #2
- waiting 20ms
- waiting for element to be visible, enabled and stable
- element is not stable
- retrying click action, attempt #3
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <span data-expanded="true" class="ec-1s9j0eh e1ornw2x1">New Christmas</span> from <div width="1280" height="576" data-expanded="true" data-show-video="true" data-test="song-preview" class="e1vaewax4 ec-n125z9 e1ornw2x5" data-song="e2e-christmas-english-1995">…</div> subtree intercepts pointer events
- retrying click action, attempt #4
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <span data-expanded="true" class="ec-1s9j0eh e1ornw2x1">New Christmas</span> from <div width="1280" height="576" data-expanded="true" data-show-video="true" data-test="song-preview" class="e1vaewax4 ec-n125z9 e1ornw2x5" data-song="e2e-christmas-english-1995">…</div> subtree intercepts pointer events
- retrying click action, attempt #5
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <span data-expanded="true" class="ec-1s9j0eh e1ornw2x1">New Christmas</span> from <div width="1280" height="576" data-expanded="true" data-show-video="true" data-test="song-preview" class="e1vaewax4 ec-n125z9 e1ornw2x5" data-song="e2e-christmas-english-1995">…</div> subtree intercepts pointer events
- retrying click action, attempt #6
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <span data-expanded="true" class="ec-1s9j0eh e1ornw2x1">New Christmas</span> from <div width="1280" height="576" data-expanded="true" data-show-video="true" data-test="song-preview" class="e1vaewax4 ec-n125z9 e1ornw2x5" data-song="e2e-christmas-english-1995">…</div> subtree intercepts pointer events
- retrying click action, attempt #7
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <span data-expanded="true" class="ec-1s9j0eh e1ornw2x1">New Christmas</span> from <div width="1280" height="576" data-expanded="true" data-show-video="true" data-test="song-preview" class="e1vaewax4 ec-n125z9 e1ornw2x5" data-song="e2e-christmas-english-1995">…</div> subtree intercepts pointer events
- retrying click action, attempt #8
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scroll
|
[chromium] › sing-a-song.spec.ts:39:5 › Sing a song:
tests/PageObjects/GamePage.ts#L75
3) [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: "149270"
Received string: "1275520"
Call log:
- expect.toHaveAttribute with timeout 7000ms
- waiting for getByTestId('player-1-score')
- locator resolved to <span data-score="160380" class="ec-0 el0barv0" data-test="player-1-score">160 381</span>
- unexpected value "160380"
- locator resolved to <span data-score="160380" class="ec-0 el0barv0" data-test="player-1-score">160 381</span>
- unexpected value "160380"
- locator resolved to <span data-score="245083" class="ec-0 el0barv0" data-test="player-1-score">245 083</span>
- unexpected value "245083"
- locator resolved to <span data-score="523404" class="ec-0 el0barv0" data-test="player-1-score">523 404</span>
- unexpected value "523404"
- locator resolved to <span data-score="743758" class="ec-0 el0barv0" data-test="player-1-score">743 759</span>
- unexpected value "743758"
- locator resolved to <span data-score="1275520" class="ec-0 el0barv0" data-test="player-1-score">1 275 521</span>
- unexpected value "1275520"
- locator resolved to <span data-score="1275520" class="ec-0 el0barv0" data-test="player-1-score">1 275 521</span>
- unexpected value "1275520"
- locator resolved to <span data-score="1275520" class="ec-0 el0barv0" data-test="player-1-score">1 275 521</span>
- unexpected value "1275520"
- locator resolved to <span data-win="false" data-score="900520" data-test="player-1-score" class="ec-10pnj61 e1vy0af42">…</span>
- unexpected value "900520"
- locator resolved to <span data-win="false" data-score="1275520" data-test="player-1-score" class="ec-10pnj61 e1vy0af42">…</span>
- unexpected value "1275520"
- locator resolved to <span data-win="false" data-score="1275520" data-test="player-1-score" class="ec-10pnj61 e1vy0af42">…</span>
- unexpected value "1275520"
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] › 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: "1400507"
Call log:
- expect.toHaveAttribute with timeout 7000ms
- waiting for getByTestId('player-1-score')
- locator resolved to <span data-score="396990" class="ec-0 el0barv0" data-test="player-1-score">396 990</span>
- unexpected value "396990"
- locator resolved to <span data-score="415986" class="ec-0 el0barv0" data-test="player-1-score">415 987</span>
- unexpected value "415986"
- locator resolved to <span data-score="547869" class="ec-0 el0barv0" data-test="player-1-score">547 870</span>
- unexpected value "547869"
- locator resolved to <span data-score="547869" class="ec-0 el0barv0" data-test="player-1-score">547 870</span>
- unexpected value "547869"
- locator resolved to <span data-score="930540" class="ec-0 el0barv0" data-test="player-1-score">930 541</span>
- unexpected value "930540"
- locator resolved to <span data-score="1384617" class="ec-0 el0barv0" data-test="player-1-score">1 384 618</span>
- unexpected value "1384617"
- locator resolved to <span data-score="1400507" class="ec-0 el0barv0" data-test="player-1-score">1 400 507</span>
- unexpected value "1400507"
- locator resolved to <span data-win="false" data-score="1150507" data-test="player-1-score" class="ec-10pnj61 e1vy0af42">…</span>
- unexpected value "1150507"
- locator resolved to <span data-win="false" data-score="1150507" data-test="player-1-score" class="ec-10pnj61 e1vy0af42">…</span>
- unexpected value "1150507"
- locator resolved to <span data-win="false" data-score="1400507" data-test="player-1-score" class="ec-10pnj61 e1vy0af42">…</span>
- unexpected value "1400507"
- locator resolved to <span data-win="false" data-score="1400507" data-test="player-1-score" class="ec-10pnj61 e1vy0af42">…</span>
- unexpected value "1400507"
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] › rate-unfinished-song.spec.ts#L1
[firefox] › rate-unfinished-song.spec.ts took 21.4s
|
Slow Test:
[firefox] › co-op-mode.spec.ts#L1
[firefox] › co-op-mode.spec.ts took 18.5s
|
Slow Test:
[firefox] › convert-and-sing-a-song.spec.ts#L1
[firefox] › convert-and-sing-a-song.spec.ts took 16.3s
|
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 27.1s
|
Slow Test:
[chromium] › mobile-phone-mode.spec.ts#L1
[chromium] › mobile-phone-mode.spec.ts took 20.4s
|
Slow Test:
[chromium] › convert-and-sing-a-song.spec.ts#L1
[chromium] › convert-and-sing-a-song.spec.ts took 20.0s
|
Slow Test:
[chromium] › co-op-mode.spec.ts#L1
[chromium] › co-op-mode.spec.ts took 18.3s
|
Slow Test:
[firefox] › selection-playlist.spec.ts#L1
[firefox] › selection-playlist.spec.ts took 1.4m
|
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 29.4s
|
Slow Test:
[firefox] › source-selection.spec.ts#L1
[firefox] › source-selection.spec.ts took 25.0s
|
Slow Test:
[firefox] › remote-mics-settings.spec.ts#L1
[firefox] › remote-mics-settings.spec.ts took 17.8s
|
Slow Test:
[chromium] › sing-a-song.spec.ts#L1
[chromium] › sing-a-song.spec.ts took 35.5s
|
Slow Test:
[chromium] › remote-mics-sing-a-song.spec.ts#L1
[chromium] › remote-mics-sing-a-song.spec.ts took 30.7s
|
Slow Test:
[chromium] › source-selection.spec.ts#L1
[chromium] › source-selection.spec.ts took 20.8s
|
Slow Test:
[chromium] › remote-mics-settings.spec.ts#L1
[chromium] › remote-mics-settings.spec.ts took 17.4s
|
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.6s
|
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
6 skipped
23 passed (2.9m)
|
🎭 Playwright Run Summary
1 skipped
28 passed (4.4m)
|
🎭 Playwright Run Summary
4 skipped
24 passed (5.2m)
|
🎭 Playwright Run Summary
3 failed
[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] › selection-playlist.spec.ts:41:5 › Adding completed song to the Selection playlist ─
[chromium] › sing-a-song.spec.ts:39:5 › Sing a song ────────────────────────────────────────────
2 skipped
23 passed (5.9m)
|
🎭 Playwright Run Summary
1 failed
[chromium] › sing-a-song.spec.ts:39:5 › Sing a song ────────────────────────────────────────────
|