This repository has been archived by the owner on May 8, 2024. It is now read-only.
Added fakerjs
to generate more realistic data in PlayWright tests
#112
docker-image.yml
on: push
Matrix: codeql / Analyze
Matrix: eslint / Run eslint scanning
Matrix: playwright / test
build-image
1m 42s
Annotations
3 errors, 1 warning, and 2 notices
[Google Chrome] βΊ multiplayer.spec.ts:7:5 βΊ Connexion Γ une partie existante:
tests/e2e/multiplayer.spec.ts#L44
1) [Google Chrome] βΊ multiplayer.spec.ts:7:5 βΊ Connexion Γ une partie existante ββββββββββββββββββ
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: getByText('Rosemary_Breitenberg60').first()
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for getByText('Rosemary_Breitenberg60').first()
42 |
43 | // VΓ©rification du rΓ΄le du joueur 2 par le joueur 1.
> 44 | await expect( player1Page.getByText( player2Name ).first() ).toBeVisible();
| ^
45 | } );
46 |
47 | //
at /home/runner/work/Domego/Domego/tests/e2e/multiplayer.spec.ts:44:63
|
[Google Chrome] βΊ multiplayer.spec.ts:7:5 βΊ Connexion Γ une partie existante:
tests/e2e/multiplayer.spec.ts#L1
1) [Google Chrome] βΊ multiplayer.spec.ts:7:5 βΊ Connexion Γ une partie existante ββββββββββββββββββ
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Test timeout of 30000ms exceeded.
|
[Google Chrome] βΊ multiplayer.spec.ts:7:5 βΊ Connexion Γ une partie existante:
tests/e2e/multiplayer.spec.ts#L23
1) [Google Chrome] βΊ multiplayer.spec.ts:7:5 βΊ Connexion Γ une partie existante ββββββββββββββββββ
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: locator.click: Test ended.
Call log:
- waiting for getByRole('button', { name: 'Create a new game' })
- locator resolved to <button disabled type="button">Create a new game</button>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #1
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #2
- waiting 20ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #3
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #4
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #5
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #6
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #7
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #8
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #9
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #10
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #11
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #12
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #13
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #14
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #15
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #16
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #17
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #18
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #19
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #20
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #21
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #22
- waiting 500ms
- waiting for element to be visible, enabled and stable
- el
|
Slow Test:
[Google Chrome] βΊ multiplayer.spec.ts#L1
[Google Chrome] βΊ multiplayer.spec.ts took 45.7s
|
π Playwright Run Summary
12 skipped
33 passed (34.1s)
|
π Playwright Run Summary
1 flaky
[Google Chrome] βΊ multiplayer.spec.ts:7:5 βΊ Connexion Γ une partie existante βββββββββββββββββββ
12 skipped
32 passed (1.3m)
|