import fewer duplicates #1477
Annotations
1 error, 6 warnings, and 1 notice
Run E2E tests:
tests/PageObjects/PostGameResultsPage.ts#L39
1) [chromium] › sing-a-song.spec.ts:39:5 › Sing a song › After game is ended, properly players score values should be displayed
Error: Timed out 7000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: getByTestId('player-1-score')
Expected string: "305257"
Received string: "308655"
Call log:
- expect.toHaveAttribute with timeout 7000ms
- waiting for getByTestId('player-1-score')
- locator resolved to <span data-win="false" data-score="308655" data-test="player-1-score" class="ec-10pnj61 e1vy0af42">…</span>
- unexpected value "308655"
- locator resolved to <span data-win="false" data-score="308655" data-test="player-1-score" class="ec-10pnj61 e1vy0af42">…</span>
- unexpected value "308655"
- locator resolved to <span data-win="false" data-score="308655" data-test="player-1-score" class="ec-10pnj61 e1vy0af42">…</span>
- unexpected value "308655"
- locator resolved to <span data-win="false" data-score="308655" data-test="player-1-score" class="ec-10pnj61 e1vy0af42">…</span>
- unexpected value "308655"
- locator resolved to <span data-win="false" data-score="308655" data-test="player-1-score" class="ec-10pnj61 e1vy0af42">…</span>
- unexpected value "308655"
- locator resolved to <span data-win="false" data-score="308655" data-test="player-1-score" class="ec-10pnj61 e1vy0af42">…</span>
- unexpected value "308655"
- locator resolved to <span data-win="false" data-score="308655" data-test="player-1-score" class="ec-10pnj61 e1vy0af42">…</span>
- unexpected value "308655"
- locator resolved to <span data-win="false" data-score="308655" data-test="player-1-score" class="ec-10pnj61 e1vy0af42">…</span>
- unexpected value "308655"
- locator resolved to <span data-win="false" data-score="308655" data-test="player-1-score" class="ec-10pnj61 e1vy0af42">…</span>
- unexpected value "308655"
- locator resolved to <span data-win="false" data-score="308655" data-test="player-1-score" class="ec-10pnj61 e1vy0af42">…</span>
- unexpected value "308655"
- locator resolved to <span data-win="true" data-score="308655" data-test="player-1-score" class="ec-10pnj61 e1vy0af42">…</span>
- unexpected value "308655"
at PageObjects/PostGameResultsPage.ts:39
37 |
38 | public async expectPlayerScoreValueToBe(playerNumber: number, expectedValue: string) {
> 39 | await expect(this.getPlayerScoreElement(playerNumber)).toHaveAttribute('data-score', expectedValue);
| ^
40 | }
41 |
42 | public get playersCoopScoreElement() {
at PostGameResultsPagePO.expectPlayerScoreValueToBe (/home/runner/work/allkaraoke/allkaraoke/tests/PageObjects/PostGameResultsPage.ts:39:60)
at /home/runner/work/allkaraoke/allkaraoke/tests/sing-a-song.spec.ts:185:37
at /home/runner/work/allkaraoke/allkaraoke/tests/sing-a-song.spec.ts:181:3
|
Run E2E tests:
[chromium] › selection-playlist.spec.ts#L1
[chromium] › selection-playlist.spec.ts took 1.5m
|
Run E2E tests:
[chromium] › remote-song-list.spec.ts#L1
[chromium] › remote-song-list.spec.ts took 1.5m
|
Run E2E tests:
[chromium] › sing-a-song.spec.ts#L1
[chromium] › sing-a-song.spec.ts took 38.5s
|
Run E2E tests:
[chromium] › remote-mics-sing-a-song.spec.ts#L1
[chromium] › remote-mics-sing-a-song.spec.ts took 30.9s
|
Run E2E tests:
[chromium] › source-selection.spec.ts#L1
[chromium] › source-selection.spec.ts took 20.9s
|
Run E2E tests
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Run E2E tests
1 failed
[chromium] › sing-a-song.spec.ts:39:5 › Sing a song ────────────────────────────────────────────
2 skipped
25 passed (6.1m)
|
Loading