Added local SQLite database used for e2e tests to GitHub Actions #100
Annotations
10 errors, 5 warnings, and 1 notice
Run Playwright tests:
tests/e2e/authentication.spec.ts#L98
1) [chromium] › authentication.spec.ts:85:5 › Connexion réussie à un compte utilisateur ──────────
Error: Timed out 10000ms waiting for expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected string: "http://localhost:3000/dashboard"
Received string: "http://localhost:3000/authentication"
Call log:
- expect.toHaveURL with timeout 10000ms
- waiting for locator(':root')
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
96 |
97 | // Attente de la redirection vers la page du tableau de bord.
> 98 | await expect( page ).toHaveURL( "/dashboard" );
| ^
99 | } );
100 |
101 | //
at /home/runner/work/Simple-File-Storage/Simple-File-Storage/tests/e2e/authentication.spec.ts:98:23
|
Run Playwright tests:
tests/e2e/authentication.spec.ts#L98
1) [chromium] › authentication.spec.ts:85:5 › Connexion réussie à un compte utilisateur ──────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected string: "http://localhost:3000/dashboard"
Received string: "http://localhost:3000/authentication"
Call log:
- expect.toHaveURL with timeout 10000ms
- waiting for locator(':root')
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
96 |
97 | // Attente de la redirection vers la page du tableau de bord.
> 98 | await expect( page ).toHaveURL( "/dashboard" );
| ^
99 | } );
100 |
101 | //
at /home/runner/work/Simple-File-Storage/Simple-File-Storage/tests/e2e/authentication.spec.ts:98:23
|
Run Playwright tests:
tests/e2e/authentication.spec.ts#L98
1) [chromium] › authentication.spec.ts:85:5 › Connexion réussie à un compte utilisateur ──────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected string: "http://localhost:3000/dashboard"
Received string: "http://localhost:3000/authentication"
Call log:
- expect.toHaveURL with timeout 10000ms
- waiting for locator(':root')
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
96 |
97 | // Attente de la redirection vers la page du tableau de bord.
> 98 | await expect( page ).toHaveURL( "/dashboard" );
| ^
99 | } );
100 |
101 | //
at /home/runner/work/Simple-File-Storage/Simple-File-Storage/tests/e2e/authentication.spec.ts:98:23
|
Run Playwright tests:
tests/e2e/authentication.spec.ts#L117
2) [chromium] › authentication.spec.ts:104:5 › Déconnexion d'un compte utilisateur ───────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected string: "http://localhost:3000/dashboard"
Received string: "http://localhost:3000/authentication"
Call log:
- expect.toHaveURL with timeout 10000ms
- waiting for locator(':root')
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
115 |
116 | // Attente de la redirection vers la page du tableau de bord.
> 117 | await expect( page ).toHaveURL( "/dashboard" );
| ^
118 |
119 | // Clic sur le bouton d'ouverture du menu utilisateur.
120 | await page.locator( "header aside button:last-of-type" ).click();
at /home/runner/work/Simple-File-Storage/Simple-File-Storage/tests/e2e/authentication.spec.ts:117:23
|
Run Playwright tests:
tests/e2e/authentication.spec.ts#L117
2) [chromium] › authentication.spec.ts:104:5 › Déconnexion d'un compte utilisateur ───────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected string: "http://localhost:3000/dashboard"
Received string: "http://localhost:3000/authentication"
Call log:
- expect.toHaveURL with timeout 10000ms
- waiting for locator(':root')
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
115 |
116 | // Attente de la redirection vers la page du tableau de bord.
> 117 | await expect( page ).toHaveURL( "/dashboard" );
| ^
118 |
119 | // Clic sur le bouton d'ouverture du menu utilisateur.
120 | await page.locator( "header aside button:last-of-type" ).click();
at /home/runner/work/Simple-File-Storage/Simple-File-Storage/tests/e2e/authentication.spec.ts:117:23
|
Run Playwright tests:
tests/e2e/authentication.spec.ts#L117
2) [chromium] › authentication.spec.ts:104:5 › Déconnexion d'un compte utilisateur ───────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected string: "http://localhost:3000/dashboard"
Received string: "http://localhost:3000/authentication"
Call log:
- expect.toHaveURL with timeout 10000ms
- waiting for locator(':root')
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
115 |
116 | // Attente de la redirection vers la page du tableau de bord.
> 117 | await expect( page ).toHaveURL( "/dashboard" );
| ^
118 |
119 | // Clic sur le bouton d'ouverture du menu utilisateur.
120 | await page.locator( "header aside button:last-of-type" ).click();
at /home/runner/work/Simple-File-Storage/Simple-File-Storage/tests/e2e/authentication.spec.ts:117:23
|
Run Playwright tests:
tests/e2e/authentication.spec.ts#L57
3) [firefox] › authentication.spec.ts:41:5 › Création d'un compte utilisateur déjà existant ──────
Error: Timed out 10000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('[data-sonner-toast][data-type = error]')
Expected: 1
Received: 0
Call log:
- expect.toHaveCount with timeout 10000ms
- waiting for locator('[data-sonner-toast][data-type = error]')
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
55 | await expect(
56 | page.locator( "[data-sonner-toast][data-type = error]" )
> 57 | ).toHaveCount( 1 );
| ^
58 | } );
59 |
60 | //
at /home/runner/work/Simple-File-Storage/Simple-File-Storage/tests/e2e/authentication.spec.ts:57:4
|
Run Playwright tests:
tests/e2e/authentication.spec.ts#L57
3) [firefox] › authentication.spec.ts:41:5 › Création d'un compte utilisateur déjà existant ──────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('[data-sonner-toast][data-type = error]')
Expected: 1
Received: 0
Call log:
- expect.toHaveCount with timeout 10000ms
- waiting for locator('[data-sonner-toast][data-type = error]')
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
55 | await expect(
56 | page.locator( "[data-sonner-toast][data-type = error]" )
> 57 | ).toHaveCount( 1 );
| ^
58 | } );
59 |
60 | //
at /home/runner/work/Simple-File-Storage/Simple-File-Storage/tests/e2e/authentication.spec.ts:57:4
|
Run Playwright tests:
tests/e2e/authentication.spec.ts#L57
3) [firefox] › authentication.spec.ts:41:5 › Création d'un compte utilisateur déjà existant ──────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('[data-sonner-toast][data-type = error]')
Expected: 1
Received: 0
Call log:
- expect.toHaveCount with timeout 10000ms
- waiting for locator('[data-sonner-toast][data-type = error]')
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
55 | await expect(
56 | page.locator( "[data-sonner-toast][data-type = error]" )
> 57 | ).toHaveCount( 1 );
| ^
58 | } );
59 |
60 | //
at /home/runner/work/Simple-File-Storage/Simple-File-Storage/tests/e2e/authentication.spec.ts:57:4
|
Run Playwright tests:
tests/e2e/authentication.spec.ts#L98
4) [firefox] › authentication.spec.ts:85:5 › Connexion réussie à un compte utilisateur ───────────
Error: Timed out 10000ms waiting for expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected string: "http://localhost:3000/dashboard"
Received string: "http://localhost:3000/authentication"
Call log:
- expect.toHaveURL with timeout 10000ms
- waiting for locator(':root')
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
- locator resolved to <html lang="en" class="inter blue light">…</html>
- unexpected value "http://localhost:3000/authentication"
96 |
97 | // Attente de la redirection vers la page du tableau de bord.
> 98 | await expect( page ).toHaveURL( "/dashboard" );
| ^
99 | } );
100 |
101 | //
at /home/runner/work/Simple-File-Storage/Simple-File-Storage/tests/e2e/authentication.spec.ts:98:23
|
Run Playwright tests:
[firefox] › authentication.spec.ts#L1
[firefox] › authentication.spec.ts took 1.8m
|
Run Playwright tests:
[webkit] › authentication.spec.ts#L1
[webkit] › authentication.spec.ts took 1.7m
|
Run Playwright tests:
[Mobile Safari] › authentication.spec.ts#L1
[Mobile Safari] › authentication.spec.ts took 1.6m
|
Run Playwright tests:
[Mobile Chrome] › authentication.spec.ts#L1
[Mobile Chrome] › authentication.spec.ts took 1.6m
|
Run Playwright tests:
[chromium] › authentication.spec.ts#L1
[chromium] › authentication.spec.ts took 1.1m
|
Run Playwright tests
14 failed
[chromium] › authentication.spec.ts:85:5 › Connexion réussie à un compte utilisateur ───────────
[chromium] › authentication.spec.ts:104:5 › Déconnexion d'un compte utilisateur ────────────────
[firefox] › authentication.spec.ts:41:5 › Création d'un compte utilisateur déjà existant ───────
[firefox] › authentication.spec.ts:85:5 › Connexion réussie à un compte utilisateur ────────────
[firefox] › authentication.spec.ts:104:5 › Déconnexion d'un compte utilisateur ─────────────────
[webkit] › authentication.spec.ts:41:5 › Création d'un compte utilisateur déjà existant ────────
[webkit] › authentication.spec.ts:85:5 › Connexion réussie à un compte utilisateur ─────────────
[webkit] › authentication.spec.ts:104:5 › Déconnexion d'un compte utilisateur ──────────────────
[Mobile Chrome] › authentication.spec.ts:41:5 › Création d'un compte utilisateur déjà existant ─
[Mobile Chrome] › authentication.spec.ts:85:5 › Connexion réussie à un compte utilisateur ──────
[Mobile Chrome] › authentication.spec.ts:104:5 › Déconnexion d'un compte utilisateur ───────────
[Mobile Safari] › authentication.spec.ts:41:5 › Création d'un compte utilisateur déjà existant ─
[Mobile Safari] › authentication.spec.ts:85:5 › Connexion réussie à un compte utilisateur ──────
[Mobile Safari] › authentication.spec.ts:104:5 › Déconnexion d'un compte utilisateur ───────────
11 passed (9.0m)
|
Loading