Skip to content

#2847 - API recherche avec filtre codes naf #1788

#2847 - API recherche avec filtre codes naf

#2847 - API recherche avec filtre codes naf #1788

Triggered via pull request January 24, 2025 15:05
Status Failure
Total duration 9m 22s
Artifacts 1

validation-pr.yml

on: pull_request
deploy-review-app  /  Deploy to review app pr2875
8m 12s
deploy-review-app / Deploy to review app pr2875
fullcheck  /  Back integration tests
2m 18s
fullcheck / Back integration tests
fullcheck  /  Playwright tests
8m 47s
fullcheck / Playwright tests
Verify migration order
19s
Verify migration order
Matrix: fullcheck /
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 14 warnings, and 1 notice
[chromium] › agency/agencyWorkflow.spec.ts:21:7 › Agency workflow › Cannot add a second agency with same data: playwright/utils/agency.ts#L30
1) [chromium] › agency/agencyWorkflow.spec.ts:21:7 › Agency workflow › Cannot add a second agency with same data Error: Timed out 10000ms waiting for expect(locator).toHaveValue(expected) Locator: locator('#im-form-add-agency__address-autocomplete-input') Expected string: "55 Rue Boissonade 75014 Paris" Received string: "" Call log: - expect.toHaveValue with timeout 10000ms - waiting for locator('#im-form-add-agency__address-autocomplete-input') - locator resolved to <input value="" disabled type="text" role="combobox" class="fr-input" autocomplete="off" spellcheck="false" aria-expanded="false" autocapitalize="none" aria-autocomplete="list" placeholder="Ex: 26 rue du labrador, 37000 Tours" id="im-form-add-agency__address-autocomplete-input" aria-describedby="im-form-add-agency__address-autocomplete-input-desc-error"/> - unexpected value "" - locator resolved to <input value="" disabled type="text" role="combobox" class="fr-input" autocomplete="off" spellcheck="false" aria-expanded="false" autocapitalize="none" aria-autocomplete="list" placeholder="Ex: 26 rue du labrador, 37000 Tours" id="im-form-add-agency__address-autocomplete-input" aria-describedby="im-form-add-agency__address-autocomplete-input-desc-error"/> - unexpected value "" - locator resolved to <input value="" disabled type="text" role="combobox" class="fr-input" autocomplete="off" spellcheck="false" aria-expanded="false" autocapitalize="none" aria-autocomplete="list" placeholder="Ex: 26 rue du labrador, 37000 Tours" id="im-form-add-agency__address-autocomplete-input" aria-describedby="im-form-add-agency__address-autocomplete-input-desc-error"/> - unexpected value "" - locator resolved to <input value="" disabled type="text" role="combobox" class="fr-input" autocomplete="off" spellcheck="false" aria-expanded="false" autocapitalize="none" aria-autocomplete="list" placeholder="Ex: 26 rue du labrador, 37000 Tours" id="im-form-add-agency__address-autocomplete-input" aria-describedby="im-form-add-agency__address-autocomplete-input-desc-error"/> - unexpected value "" - locator resolved to <input value="" disabled type="text" role="combobox" class="fr-input" autocomplete="off" spellcheck="false" aria-expanded="false" autocapitalize="none" aria-autocomplete="list" placeholder="Ex: 26 rue du labrador, 37000 Tours" id="im-form-add-agency__address-autocomplete-input" aria-describedby="im-form-add-agency__address-autocomplete-input-desc-error"/> - unexpected value "" - locator resolved to <input value="" type="text" role="combobox" class="fr-input" autocomplete="off" spellcheck="false" aria-expanded="false" autocapitalize="none" aria-autocomplete="list" placeholder="Ex: 26 rue du labrador, 37000 Tours" id="im-form-add-agency__address-autocomplete-input" aria-describedby="im-form-add-agency__address-autocomplete-input-desc-error"/> - unexpected value "" - locator resolved to <input value="" type="text" role="combobox" class="fr-input" autocomplete="off" spellcheck="false" aria-expanded="false" autocapitalize="none" aria-autocomplete="list" placeholder="Ex: 26 rue du labrador, 37000 Tours" id="im-form-add-agency__address-autocomplete-input" aria-describedby="im-form-add-agency__address-autocomplete-input-desc-error"/> - unexpected value "" - locator resolved to <input value="" type="text" role="combobox" class="fr-input" autocomplete="off" spellcheck="false" aria-expanded="false" autocapitalize="none" aria-autocomplete="list" placeholder="Ex: 26 rue du labrador, 37000 Tours" id="im-form-add-agency__address-autocomplete-input" aria-describedby="im-form-add-agency__address-autocomplete-input-desc-error"/> - unexpected value "" - locator resolved to <input value="" type="text" role="combobox" class="fr-input" autocomplete="off" spellcheck="false" aria-expanded="false" autocapitalize="none" aria-autocomplete="list" placeholder="Ex: 26 rue du labrador, 37000 Tours" id="im-form-add-agency__address-autocomplete-
[chromium] › agency/agencyWorkflow.spec.ts:14:7 › Agency workflow › Can add an agency (prescripteur): playwright/tests/agency/agencyWorkflow.spec.ts#L18
2) [chromium] › agency/agencyWorkflow.spec.ts:14:7 › Agency workflow › Can add an agency (prescripteur), with one step of validators Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: locator('.fr-alert--success') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 10000ms - waiting for locator('.fr-alert--success') 16 | }) => { 17 | agencyAddedId = await fillAndSubmitBasicAgencyForm(page); > 18 | await expect(page.locator(".fr-alert--success")).toBeVisible(); | ^ 19 | }); 20 | 21 | test("Cannot add a second agency with same data", async ({ page }) => { at /home/runner/work/immersion-facile/immersion-facile/playwright/tests/agency/agencyWorkflow.spec.ts:18:54
[chromium] › agency/agencyWorkflow.spec.ts:14:7 › Agency workflow › Can add an agency (prescripteur): playwright/tests/agency/agencyWorkflow.spec.ts#L18
2) [chromium] › agency/agencyWorkflow.spec.ts:14:7 › Agency workflow › Can add an agency (prescripteur), with one step of validators Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: locator('.fr-alert--success') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 10000ms - waiting for locator('.fr-alert--success') 16 | }) => { 17 | agencyAddedId = await fillAndSubmitBasicAgencyForm(page); > 18 | await expect(page.locator(".fr-alert--success")).toBeVisible(); | ^ 19 | }); 20 | 21 | test("Cannot add a second agency with same data", async ({ page }) => { at /home/runner/work/immersion-facile/immersion-facile/playwright/tests/agency/agencyWorkflow.spec.ts:18:54
[chromium] › convention/conventionWorkflow.spec.ts:23:7 › Convention creation and modification workflow › creates a new convention: playwright/tests/convention/conventionWorkflow.spec.ts#L1
3) [chromium] › convention/conventionWorkflow.spec.ts:23:7 › Convention creation and modification workflow › creates a new convention Test timeout of 60000ms exceeded.
[chromium] › convention/conventionWorkflow.spec.ts:23:7 › Convention creation and modification workflow › creates a new convention: playwright/utils/utils.ts#L22
3) [chromium] › convention/conventionWorkflow.spec.ts:23:7 › Convention creation and modification workflow › creates a new convention Error: locator.waitFor: Test timeout of 60000ms exceeded. Call log: - waiting for locator('.im-convention-summary__section').first() to be visible at ../utils/utils.ts:22 20 | ) => { 21 | const confirmation = await page.locator(selector).first(); > 22 | await confirmation.waitFor(); | ^ 23 | await expect(confirmation).toBeVisible(); 24 | }; 25 | at expectElementToBeVisible (/home/runner/work/immersion-facile/immersion-facile/playwright/utils/utils.ts:22:22) at confirmCreateConventionFormSubmit (/home/runner/work/immersion-facile/immersion-facile/playwright/utils/convention.ts:359:3) at submitBasicConventionForm (/home/runner/work/immersion-facile/immersion-facile/playwright/utils/convention.ts:140:3) at /home/runner/work/immersion-facile/immersion-facile/playwright/tests/convention/conventionWorkflow.spec.ts:24:27
[chromium] › dashboard/agencyWorkflow.spec.ts:15:9 › Agency dashboard workflow › Agency creation › creates a new agency: playwright/utils/agency.ts#L30
4) [chromium] › dashboard/agencyWorkflow.spec.ts:15:9 › Agency dashboard workflow › Agency creation › creates a new agency Error: Timed out 10000ms waiting for expect(locator).toHaveValue(expected) Locator: locator('#im-form-add-agency__address-autocomplete-input') Expected string: "1 Avenue Jean-Marie Verne 01000 Bourg-en-Bresse" Received string: "" Call log: - expect.toHaveValue with timeout 10000ms - waiting for locator('#im-form-add-agency__address-autocomplete-input') - locator resolved to <input value="" disabled type="text" role="combobox" class="fr-input" autocomplete="off" spellcheck="false" aria-expanded="false" autocapitalize="none" aria-autocomplete="list" placeholder="Ex: 26 rue du labrador, 37000 Tours" id="im-form-add-agency__address-autocomplete-input" aria-describedby="im-form-add-agency__address-autocomplete-input-desc-error"/> - unexpected value "" - locator resolved to <input value="" disabled type="text" role="combobox" class="fr-input" autocomplete="off" spellcheck="false" aria-expanded="false" autocapitalize="none" aria-autocomplete="list" placeholder="Ex: 26 rue du labrador, 37000 Tours" id="im-form-add-agency__address-autocomplete-input" aria-describedby="im-form-add-agency__address-autocomplete-input-desc-error"/> - unexpected value "" - locator resolved to <input value="" disabled type="text" role="combobox" class="fr-input" autocomplete="off" spellcheck="false" aria-expanded="false" autocapitalize="none" aria-autocomplete="list" placeholder="Ex: 26 rue du labrador, 37000 Tours" id="im-form-add-agency__address-autocomplete-input" aria-describedby="im-form-add-agency__address-autocomplete-input-desc-error"/> - unexpected value "" - locator resolved to <input value="" type="text" role="combobox" class="fr-input" autocomplete="off" spellcheck="false" aria-expanded="false" autocapitalize="none" aria-autocomplete="list" placeholder="Ex: 26 rue du labrador, 37000 Tours" id="im-form-add-agency__address-autocomplete-input" aria-describedby="im-form-add-agency__address-autocomplete-input-desc-error"/> - unexpected value "" - locator resolved to <input value="" type="text" role="combobox" class="fr-input" autocomplete="off" spellcheck="false" aria-expanded="false" autocapitalize="none" aria-autocomplete="list" placeholder="Ex: 26 rue du labrador, 37000 Tours" id="im-form-add-agency__address-autocomplete-input" aria-describedby="im-form-add-agency__address-autocomplete-input-desc-error"/> - unexpected value "" - locator resolved to <input value="" type="text" role="combobox" class="fr-input" autocomplete="off" spellcheck="false" aria-expanded="false" autocapitalize="none" aria-autocomplete="list" placeholder="Ex: 26 rue du labrador, 37000 Tours" id="im-form-add-agency__address-autocomplete-input" aria-describedby="im-form-add-agency__address-autocomplete-input-desc-error"/> - unexpected value "" - locator resolved to <input value="" type="text" role="combobox" class="fr-input" autocomplete="off" spellcheck="false" aria-expanded="false" autocapitalize="none" aria-autocomplete="list" placeholder="Ex: 26 rue du labrador, 37000 Tours" id="im-form-add-agency__address-autocomplete-input" aria-describedby="im-form-add-agency__address-autocomplete-input-desc-error"/> - unexpected value "" - locator resolved to <input value="" type="text" role="combobox" class="fr-input" autocomplete="off" spellcheck="false" aria-expanded="false" autocapitalize="none" aria-autocomplete="list" placeholder="Ex: 26 rue du labrador, 37000 Tours" id="im-form-add-agency__address-autocomplete-input" aria-describedby="im-form-add-agency__address-autocomplete-input-desc-error"/> - unexpected value "" - locator resolved to <input value="" type="text" role="combobox" class="fr-input" autocomplete="off" spellcheck="false" aria-expanded="false" autocapitalize="none" aria-autocomplete="list" placeholder="Ex: 26 rue du labrador, 37000 Tours" id="im-form-add-agency__address-aut
[chromium] › dashboard/agencyWorkflow.spec.ts:15:9 › Agency dashboard workflow › Agency creation › creates a new agency: playwright/tests/dashboard/agencyWorkflow.spec.ts#L23
4) [chromium] › dashboard/agencyWorkflow.spec.ts:15:9 › Agency dashboard workflow › Agency creation › creates a new agency Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: locator('.fr-alert--success').first() Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 10000ms - waiting for locator('.fr-alert--success').first() 21 | await expect( 22 | await page.locator(".fr-alert--success").first(), > 23 | ).toBeVisible(); | ^ 24 | await expect(agencyId).not.toBeNull(); 25 | }); 26 | }); at /home/runner/work/immersion-facile/immersion-facile/playwright/tests/dashboard/agencyWorkflow.spec.ts:23:9
[chromium] › establishment/establishmentWorkflow.spec.ts:89:7 › Establishment creation and modification workflow › creates a new establishment: playwright/tests/establishment/createNewEstablishment.ts#L73
5) [chromium] › establishment/establishmentWorkflow.spec.ts:89:7 › Establishment creation and modification workflow › creates a new establishment Error: Timed out 10000ms waiting for expect(locator).not.toHaveValue(expected) Locator: locator('#im-form-create-establishment__business-name') Expected string: not "" Received string: "" Call log: - expect.not.toHaveValue with timeout 10000ms - waiting for locator('#im-form-create-establishment__business-name') - locator resolved to <input readonly required="" type="text" class="fr-input" name="businessName" id="im-form-create-establishment__business-name" label="Vérifiez le nom (raison sociale) de votre établissement *" aria-describedby="im-form-create-establishment__business-name-desc-error"/> - unexpected value "" - locator resolved to <input readonly required="" type="text" class="fr-input" name="businessName" id="im-form-create-establishment__business-name" label="Vérifiez le nom (raison sociale) de votre établissement *" aria-describedby="im-form-create-establishment__business-name-desc-error"/> - unexpected value "" - locator resolved to <input readonly required="" type="text" class="fr-input" name="businessName" id="im-form-create-establishment__business-name" label="Vérifiez le nom (raison sociale) de votre établissement *" aria-describedby="im-form-create-establishment__business-name-desc-error"/> - unexpected value "" - locator resolved to <input readonly required="" type="text" class="fr-input" name="businessName" id="im-form-create-establishment__business-name" label="Vérifiez le nom (raison sociale) de votre établissement *" aria-describedby="im-form-create-establishment__business-name-desc-error"/> - unexpected value "" - locator resolved to <input readonly required="" type="text" class="fr-input" name="businessName" id="im-form-create-establishment__business-name" label="Vérifiez le nom (raison sociale) de votre établissement *" aria-describedby="im-form-create-establishment__business-name-desc-error"/> - unexpected value "" - locator resolved to <input readonly required="" type="text" class="fr-input" name="businessName" id="im-form-create-establishment__business-name" label="Vérifiez le nom (raison sociale) de votre établissement *" aria-describedby="im-form-create-establishment__business-name-desc-error"/> - unexpected value "" - locator resolved to <input readonly required="" type="text" class="fr-input" name="businessName" id="im-form-create-establishment__business-name" label="Vérifiez le nom (raison sociale) de votre établissement *" aria-describedby="im-form-create-establishment__business-name-desc-error"/> - unexpected value "" - locator resolved to <input readonly required="" type="text" class="fr-input" name="businessName" id="im-form-create-establishment__business-name" label="Vérifiez le nom (raison sociale) de votre établissement *" aria-describedby="im-form-create-establishment__business-name-desc-error"/> - unexpected value "" - locator resolved to <input readonly required="" type="text" class="fr-input" name="businessName" id="im-form-create-establishment__business-name" label="Vérifiez le nom (raison sociale) de votre établissement *" aria-describedby="im-form-create-establishment__business-name-desc-error"/> - unexpected value "" - locator resolved to <input readonly required="" type="text" class="fr-input" name="businessName" id="im-form-create-establishment__business-name" label="Vérifiez le nom (raison sociale) de votre établissement *" aria-describedby="im-form-create-establishment__business-name-desc-error"/> - unexpected value "" - locator resolved to <input readonly required="" type="text" class="fr-input" name="businessName" id="im-form-create-establishment__business-name" label="Vérifiez le nom (raison sociale) de votre établissement *" aria-describedby="im-form-create-establishment__business-name-desc-error"/> - unexpected v
[chromium] › establishment/establishmentWorkflow.spec.ts:89:7 › Establishment creation and modification workflow › creates a new establishment: playwright/tests/establishment/createNewEstablishment.ts#L110
5) [chromium] › establishment/establishmentWorkflow.spec.ts:89:7 › Establishment creation and modification workflow › creates a new establishment Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: locator('.fr-alert--success') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 10000ms - waiting for locator('.fr-alert--success') at establishment/createNewEstablishment.ts:110 108 | await page.click(`#${domElementIds.establishment.create.submitFormButton}`); 109 | await expect(page.url()).toContain(`siret=${establishments[retry].siret}`); > 110 | await expect(page.locator(".fr-alert--success")).toBeVisible(); | ^ 111 | await page.waitForTimeout(testConfig.timeForEventCrawler); 112 | }; 113 | at /home/runner/work/immersion-facile/immersion-facile/playwright/tests/establishment/createNewEstablishment.ts:110:54
fullcheck / Playwright tests
Process completed with exit code 1.
Verify migration order
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
fullcheck / validation (pnpm fast-checks)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
fullcheck / validation (pnpm back test)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
fullcheck / Back integration tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
fullcheck / validation (pnpm typecheck)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
deploy-review-app / Deploy to review app pr2875
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
notify-pr
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
run-seeds
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
fullcheck / Playwright tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: playwright/[chromium] › user/myProfileWorkflow.spec.ts#L1
playwright/[chromium] › user/myProfileWorkflow.spec.ts took 1.3m
Slow Test: playwright/[chromium] › search/search.spec.ts#L1
playwright/[chromium] › search/search.spec.ts took 39.2s
Slow Test: playwright/[chromium] › admin/apiConsumerWorkflow.spec.ts#L1
playwright/[chromium] › admin/apiConsumerWorkflow.spec.ts took 37.0s
Slow Test: playwright/[chromium] › assessment/assessmentWorkflow.spec.ts#L1
playwright/[chromium] › assessment/assessmentWorkflow.spec.ts took 35.0s
Slow Test: playwright/[chromium] › navigation/brokenLinks.spec.ts#L1
playwright/[chromium] › navigation/brokenLinks.spec.ts took 17.2s
🎭 Playwright Run Summary
1 failed [chromium] › agency/agencyWorkflow.spec.ts:21:7 › Agency workflow › Cannot add a second agency with same data 4 flaky [chromium] › agency/agencyWorkflow.spec.ts:14:7 › Agency workflow › Can add an agency (prescripteur), with one step of validators [chromium] › convention/conventionWorkflow.spec.ts:23:7 › Convention creation and modification workflow › creates a new convention [chromium] › dashboard/agencyWorkflow.spec.ts:15:9 › Agency dashboard workflow › Agency creation › creates a new agency [chromium] › establishment/establishmentWorkflow.spec.ts:89:7 › Establishment creation and modification workflow › creates a new establishment 2 skipped 1 did not run 57 passed (5.8m)

Artifacts

Produced during runtime
Name Size
playwright-report
25.5 MB