Skip to content

Fixes #11

Fixes #11 #5

Triggered via push April 8, 2026 09:23
Status Failure
Total duration 2m 49s
Artifacts 1

ci.yml

on: push
Lint & Format
35s
Lint & Format
Tests unitaires
28s
Tests unitaires
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 4 warnings, and 1 notice
Tests E2E
Process completed with exit code 1.
[chromium] › e2e/home.spec.ts:27:7 › Règles du jeu › le bouton retour ramène à l'accueil: lucky7-app/frontend/e2e/home.spec.ts#L31
3) [chromium] › e2e/home.spec.ts:27:7 › Règles du jeu › le bouton retour ramène à l'accueil ────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toBeVisible() failed Locator: getByRole('heading', { name: 'Lucky7' }) Expected: visible Timeout: 5000ms Error: element(s) not found Call log: - Expect "toBeVisible" with timeout 5000ms - waiting for getByRole('heading', { name: 'Lucky7' }) 29 | await page.getByRole('button', { name: 'Règles du jeu' }).click(); 30 | await page.getByRole('button', { name: '←' }).first().click(); > 31 | await expect(page.getByRole('heading', { name: 'Lucky7' })).toBeVisible(); | ^ 32 | }); 33 | }); 34 | at /home/runner/work/Lucky7/Lucky7/lucky7-app/frontend/e2e/home.spec.ts:31:65
[chromium] › e2e/home.spec.ts:27:7 › Règles du jeu › le bouton retour ramène à l'accueil: lucky7-app/frontend/e2e/home.spec.ts#L31
3) [chromium] › e2e/home.spec.ts:27:7 › Règles du jeu › le bouton retour ramène à l'accueil ────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toBeVisible() failed Locator: getByRole('heading', { name: 'Lucky7' }) Expected: visible Timeout: 5000ms Error: element(s) not found Call log: - Expect "toBeVisible" with timeout 5000ms - waiting for getByRole('heading', { name: 'Lucky7' }) 29 | await page.getByRole('button', { name: 'Règles du jeu' }).click(); 30 | await page.getByRole('button', { name: '←' }).first().click(); > 31 | await expect(page.getByRole('heading', { name: 'Lucky7' })).toBeVisible(); | ^ 32 | }); 33 | }); 34 | at /home/runner/work/Lucky7/Lucky7/lucky7-app/frontend/e2e/home.spec.ts:31:65
[chromium] › e2e/home.spec.ts:27:7 › Règles du jeu › le bouton retour ramène à l'accueil: lucky7-app/frontend/e2e/home.spec.ts#L31
3) [chromium] › e2e/home.spec.ts:27:7 › Règles du jeu › le bouton retour ramène à l'accueil ────── Error: expect(locator).toBeVisible() failed Locator: getByRole('heading', { name: 'Lucky7' }) Expected: visible Timeout: 5000ms Error: element(s) not found Call log: - Expect "toBeVisible" with timeout 5000ms - waiting for getByRole('heading', { name: 'Lucky7' }) 29 | await page.getByRole('button', { name: 'Règles du jeu' }).click(); 30 | await page.getByRole('button', { name: '←' }).first().click(); > 31 | await expect(page.getByRole('heading', { name: 'Lucky7' })).toBeVisible(); | ^ 32 | }); 33 | }); 34 | at /home/runner/work/Lucky7/Lucky7/lucky7-app/frontend/e2e/home.spec.ts:31:65
[chromium] › e2e/home.spec.ts:19:7 › Règles du jeu › navigue vers la page des règles: lucky7-app/frontend/e2e/home.spec.ts#L22
2) [chromium] › e2e/home.spec.ts:19:7 › Règles du jeu › navigue vers la page des règles ────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toBeVisible() failed Locator: getByRole('heading', { name: 'Règles du jeu' }) Expected: visible Timeout: 5000ms Error: element(s) not found Call log: - Expect "toBeVisible" with timeout 5000ms - waiting for getByRole('heading', { name: 'Règles du jeu' }) 20 | await page.goto('/'); 21 | await page.getByRole('button', { name: 'Règles du jeu' }).click(); > 22 | await expect(page.getByRole('heading', { name: 'Règles du jeu' })).toBeVisible(); | ^ 23 | await expect(page.getByText('Préparation')).toBeVisible(); 24 | await expect(page.getByText('Règles spéciales')).toBeVisible(); 25 | }); at /home/runner/work/Lucky7/Lucky7/lucky7-app/frontend/e2e/home.spec.ts:22:72
[chromium] › e2e/home.spec.ts:19:7 › Règles du jeu › navigue vers la page des règles: lucky7-app/frontend/e2e/home.spec.ts#L22
2) [chromium] › e2e/home.spec.ts:19:7 › Règles du jeu › navigue vers la page des règles ────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toBeVisible() failed Locator: getByRole('heading', { name: 'Règles du jeu' }) Expected: visible Timeout: 5000ms Error: element(s) not found Call log: - Expect "toBeVisible" with timeout 5000ms - waiting for getByRole('heading', { name: 'Règles du jeu' }) 20 | await page.goto('/'); 21 | await page.getByRole('button', { name: 'Règles du jeu' }).click(); > 22 | await expect(page.getByRole('heading', { name: 'Règles du jeu' })).toBeVisible(); | ^ 23 | await expect(page.getByText('Préparation')).toBeVisible(); 24 | await expect(page.getByText('Règles spéciales')).toBeVisible(); 25 | }); at /home/runner/work/Lucky7/Lucky7/lucky7-app/frontend/e2e/home.spec.ts:22:72
[chromium] › e2e/home.spec.ts:19:7 › Règles du jeu › navigue vers la page des règles: lucky7-app/frontend/e2e/home.spec.ts#L22
2) [chromium] › e2e/home.spec.ts:19:7 › Règles du jeu › navigue vers la page des règles ────────── Error: expect(locator).toBeVisible() failed Locator: getByRole('heading', { name: 'Règles du jeu' }) Expected: visible Timeout: 5000ms Error: element(s) not found Call log: - Expect "toBeVisible" with timeout 5000ms - waiting for getByRole('heading', { name: 'Règles du jeu' }) 20 | await page.goto('/'); 21 | await page.getByRole('button', { name: 'Règles du jeu' }).click(); > 22 | await expect(page.getByRole('heading', { name: 'Règles du jeu' })).toBeVisible(); | ^ 23 | await expect(page.getByText('Préparation')).toBeVisible(); 24 | await expect(page.getByText('Règles spéciales')).toBeVisible(); 25 | }); at /home/runner/work/Lucky7/Lucky7/lucky7-app/frontend/e2e/home.spec.ts:22:72
[chromium] › e2e/home.spec.ts:4:7 › Page d'accueil › affiche le titre et les boutons principaux: lucky7-app/frontend/e2e/home.spec.ts#L6
1) [chromium] › e2e/home.spec.ts:4:7 › Page d'accueil › affiche le titre et les boutons principaux Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toBeVisible() failed Locator: getByRole('heading', { name: 'Lucky7' }) Expected: visible Timeout: 5000ms Error: element(s) not found Call log: - Expect "toBeVisible" with timeout 5000ms - waiting for getByRole('heading', { name: 'Lucky7' }) 4 | test('affiche le titre et les boutons principaux', async ({ page }) => { 5 | await page.goto('/'); > 6 | await expect(page.getByRole('heading', { name: 'Lucky7' })).toBeVisible(); | ^ 7 | await expect(page.getByRole('button', { name: '1 appareil' })).toBeVisible(); 8 | await expect(page.getByRole('button', { name: 'Règles du jeu' })).toBeVisible(); 9 | await expect(page.getByRole('button', { name: /À propos/i })).toBeVisible(); at /home/runner/work/Lucky7/Lucky7/lucky7-app/frontend/e2e/home.spec.ts:6:65
[chromium] › e2e/home.spec.ts:4:7 › Page d'accueil › affiche le titre et les boutons principaux: lucky7-app/frontend/e2e/home.spec.ts#L6
1) [chromium] › e2e/home.spec.ts:4:7 › Page d'accueil › affiche le titre et les boutons principaux Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toBeVisible() failed Locator: getByRole('heading', { name: 'Lucky7' }) Expected: visible Timeout: 5000ms Error: element(s) not found Call log: - Expect "toBeVisible" with timeout 5000ms - waiting for getByRole('heading', { name: 'Lucky7' }) 4 | test('affiche le titre et les boutons principaux', async ({ page }) => { 5 | await page.goto('/'); > 6 | await expect(page.getByRole('heading', { name: 'Lucky7' })).toBeVisible(); | ^ 7 | await expect(page.getByRole('button', { name: '1 appareil' })).toBeVisible(); 8 | await expect(page.getByRole('button', { name: 'Règles du jeu' })).toBeVisible(); 9 | await expect(page.getByRole('button', { name: /À propos/i })).toBeVisible(); at /home/runner/work/Lucky7/Lucky7/lucky7-app/frontend/e2e/home.spec.ts:6:65
[chromium] › e2e/home.spec.ts:4:7 › Page d'accueil › affiche le titre et les boutons principaux: lucky7-app/frontend/e2e/home.spec.ts#L6
1) [chromium] › e2e/home.spec.ts:4:7 › Page d'accueil › affiche le titre et les boutons principaux Error: expect(locator).toBeVisible() failed Locator: getByRole('heading', { name: 'Lucky7' }) Expected: visible Timeout: 5000ms Error: element(s) not found Call log: - Expect "toBeVisible" with timeout 5000ms - waiting for getByRole('heading', { name: 'Lucky7' }) 4 | test('affiche le titre et les boutons principaux', async ({ page }) => { 5 | await page.goto('/'); > 6 | await expect(page.getByRole('heading', { name: 'Lucky7' })).toBeVisible(); | ^ 7 | await expect(page.getByRole('button', { name: '1 appareil' })).toBeVisible(); 8 | await expect(page.getByRole('button', { name: 'Règles du jeu' })).toBeVisible(); 9 | await expect(page.getByRole('button', { name: /À propos/i })).toBeVisible(); at /home/runner/work/Lucky7/Lucky7/lucky7-app/frontend/e2e/home.spec.ts:6:65
Tests unitaires
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Lint & Format
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Tests E2E
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Tests E2E
No files were found with the provided path: lucky7-app/frontend/playwright-report/. No artifacts will be uploaded.
🎭 Playwright Run Summary
3 failed [chromium] › e2e/home.spec.ts:4:7 › Page d'accueil › affiche le titre et les boutons principaux [chromium] › e2e/home.spec.ts:19:7 › Règles du jeu › navigue vers la page des règles ─────────── [chromium] › e2e/home.spec.ts:27:7 › Règles du jeu › le bouton retour ramène à l'accueil ─────── 5 passed (59.5s)

Artifacts

Produced during runtime
Name Size Digest
coverage-report Expired
90.1 KB
sha256:72e268497235738af9b51c106423bf7737904c03a06b4175718ae4817f421073