Fixed permissions when importing some scripts into Docker images #228
docker-image.yml
on: push
Matrix: codeql / Analyze
Matrix: eslint / Run eslint scanning
Matrix: playwright / test
build-image
1m 43s
Annotations
2 errors, 10 warnings, and 2 notices
[chromium] › sharing.spec.ts:206:5 › Partage d'un fichier en écriture pour partage:
tests/e2e/sharing.spec.ts#L228
1) [chromium] › sharing.spec.ts:206:5 › Partage d'un fichier en écriture pour partage ────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('[data-sonner-toast][data-type = success]')
Expected: 2
Received: 0
Call log:
- expect.toHaveCount with timeout 10000ms
- waiting for locator('[data-sonner-toast][data-type = success]')
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- 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"
226 | await expect(
227 | page.locator( "[data-sonner-toast][data-type = success]" )
> 228 | ).toHaveCount( 2 );
| ^
229 |
230 | // Rechargement de la page pour fermer le menu des actions.
231 | // Source : https://github.com/radix-ui/primitives/issues/1836#issuecomment-1674338372
at /home/runner/work/Simple-File-Storage/Simple-File-Storage/tests/e2e/sharing.spec.ts:228:4
|
[chromium] › sharing.spec.ts:406:5 › Partage d'un fichier en écriture pour suppression:
tests/e2e/sharing.spec.ts#L421
2) [chromium] › sharing.spec.ts:406:5 › Partage d'un fichier en écriture pour suppression ────────
Error: Timed out 10000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('[data-sonner-toast][data-type = success]')
Expected: 1
Received: 0
Call log:
- expect.toHaveCount with timeout 10000ms
- waiting for locator('[data-sonner-toast][data-type = success]')
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- 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"
419 | await expect(
420 | page.locator( "[data-sonner-toast][data-type = success]" )
> 421 | ).toHaveCount( 1 );
| ^
422 |
423 | // Modification des permissions de partage pour l'utilisateur en écriture.
424 | await page.getByRole( "combobox" ).click();
at /home/runner/work/Simple-File-Storage/Simple-File-Storage/tests/e2e/sharing.spec.ts:421:4
|
Slow Test:
[Mobile Chrome] › sharing.spec.ts#L1
[Mobile Chrome] › sharing.spec.ts took 1.5m
|
Slow Test:
[chromium] › dashboard.spec.ts#L1
[chromium] › dashboard.spec.ts took 1.2m
|
Slow Test:
[Mobile Chrome] › dashboard.spec.ts#L1
[Mobile Chrome] › dashboard.spec.ts took 1.2m
|
Slow Test:
[Mobile Chrome] › settings.spec.ts#L1
[Mobile Chrome] › settings.spec.ts took 39.6s
|
Slow Test:
[chromium] › settings.spec.ts#L1
[chromium] › settings.spec.ts took 39.5s
|
Slow Test:
[Mobile Chrome] › sharing.spec.ts#L1
[Mobile Chrome] › sharing.spec.ts took 1.5m
|
Slow Test:
[chromium] › sharing.spec.ts#L1
[chromium] › sharing.spec.ts took 1.5m
|
Slow Test:
[Mobile Chrome] › dashboard.spec.ts#L1
[Mobile Chrome] › dashboard.spec.ts took 1.2m
|
Slow Test:
[chromium] › dashboard.spec.ts#L1
[chromium] › dashboard.spec.ts took 1.2m
|
Slow Test:
[Mobile Chrome] › settings.spec.ts#L1
[Mobile Chrome] › settings.spec.ts took 40.3s
|
🎭 Playwright Run Summary
2 flaky
[chromium] › sharing.spec.ts:206:5 › Partage d'un fichier en écriture pour partage ─────────────
[chromium] › sharing.spec.ts:406:5 › Partage d'un fichier en écriture pour suppression ─────────
4 skipped
64 passed (10.6m)
|
🎭 Playwright Run Summary
4 skipped
66 passed (10.0m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
FlorianLeChat~Simple-File-Storage~VTPQDE.dockerbuild
|
57.3 KB |
|