Merge pull request #378 from Asvarox/fix-e2e-tests #1624
ci-improvement.yml
on: push
Matrix: e2e-tests-run
deploy-branch
0s
e2e-tests-add-summary
0s
deploy
1m 1s
Annotations
1 error, 30 warnings, and 5 notices
[firefox] › jukebox.spec.ts:12:5 › Jukebox:
tests/PageObjects/SongListPage.ts#L66
1) [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: "ike-tina-turner-proud-mary"
Received string: "my-chemical-romance-helena"
Call log:
- expect.toHaveAttribute with timeout 7000ms
- waiting for getByTestId('song-preview')
- locator resolved to <div width="294" height="165" data-expanded="false" data-show-video="true" data-test="song-preview" data-song="my-chemical-romance-helena" class="e1vaewax4 ec-19yr6sz e1ornw2x5">…</div>
- unexpected value "my-chemical-romance-helena"
- locator resolved to <div width="294" height="165" data-expanded="false" data-show-video="true" data-test="song-preview" data-song="my-chemical-romance-helena" class="e1vaewax4 ec-19yr6sz e1ornw2x5">…</div>
- unexpected value "my-chemical-romance-helena"
- locator resolved to <div width="294" height="165" data-expanded="false" data-show-video="true" data-test="song-preview" data-song="my-chemical-romance-helena" class="e1vaewax4 ec-19yr6sz e1ornw2x5">…</div>
- unexpected value "my-chemical-romance-helena"
- locator resolved to <div width="294" height="165" data-expanded="false" data-show-video="true" data-test="song-preview" data-song="my-chemical-romance-helena" class="e1vaewax4 ec-19yr6sz e1ornw2x5">…</div>
- unexpected value "my-chemical-romance-helena"
- locator resolved to <div width="294" height="165" data-expanded="false" data-show-video="true" data-test="song-preview" data-song="my-chemical-romance-helena" class="e1vaewax4 ec-19yr6sz e1ornw2x5">…</div>
- unexpected value "my-chemical-romance-helena"
- locator resolved to <div width="294" height="165" data-expanded="false" data-show-video="true" data-test="song-preview" data-song="my-chemical-romance-helena" class="e1vaewax4 ec-19yr6sz e1ornw2x5">…</div>
- unexpected value "my-chemical-romance-helena"
- locator resolved to <div width="294" height="165" data-expanded="false" data-show-video="true" data-test="song-preview" data-song="my-chemical-romance-helena" class="e1vaewax4 ec-19yr6sz e1ornw2x5">…</div>
- unexpected value "my-chemical-romance-helena"
- locator resolved to <div width="294" height="165" data-expanded="false" data-show-video="true" data-test="song-preview" data-song="my-chemical-romance-helena" class="e1vaewax4 ec-19yr6sz e1ornw2x5">…</div>
- unexpected value "my-chemical-romance-helena"
- locator resolved to <div width="294" height="165" data-expanded="false" data-show-video="true" data-test="song-preview" data-song="my-chemical-romance-helena" class="e1vaewax4 ec-19yr6sz e1ornw2x5">…</div>
- unexpected value "my-chemical-romance-helena"
- locator resolved to <div width="294" height="165" data-expanded="false" data-show-video="true" data-test="song-preview" data-song="my-chemical-romance-helena" class="e1vaewax4 ec-19yr6sz e1ornw2x5">…</div>
- unexpected value "my-chemical-romance-helena"
- locator resolved to <div width="294" height="165" data-expanded="false" data-show-video="true" data-test="song-preview" data-song="my-chemical-romance-helena" class="e1vaewax4 ec-19yr6sz e1ornw2x5">…</div>
- unexpected value "my-chemical-romance-helena"
at PageObjects/SongListPage.ts:66
64 |
65 | public expectSelectedSongToBe(songID: string) {
> 66 | return expect(this.songPreviewElement).toHaveAttribute('data-song', songID);
| ^
67 | }
68 |
69 | public expectSelectedSongNotToBe(songID: string) {
at SongListPagePO.expectSelectedSongToBe (/home/runner/work/allkaraoke/allkaraoke/tests/PageObjects/SongListPage.ts:66:44)
at /home/runner/work/allkaraoke/allkaraoke/tests/jukebox.spec.ts:32:30
at /home/runner/work/allkaraoke/allkaraoke/tests/jukebox.spec
|
quick-checks:
.storybook/main.js#L3
'react' is assigned a value but never used
|
quick-checks:
.storybook/main.js#L12
'configType' is defined but never used
|
quick-checks:
peerJSServer.js#L12
'peerServer' is assigned a value but never used
|
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:
public/sw.js#L33
'e' is defined but never used
|
quick-checks:
scripts/analyzeIndex.ts#L3
'data' is assigned a value but only used as a type
|
quick-checks:
scripts/analyzeIndex.ts#L18
'Data' is defined but never used
|
quick-checks:
scripts/processSongs.ts#L65
'fixAccentCharacters' is defined but never used
|
quick-checks:
scripts/processSongs.ts#L82
'appendBandOrigin' is defined but never used
|
Slow Test:
[firefox] › rate-unfinished-song.spec.ts#L1
[firefox] › rate-unfinished-song.spec.ts took 24.5s
|
Slow Test:
[firefox] › co-op-mode.spec.ts#L1
[firefox] › co-op-mode.spec.ts took 18.8s
|
Slow Test:
[firefox] › convert-and-sing-a-song.spec.ts#L1
[firefox] › convert-and-sing-a-song.spec.ts took 16.2s
|
e2e-tests-run (firefox, 1, 2)
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Slow Test:
[chromium] › rate-unfinished-song.spec.ts#L1
[chromium] › rate-unfinished-song.spec.ts took 31.0s
|
Slow Test:
[chromium] › duet-song.spec.ts#L1
[chromium] › duet-song.spec.ts took 30.6s
|
Slow Test:
[chromium] › mobile-phone-mode.spec.ts#L1
[chromium] › mobile-phone-mode.spec.ts took 21.2s
|
Slow Test:
[chromium] › convert-and-sing-a-song.spec.ts#L1
[chromium] › convert-and-sing-a-song.spec.ts took 20.7s
|
Slow Test:
[chromium] › co-op-mode.spec.ts#L1
[chromium] › co-op-mode.spec.ts took 18.4s
|
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.0m
|
Slow Test:
[firefox] › sing-a-song.spec.ts#L1
[firefox] › sing-a-song.spec.ts took 28.1s
|
Slow Test:
[firefox] › source-selection.spec.ts#L1
[firefox] › source-selection.spec.ts took 28.0s
|
Slow Test:
[firefox] › remote-mics-settings.spec.ts#L1
[firefox] › remote-mics-settings.spec.ts took 18.7s
|
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.3m
|
Slow Test:
[chromium] › sing-a-song.spec.ts#L1
[chromium] › sing-a-song.spec.ts took 35.8s
|
Slow Test:
[chromium] › remote-mics-sing-a-song.spec.ts#L1
[chromium] › remote-mics-sing-a-song.spec.ts took 35.4s
|
Slow Test:
[chromium] › source-selection.spec.ts#L1
[chromium] › source-selection.spec.ts took 28.0s
|
deploy
Skip setting environment url as environment 'production' may contain secret.
|
🎭 Playwright Run Summary
1 failed
[firefox] › jukebox.spec.ts:12:5 › Jukebox ─────────────────────────────────────────────────────
6 skipped
22 passed (2.6m)
|
🎭 Playwright Run Summary
1 passed (13.3s)
|
🎭 Playwright Run Summary
1 skipped
28 passed (4.0m)
|
🎭 Playwright Run Summary
3 skipped
25 passed (4.7m)
|
🎭 Playwright Run Summary
1 skipped
27 passed (5.9m)
|