diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e596c0da2..9161a6693 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -248,6 +248,8 @@ jobs: NUXT_SITE_URL: http://localhost:3000 NUXT_PUBLIC_CHARTS_API_BASE: http://localhost:7000 NUXT_PUBLIC_CADA_RESOURCE_ID: 3a6d6fe3-8548-43ed-ad09-72052771447c + NUXT_PUBLIC_TABULAR_API_PREVIEW_RESOURCES_ID: 982d9dd0-365a-4c4b-8a83-75dec40c36bb + NUXT_PUBLIC_TABULAR_API_PREVIEW_STATS_ID: 33cf9a65-3f77-4d88-acd1-bca420d83e60 run: | # Start cdata server in background using pre-built artifacts PORT=3000 node .output/server/index.mjs > cdata.log 2>&1 & diff --git a/E2E-TESTING.md b/E2E-TESTING.md index 47ca5dea7..bdd9bae6b 100644 --- a/E2E-TESTING.md +++ b/E2E-TESTING.md @@ -51,6 +51,8 @@ Pour tester localement : ``` NUXT_PUBLIC_HOMEPAGE_HERO_IMAGES="hero_15.png" # to avoid homepage image randomness UDATA_WORKING_DIR="/path/to/udata/" # to allow for udata commands execution (ex: in 2FA flow tests cleanup) +NUXT_PUBLIC_TABULAR_API_PREVIEW_RESOURCES_ID="982d9dd0-365a-4c4b-8a83-75dec40c36bb" # preview dashboard E2E tests +NUXT_PUBLIC_TABULAR_API_PREVIEW_STATS_ID="33cf9a65-3f77-4d88-acd1-bca420d83e60" # preview dashboard E2E tests ``` 3. **Lancer les tests** : ```bash diff --git a/nuxt.config.ts b/nuxt.config.ts index cc0a6ff23..dfaa6879e 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -83,8 +83,8 @@ export default defineNuxtConfig({ schemaValidataUrl: 'https://validata.fr', tabularApiUrl: 'https://tabular-api.data.gouv.fr', tabularApiDataserviceId: undefined, - tabularApiPreviewResourcesId: '982d9dd0-365a-4c4b-8a83-75dec40c36bb', - tabularApiPreviewStatsId: '33cf9a65-3f77-4d88-acd1-bca420d83e60', + tabularApiPreviewResourcesId: undefined, + tabularApiPreviewStatsId: undefined, cadaResourceId: undefined, cadaDatasetUrl: 'https://www.data.gouv.fr/datasets/avis-et-conseils-de-la-cada', diff --git a/pages/admin/beta/preview-dashboard/fichiers.vue b/pages/admin/beta/preview-dashboard/fichiers.vue index 1c885e0d3..621fe5fa4 100644 --- a/pages/admin/beta/preview-dashboard/fichiers.vue +++ b/pages/admin/beta/preview-dashboard/fichiers.vue @@ -1,5 +1,6 @@