Skip to content

TECH Refacto agency rights #1014

TECH Refacto agency rights

TECH Refacto agency rights #1014

Triggered via pull request November 6, 2024 13:48
Status Failure
Total duration 8m 11s
Artifacts 1

validation-pr.yml

on: pull_request
deploy-review-app  /  Deploy to review app pr2345
3m 31s
deploy-review-app / Deploy to review app pr2345
fullcheck  /  Back integration tests
2m 21s
fullcheck / Back integration tests
fullcheck  /  Playwright tests
8m 0s
fullcheck / Playwright tests
Verify migration order
22s
Verify migration order
Matrix: fullcheck /
notify-pr
0s
notify-pr
run-seeds
0s
run-seeds
Fit to window
Zoom out
Zoom in

Annotations

11 errors, 4 warnings, and 1 notice
deploy-review-app / Deploy to review app pr2345
Process completed with exit code 1.
[chromium] › admin/manageUser.spec.ts:11:7 › Manage users in admin › Can add a user to an agency: playwright/utils/agency.ts#L117
1) [chromium] › admin/manageUser.spec.ts:11:7 › Manage users in admin › Can add a user to an agency Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: locator('#im-form-edit-agency__users-table') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 10000ms - waiting for locator('#im-form-edit-agency__users-table') at ../utils/agency.ts:117 115 | await expect( 116 | page.locator(`#${domElementIds.admin.agencyTab.agencyUsersTable}`), > 117 | ).toBeVisible(); | ^ 118 | const addUserButton = page.locator( 119 | `#${domElementIds.admin.agencyTab.openManageUserModalButton}`, 120 | ); at addUserToAgency (/home/runner/work/immersion-facile/immersion-facile/playwright/utils/agency.ts:117:5) at /home/runner/work/immersion-facile/immersion-facile/playwright/tests/admin/manageUser.spec.ts:12:5
[chromium] › admin/manageUser.spec.ts:11:7 › Manage users in admin › Can add a user to an agency: playwright/utils/agency.ts#L117
1) [chromium] › admin/manageUser.spec.ts:11:7 › Manage users in admin › Can add a user to an agency Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: locator('#im-form-edit-agency__users-table') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 10000ms - waiting for locator('#im-form-edit-agency__users-table') at ../utils/agency.ts:117 115 | await expect( 116 | page.locator(`#${domElementIds.admin.agencyTab.agencyUsersTable}`), > 117 | ).toBeVisible(); | ^ 118 | const addUserButton = page.locator( 119 | `#${domElementIds.admin.agencyTab.openManageUserModalButton}`, 120 | ); at addUserToAgency (/home/runner/work/immersion-facile/immersion-facile/playwright/utils/agency.ts:117:5) at /home/runner/work/immersion-facile/immersion-facile/playwright/tests/admin/manageUser.spec.ts:12:5
[chromium] › admin/manageUser.spec.ts:11:7 › Manage users in admin › Can add a user to an agency: playwright/utils/agency.ts#L117
1) [chromium] › admin/manageUser.spec.ts:11:7 › Manage users in admin › Can add a user to an agency Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: locator('#im-form-edit-agency__users-table') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 10000ms - waiting for locator('#im-form-edit-agency__users-table') at ../utils/agency.ts:117 115 | await expect( 116 | page.locator(`#${domElementIds.admin.agencyTab.agencyUsersTable}`), > 117 | ).toBeVisible(); | ^ 118 | const addUserButton = page.locator( 119 | `#${domElementIds.admin.agencyTab.openManageUserModalButton}`, 120 | ); at addUserToAgency (/home/runner/work/immersion-facile/immersion-facile/playwright/utils/agency.ts:117:5) at /home/runner/work/immersion-facile/immersion-facile/playwright/tests/admin/manageUser.spec.ts:12:5
[chromium] › admin/manageUser.spec.ts:15:7 › Manage users in admin › Can edit roles of a user: playwright/tests/admin/manageUser.spec.ts#L25
2) [chromium] › admin/manageUser.spec.ts:15:7 › Manage users in admin › Can edit roles of a user ─ Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: locator('#im-form-edit-agency__users-table') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 10000ms - waiting for locator('#im-form-edit-agency__users-table') 23 | await expect( 24 | page.locator(`#${domElementIds.admin.agencyTab.agencyUsersTable}`), > 25 | ).toBeVisible(); | ^ 26 | await page 27 | .locator( 28 | `[id^=${domElementIds.admin.agencyTab.editAgencyUserRoleButton}]`, at /home/runner/work/immersion-facile/immersion-facile/playwright/tests/admin/manageUser.spec.ts:25:7
[chromium] › admin/manageUser.spec.ts:15:7 › Manage users in admin › Can edit roles of a user: playwright/tests/admin/manageUser.spec.ts#L25
2) [chromium] › admin/manageUser.spec.ts:15:7 › Manage users in admin › Can edit roles of a user ─ Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: locator('#im-form-edit-agency__users-table') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 10000ms - waiting for locator('#im-form-edit-agency__users-table') 23 | await expect( 24 | page.locator(`#${domElementIds.admin.agencyTab.agencyUsersTable}`), > 25 | ).toBeVisible(); | ^ 26 | await page 27 | .locator( 28 | `[id^=${domElementIds.admin.agencyTab.editAgencyUserRoleButton}]`, at /home/runner/work/immersion-facile/immersion-facile/playwright/tests/admin/manageUser.spec.ts:25:7
[chromium] › admin/manageUser.spec.ts:15:7 › Manage users in admin › Can edit roles of a user: playwright/tests/admin/manageUser.spec.ts#L25
2) [chromium] › admin/manageUser.spec.ts:15:7 › Manage users in admin › Can edit roles of a user ─ Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: locator('#im-form-edit-agency__users-table') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 10000ms - waiting for locator('#im-form-edit-agency__users-table') 23 | await expect( 24 | page.locator(`#${domElementIds.admin.agencyTab.agencyUsersTable}`), > 25 | ).toBeVisible(); | ^ 26 | await page 27 | .locator( 28 | `[id^=${domElementIds.admin.agencyTab.editAgencyUserRoleButton}]`, at /home/runner/work/immersion-facile/immersion-facile/playwright/tests/admin/manageUser.spec.ts:25:7
[chromium] › convention/conventionWorkflow.spec.ts:50:9 › Convention creation and modification workflow › Convention admin get notifications magic links › signs convention for first signatory and validator requires modification: playwright/utils/admin.ts#L40
3) [chromium] › convention/conventionWorkflow.spec.ts:50:9 › Convention creation and modification workflow › Convention admin get notifications magic links › signs convention for first signatory and validator requires modification Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: locator('.fr-accordion:has-text("NEW_CONVENTION_AGENCY_NOTIFICATION")').first().locator('.fr-accordion__btn') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 10000ms - waiting for locator('.fr-accordion:has-text("NEW_CONVENTION_AGENCY_NOTIFICATION")').first().locator('.fr-accordion__btn') at ../utils/admin.ts:40 38 | .nth(elementIndex); 39 | const locator = emailSection.locator(".fr-accordion__btn"); > 40 | await expect(locator).toBeVisible(); | ^ 41 | await locator.click(); 42 | return emailSection; 43 | }; at openEmailInAdmin (/home/runner/work/immersion-facile/immersion-facile/playwright/utils/admin.ts:40:25) at /home/runner/work/immersion-facile/immersion-facile/playwright/tests/convention/conventionWorkflow.spec.ts:55:28
[chromium] › convention/conventionWorkflow.spec.ts:50:9 › Convention creation and modification workflow › Convention admin get notifications magic links › signs convention for first signatory and validator requires modification: playwright/utils/admin.ts#L40
3) [chromium] › convention/conventionWorkflow.spec.ts:50:9 › Convention creation and modification workflow › Convention admin get notifications magic links › signs convention for first signatory and validator requires modification Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: locator('.fr-accordion:has-text("NEW_CONVENTION_AGENCY_NOTIFICATION")').first().locator('.fr-accordion__btn') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 10000ms - waiting for locator('.fr-accordion:has-text("NEW_CONVENTION_AGENCY_NOTIFICATION")').first().locator('.fr-accordion__btn') at ../utils/admin.ts:40 38 | .nth(elementIndex); 39 | const locator = emailSection.locator(".fr-accordion__btn"); > 40 | await expect(locator).toBeVisible(); | ^ 41 | await locator.click(); 42 | return emailSection; 43 | }; at openEmailInAdmin (/home/runner/work/immersion-facile/immersion-facile/playwright/utils/admin.ts:40:25) at /home/runner/work/immersion-facile/immersion-facile/playwright/tests/convention/conventionWorkflow.spec.ts:55:28
[chromium] › convention/conventionWorkflow.spec.ts:50:9 › Convention creation and modification workflow › Convention admin get notifications magic links › signs convention for first signatory and validator requires modification: playwright/utils/admin.ts#L40
3) [chromium] › convention/conventionWorkflow.spec.ts:50:9 › Convention creation and modification workflow › Convention admin get notifications magic links › signs convention for first signatory and validator requires modification Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: locator('.fr-accordion:has-text("NEW_CONVENTION_AGENCY_NOTIFICATION")').first().locator('.fr-accordion__btn') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 10000ms - waiting for locator('.fr-accordion:has-text("NEW_CONVENTION_AGENCY_NOTIFICATION")').first().locator('.fr-accordion__btn') at ../utils/admin.ts:40 38 | .nth(elementIndex); 39 | const locator = emailSection.locator(".fr-accordion__btn"); > 40 | await expect(locator).toBeVisible(); | ^ 41 | await locator.click(); 42 | return emailSection; 43 | }; at openEmailInAdmin (/home/runner/work/immersion-facile/immersion-facile/playwright/utils/admin.ts:40:25) at /home/runner/work/immersion-facile/immersion-facile/playwright/tests/convention/conventionWorkflow.spec.ts:55:28
[chromium] › dashboard/agencyWorkflow.spec.ts:82:9 › Agency dashboard workflow › Agency admin registration › admin validates user registration to agency: playwright/tests/dashboard/agencyWorkflow.spec.ts#L1
4) [chromium] › dashboard/agencyWorkflow.spec.ts:82:9 › Agency dashboard workflow › Agency admin registration › admin validates user registration to agency Test timeout of 60000ms exceeded.
Slow Test: playwright/[chromium] › establishment/establishmentWorkflow.spec.ts#L1
playwright/[chromium] › establishment/establishmentWorkflow.spec.ts took 2.1m
Slow Test: playwright/[chromium] › agency/agencyWorkflow.spec.ts#L1
playwright/[chromium] › agency/agencyWorkflow.spec.ts took 36.5s
Slow Test: playwright/[chromium] › admin/apiConsumerWorkflow.spec.ts#L1
playwright/[chromium] › admin/apiConsumerWorkflow.spec.ts took 22.4s
Slow Test: playwright/[chromium] › search/search.spec.ts#L1
playwright/[chromium] › search/search.spec.ts took 16.5s
🎭 Playwright Run Summary
5 failed [chromium] › admin/manageUser.spec.ts:11:7 › Manage users in admin › Can add a user to an agency [chromium] › admin/manageUser.spec.ts:15:7 › Manage users in admin › Can edit roles of a user ── [chromium] › convention/conventionWorkflow.spec.ts:50:9 › Convention creation and modification workflow › Convention admin get notifications magic links › signs convention for first signatory and validator requires modification [chromium] › dashboard/agencyWorkflow.spec.ts:82:9 › Agency dashboard workflow › Agency admin registration › admin validates user registration to agency [chromium] › dashboard/establishmentWorkflow.spec.ts:14:9 › Establishment dashboard workflow › Discussions › should be able to reject candidate on a discussion 1 flaky [chromium] › dashboard/agencyWorkflow.spec.ts:15:9 › Agency dashboard workflow › Agency creation › creates a new agency 2 skipped 9 did not run 39 passed (4.7m)

Artifacts

Produced during runtime
Name Size
playwright-report
67.2 MB