Skip to content

(PC-31422)[PRO] feat: default statut filter value #4728

(PC-31422)[PRO] feat: default statut filter value

(PC-31422)[PRO] feat: default statut filter value #4728

Triggered via pull request September 19, 2024 08:55
Status Failure
Total duration 13m 26s
Artifacts 2
Tests pro  /  ...  /  Style quality check
1m 45s
Tests pro / Type check / Quality check / Style quality check
Tests pro  /  Unit tests
7m 12s
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:6b801e0b55429ddc9a7fc9c5442d0bc768d3771c
3m 26s
[pcapi-console] build docker image. / Build pcapi-console:6b801e0b55429ddc9a7fc9c5442d0bc768d3771c
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 16s
[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 18s
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

9 errors, 19 warnings, and 2 notices
pages/CollectiveOffers/__specs__/CollectiveOffersQueryParams.spec.tsx > route CollectiveOffers > url query params > should have page value when page value is not first page: pro/src/pages/CollectiveOffers/__specs__/CollectiveOffersQueryParams.spec.tsx#L109
AssertionError: expected "spy" to be called with arguments: [ …(2) ] Received: 1st spy call: Array [ - "/offres/collectives?page=2&statut=en-attente&statut=refusee&statut=active&statut=inactive&statut=prereservee&statut=reservee&statut=expiree&statut=terminee", + "/offres/collectives?page=2&statut=en-attente&statut=refusee&statut=active&statut=inactive&statut=prereservee&statut=reservee&statut=expiree&statut=terminee&statut=brouillon", Object { "replace": true, }, ] Number of calls: 1 ❯ pages/CollectiveOffers/__specs__/CollectiveOffersQueryParams.spec.tsx:109:28
pages/CollectiveOffers/__specs__/CollectiveOffersQueryParams.spec.tsx > route CollectiveOffers > url query params > should have offer name value when name search value is not an empty string: pro/src/pages/CollectiveOffers/__specs__/CollectiveOffersQueryParams.spec.tsx#L126
AssertionError: expected "spy" to be called with arguments: [ …(2) ] Received: 1st spy call: Array [ - "/offres/collectives?nom-ou-isbn=AnyWord&statut=en-attente&statut=refusee&statut=active&statut=inactive&statut=prereservee&statut=reservee&statut=expiree&statut=terminee", + "/offres/collectives?nom-ou-isbn=AnyWord&statut=en-attente&statut=refusee&statut=active&statut=inactive&statut=prereservee&statut=reservee&statut=expiree&statut=terminee&statut=brouillon", Object { "replace": true, }, ] Number of calls: 1 ❯ pages/CollectiveOffers/__specs__/CollectiveOffersQueryParams.spec.tsx:126:28
pages/CollectiveOffers/__specs__/CollectiveOffersQueryParams.spec.tsx > route CollectiveOffers > url query params > should have offer name value be removed when name search value is an empty string: pro/src/pages/CollectiveOffers/__specs__/CollectiveOffersQueryParams.spec.tsx#L142
AssertionError: expected "spy" to be called with arguments: [ …(2) ] Received: 1st spy call: Array [ - "/offres/collectives?statut=en-attente&statut=refusee&statut=active&statut=inactive&statut=prereservee&statut=reservee&statut=expiree&statut=terminee", + "/offres/collectives?statut=en-attente&statut=refusee&statut=active&statut=inactive&statut=prereservee&statut=reservee&statut=expiree&statut=terminee&statut=brouillon", Object { "replace": true, }, ] Number of calls: 1 ❯ pages/CollectiveOffers/__specs__/CollectiveOffersQueryParams.spec.tsx:142:28
pages/CollectiveOffers/__specs__/CollectiveOffersQueryParams.spec.tsx > route CollectiveOffers > url query params > should have venue value when user filters by venue: pro/src/pages/CollectiveOffers/__specs__/CollectiveOffersQueryParams.spec.tsx#L160
AssertionError: expected "spy" to be called with arguments: [ …(2) ] Received: 1st spy call: Array [ - "/offres/collectives?lieu=1&statut=en-attente&statut=refusee&statut=active&statut=inactive&statut=prereservee&statut=reservee&statut=expiree&statut=terminee", + "/offres/collectives?lieu=1&statut=en-attente&statut=refusee&statut=active&statut=inactive&statut=prereservee&statut=reservee&statut=expiree&statut=terminee&statut=brouillon", Object { "replace": true, }, ] Number of calls: 1 ❯ pages/CollectiveOffers/__specs__/CollectiveOffersQueryParams.spec.tsx:160:28
pages/CollectiveOffers/__specs__/CollectiveOffersQueryParams.spec.tsx > route CollectiveOffers > url query params > should have venue value be removed when user asks for all venues: pro/src/pages/CollectiveOffers/__specs__/CollectiveOffersQueryParams.spec.tsx#L182
AssertionError: expected "spy" to be called with arguments: [ …(2) ] Received: 1st spy call: Array [ - "/offres/collectives?format=Concert&statut=en-attente&statut=refusee&statut=active&statut=inactive&statut=prereservee&statut=reservee&statut=expiree&statut=terminee", + "/offres/collectives?format=Concert&statut=en-attente&statut=refusee&statut=active&statut=inactive&statut=prereservee&statut=reservee&statut=expiree&statut=terminee&statut=brouillon", Object { "replace": true, }, ] Number of calls: 1 ❯ pages/CollectiveOffers/__specs__/CollectiveOffersQueryParams.spec.tsx:182:28
pages/CollectiveOffers/__specs__/CollectiveOffersQueryParams.spec.tsx > route CollectiveOffers > url query params > should have the status in the url value when user filters by status: pro/src/pages/CollectiveOffers/__specs__/CollectiveOffersQueryParams.spec.tsx#L204
AssertionError: expected "spy" to be called with arguments: [ …(2) ] Received: 1st spy call: Array [ - "/offres/collectives?statut=en-attente&statut=refusee&statut=active&statut=inactive&statut=prereservee&statut=expiree&statut=terminee", + "/offres/collectives?statut=en-attente&statut=refusee&statut=active&statut=inactive&statut=prereservee&statut=expiree&statut=terminee&statut=brouillon", Object { "replace": true, }, ] Number of calls: 1 ❯ pages/CollectiveOffers/__specs__/CollectiveOffersQueryParams.spec.tsx:204:28
pages/CollectiveOffers/__specs__/CollectiveOffersQueryParams.spec.tsx > route CollectiveOffers > url query params > should have the status in the url value when user filters by multiple statuses: pro/src/pages/CollectiveOffers/__specs__/CollectiveOffersQueryParams.spec.tsx#L228
AssertionError: expected "spy" to be called with arguments: [ …(2) ] Received: 1st spy call: Array [ - "/offres/collectives?statut=refusee&statut=active&statut=inactive&statut=prereservee&statut=expiree&statut=terminee&statut=archivee", + "/offres/collectives?statut=refusee&statut=active&statut=inactive&statut=prereservee&statut=expiree&statut=terminee&statut=brouillon&statut=archivee", Object { "replace": true, }, ] Number of calls: 1 ❯ pages/CollectiveOffers/__specs__/CollectiveOffersQueryParams.spec.tsx:228:28
pages/CollectiveOffers/__specs__/CollectiveOffersQueryParams.spec.tsx > route CollectiveOffers > url query params > should have offerer value be removed when user removes offerer filter: pro/src/pages/CollectiveOffers/__specs__/CollectiveOffersQueryParams.spec.tsx#L259
AssertionError: expected "spy" to be called with arguments: [ …(2) ] Received: 1st spy call: Array [ - "/offres/collectives?statut=en-attente&statut=refusee&statut=active&statut=inactive&statut=prereservee&statut=reservee&statut=expiree&statut=terminee", + "/offres/collectives?statut=en-attente&statut=refusee&statut=active&statut=inactive&statut=prereservee&statut=reservee&statut=expiree&statut=terminee&statut=brouillon", Object { "replace": true, }, ] Number of calls: 1 ❯ pages/CollectiveOffers/__specs__/CollectiveOffersQueryParams.spec.tsx:259:28
Tests pro / Unit tests
Process completed with exit code 1.
[PRO] Deploy PR version for validation / deploy_on_firebase
Firebase deployment is available at : https://pc-pro-testing--pr14042-pc-31422-default-fil-u7fg7d3m.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
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/

Artifacts

Produced during runtime
Name Size
pass-culture~pass-culture-main~DC6U5G.dockerbuild
90.4 KB
pcapi-console-6b801e0b55429ddc9a7fc9c5442d0bc768d3771c.tar Expired
469 MB