Skip to content

(BSR)[PRO] chore: All the tests are now using new nav stat. #4780

(BSR)[PRO] chore: All the tests are now using new nav stat.

(BSR)[PRO] chore: All the tests are now using new nav stat. #4780

Triggered via pull request September 19, 2024 15:53
Status Failure
Total duration 13m 53s
Artifacts 2
Tests pro  /  ...  /  Style quality check
1m 35s
Tests pro / Type check / Quality check / Style quality check
Tests pro  /  Unit tests
7m 17s
Tests pro / Unit tests
[pcapi-tests] build docker image.  /  build-docker-image
[pcapi-tests] build docker image. / build-docker-image
[pcapi] build docker image.  /  build-docker-image
[pcapi] build docker image. / build-docker-image
[pcapi-console] build docker image.  /  Build pcapi-console:82e8842dc5f9c83316769b7413945aa5dde3da18
3m 25s
[pcapi-console] build docker image. / Build pcapi-console:82e8842dc5f9c83316769b7413945aa5dde3da18
MyPy cop  /  MyPy cop test
MyPy cop / MyPy cop test
Tests API documentation  /  Check API documentation can be built
Tests API documentation / Check API documentation can be built
[PRO] Deploy PR version for validation  /  deploy_on_firebase
1m 29s
[PRO] Deploy PR version for validation / deploy_on_firebase
Dependabot  /  dependabot
Dependabot / dependabot
Matrix: Tests api / Pytest
Waiting for pending jobs
Tests api  /  Pylint
Tests api / Pylint
Tests api  /  Quality checks
Tests api / Quality checks
Tests api  /  Test database schema
Tests api / Test database schema
Tests pro E2E  /  E2E tests and notifications
12m 47s
Tests pro E2E / E2E tests and notifications
Update api client template  /  Update API Client template
Update api client template / Update API Client template
Push pcapi docker image to registry  /  push-docker-image
Push pcapi docker image to registry / push-docker-image
Push pcapi-console docker image to registry  /  push-docker-image
Push pcapi-console docker image to registry / push-docker-image
Fit to window
Zoom out
Zoom in

Annotations

3 errors, 19 warnings, and 2 notices
pages/CollectiveOffers/__specs__/CollectiveOffers.admin.spec.tsx > route CollectiveOffers when user is admin > should reset status filter when venue filter is deselected: pro/src/pages/CollectiveOffers/__specs__/CollectiveOffers.admin.spec.tsx#L111
AssertionError: expected last "getCollectiveOffers" call to have been called with [ undefined, '1', [], undefined, …(6) ] Ignored nodes: comments, script, style <html> <head /> <body> <div> <div class="layout" > <a class="visually-hidden" href="#" id="top-page" tabindex="-1" /> <nav aria-label="Accès rapide" class="skip-links" > <div id="orejime" /> <div class="skip-list" > <a class="button button-quaternary button-left button-link skip-list-button" href="#content" rel="noopener noreferrer" target="_self" > <svg aria-hidden="true" class="button-icon" viewBox="0 0 48 48" width="22" > <use xlink:href="/icons/full-next.svg#icon" /> </svg> Aller au contenu </a> </div> </nav> <header class="top-menu" id="top-navigation" > <div class="top-menu-content" > <button aria-controls="lateral-panel" aria-expanded="false" aria-label="Menu" class="button button-ternary button-left burger-icon" type="button" > <svg aria-hidden="true" viewBox="0 0 48 48" width="24" > <use xlink:href="/icons/full-burger.svg#icon" /> </svg> </button> <div class="nav-brand" > <a class="logo" href="/accueil" > <svg aria-label="Pass Culture pro, l’espace des acteurs culturels" role="img" viewBox="0 0 119 40" width="119" > <use xlink:href="/icons/logo-pass-culture-pro.svg#icon" /> </svg> </a> </div> <div class="tablet-and-above" > <button aria-expanded="false" aria-haspopup="menu" class="button button-quaternary button-right dropdown-button" data-state="closed" id="radix-:r0:" title="Centre d'aide" type="button" > Centre d’aide <svg aria-hidden="true" class="button-icon" viewBox="0 0 48 48" width="20" > <use xlink:href="/icons/full-down.svg#icon" /> </svg> </button> </div> <button aria-expanded="false" aria-haspopup="menu" class="dropdown-button" data-state="closed" data-testid="offerer-select" id="radix-:r2:" title="Profil" type="button" > <svg aria-hidden="true" viewBox="0 0 48 48" width="18" > <use xlink:href="/icons/full-profil.svg#icon" /> </svg> </button> </div> </header> <div class="page-layout" > <nav aria-label="Menu principal" class="lateral-panel-wrapper" id="lateral-panel" > <div class="lateral-panel-menu" > <ul class="nav-links" >
pages/Home/__specs__/Homepage.spec.tsx > Homepage > should display pending offerer banner when rattachement is pending: pro/src/pages/Home/__specs__/Homepage.spec.tsx#L211
TestingLibraryElementError: Unable to find an element with the text: Le rattachement à votre structure est en cours de traitement par les équipes du pass Culture. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> <div class="layout" > <a class="visually-hidden" href="#" id="top-page" tabindex="-1" /> <nav aria-label="Accès rapide" class="skip-links" > <div id="orejime" /> <div class="skip-list" > <a class="button button-quaternary button-left button-link skip-list-button" href="#content" rel="noopener noreferrer" target="_self" > <svg aria-hidden="true" class="button-icon" viewBox="0 0 48 48" width="22" > <use xlink:href="/icons/full-next.svg#icon" /> </svg> Aller au contenu </a> </div> </nav> <header class="top-menu" id="top-navigation" > <div class="top-menu-content" > <button aria-controls="lateral-panel" aria-expanded="false" aria-label="Menu" class="button button-ternary button-left burger-icon" type="button" > <svg aria-hidden="true" viewBox="0 0 48 48" width="24" > <use xlink:href="/icons/full-burger.svg#icon" /> </svg> </button> <div class="nav-brand" > <a class="logo" href="/accueil" > <svg aria-label="Pass Culture pro, l’espace des acteurs culturels" role="img" viewBox="0 0 119 40" width="119" > <use xlink:href="/icons/logo-pass-culture-pro.svg#icon" /> </svg> </a> </div> <div class="tablet-and-above" > <button aria-expanded="false" aria-haspopup="menu" class="button button-quaternary button-right dropdown-button" data-state="closed" id="radix-:rs:" title="Centre d'aide" type="button" > Centre d’aide <svg aria-hidden="true" class="button-icon" viewBox="0 0 48 48" width="20" > <use xlink:href="/icons/full-down.svg#icon" /> </svg> </button> </div> <button aria-expanded="false" aria-haspopup="menu" class="dropdown-button" data-state="closed" data-testid="offerer-select" id="radix-:ru:" title="Structure 1" type="button" > <svg aria-hidden="true" viewBox="0 0 48 48" width="18" > <use xlink:href="/icons/full-profil.svg#icon" /> </svg> <span class="dropdown-button-name" > Structure 1 </span> </button> </div> </header> <div class="page-layout" > <nav aria-label="Menu principal" class="lateral-panel-wrapper" id="lateral-panel" > <div class="lateral-panel-menu" > <ul class="nav-links"
Tests pro / Unit tests
Process completed with exit code 1.
Tests pro / Type check / Quality check / Style quality check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Tests pro / Type check / Quality check / Style quality check: pro/src/app/App/App.tsx#L85
React Hook useEffect has a missing dependency: 'dispatch'. Either include it or remove the dependency array
Tests pro / Type check / Quality check / Style quality check: pro/src/app/App/hook/useLogExtraProData.ts#L25
React Hook useEffect has missing dependencies: 'location.pathname', 'logEvent', and 'previousOfferer'. Either include them or remove the dependency array
Tests pro / Type check / Quality check / Style quality check: pro/src/app/App/hook/useLogNavigation.ts#L32
React Hook useEffect has missing dependencies: 'params' and 'previousPage'. Either include them or remove the dependency array
Tests pro / Type check / Quality check / Style quality check: pro/src/app/App/hook/usePageTitle.ts#L16
React Hook useEffect has a missing dependency: 'location'. Either include it or remove the dependency array
Tests pro / Type check / Quality check / Style quality check: pro/src/components/Address/Address.tsx#L43
React Hook useEffect has a missing dependency: 'selectedField.value'. Either include it or remove the dependency array
Tests pro / Type check / Quality check / Style quality check: pro/src/components/Address/Address.tsx#L85
React Hook useEffect has missing dependencies: 'addressesMap', 'searchField', and 'setFieldValue'. Either include them or remove the dependency array
Tests pro / Type check / Quality check / Style quality check: pro/src/components/ImageUploader/ButtonImageEdit/ModalImageEdit/ModalImageEdit.tsx#L69
React Hook useEffect has missing dependencies: 'initialImageUrl', 'initialOriginalImageUrl', and 'notification'. Either include them or remove the dependency array
Tests pro / Type check / Quality check / Style quality check: pro/src/components/IndividualOfferForm/Notifications/Notifications.tsx#L36
React Hook useEffect has missing dependencies: 'bookingEmail', 'currentUser.email', 'setFieldValue', and 'venueBookingEmail'. Either include them or remove the dependency array
Tests pro / Type check / Quality check / Style quality check: pro/src/components/IndividualOfferForm/UsefulInformations/TicketWithdrawal/TicketWithdrawal.tsx#L49
React Hook useEffect has missing dependencies: 'dirty', 'getFirstWithdrawalTypeEnumValue', and 'setFieldValue'. Either include them or remove the dependency array
Tests pro / Type check / Quality check / Style quality check: pro/src/components/StocksEventList/StocksEventList.tsx#L190
React Hook useEffect has missing dependencies: 'handleStocksResponse', 'loadStocksFromCurrentFilters', 'searchParams', and 'setSearchParams'. Either include them or remove the dependency array
Tests pro / Unit tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
[PRO] Deploy PR version for validation / deploy_on_firebase
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Tests pro E2E / E2E tests and notifications
The following actions uses node12 which is deprecated and will be forced to run on node16: docker/login-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Tests pro E2E / E2E tests and notifications
The following actions use a deprecated Node.js version and will be forced to run on node20: technote-space/workflow-conclusion-action@v3, docker/login-action@v1, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Tests pro E2E / E2E tests and notifications
The "process_gcloudignore" option is true, but no .gcloudignore file was found. If you do not intend to process a gcloudignore file, set "process_gcloudignore" to false.
Tests pro E2E / E2E tests and notifications
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests pro E2E / E2E tests and notifications
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests pro E2E / E2E tests and notifications
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
[PRO] Deploy PR version for validation / deploy_on_firebase
Firebase deployment is available at : https://pc-pro-testing--pr14232-bsr-new-nav-user-tes-hjoqmvof.web.app
Tests pro E2E / E2E tests and notifications
Running e2e-tests with europe-west1-docker.pkg.dev/passculture-infra-prod/pass-culture-artifact-registry/pcapi:latest

Artifacts

Produced during runtime
Name Size
pass-culture~pass-culture-main~UBQCIA.dockerbuild
91.8 KB
pcapi-console-82e8842dc5f9c83316769b7413945aa5dde3da18.tar Expired
469 MB