Skip to content

(PC-32750)[PRO] feat: do not show create bookable offer button when offer is pending #7621

(PC-32750)[PRO] feat: do not show create bookable offer button when offer is pending

(PC-32750)[PRO] feat: do not show create bookable offer button when offer is pending #7621

Triggered via pull request November 22, 2024 11:48
Status Success
Total duration 11m 35s
Artifacts 2
Tests pro  /  ...  /  Style quality check
1m 27s
Tests pro / Type check / Quality check / Style quality check
Tests pro  /  Unit tests
8m 7s
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:1f67a4e06a86fc0f31126e5257bb117ff1d5e044
3m 42s
[pcapi-console] build docker image. / Build pcapi-console:1f67a4e06a86fc0f31126e5257bb117ff1d5e044
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 19s
[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
10m 31s
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

14 warnings and 2 notices
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/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/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/commons/hooks/useGetBitmap.ts#L21
React Hook useEffect has a missing dependency: 'file'. Either include it or remove the dependency array
Tests pro / Type check / Quality check / Style quality check: pro/src/commons/hooks/useIsElementVisible.ts#L18
The 'observer' object construction makes the dependencies of useEffect Hook (at line 32) change on every render. Move it inside the useEffect callback. Alternatively, wrap the initialization of 'observer' in its own useMemo() Hook
Tests pro / Type check / Quality check / Style quality check: pro/src/commons/hooks/useNotification.ts#L50
React Hook useMemo has a missing dependency: 'notify'. Either include it or remove the dependency array
Tests pro / Type check / Quality check / Style quality check: pro/src/commons/hooks/useRedirectLoggedUser.ts#L53
React Hook useEffect has missing dependencies: 'dispatch', 'navigate', and 'redirectToUrl'. Either include them or remove the dependency array
Tests pro / Type check / Quality check / Style quality check: pro/src/commons/utils/timezone.ts#L56
Switch is not exhaustive. Cases not matched: undefined | null
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 / Unit tests
The following actions use a deprecated Node.js version and will be forced to run on node20: 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/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 use a deprecated Node.js version and will be forced to run on node20: technote-space/workflow-conclusion-action@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
Firebase deployment is available at : https://pc-pro-testing--pr15188-pc-32750-do-not-dupl-72myvesj.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~534P6C.dockerbuild
94.5 KB
pcapi-console-1f67a4e06a86fc0f31126e5257bb117ff1d5e044.tar Expired
482 MB