diff --git a/packages/synapse-bridge/src/templates/CookiesPage/CookiesInformation/CookiesInformation.vue b/packages/synapse-bridge/src/templates/CookiesPage/CookiesInformation/CookiesInformation.vue
index 8b9b8039b4..2265d66305 100644
--- a/packages/synapse-bridge/src/templates/CookiesPage/CookiesInformation/CookiesInformation.vue
+++ b/packages/synapse-bridge/src/templates/CookiesPage/CookiesInformation/CookiesInformation.vue
@@ -101,7 +101,15 @@ export default defineComponent({
-
+
+
+
+
+
+ >
+
+
+
+
diff --git a/packages/synapse-bridge/src/templates/CookiesPage/CookiesTable/CookiesTable.vue b/packages/synapse-bridge/src/templates/CookiesPage/CookiesTable/CookiesTable.vue
index 394ab07963..8244989751 100644
--- a/packages/synapse-bridge/src/templates/CookiesPage/CookiesTable/CookiesTable.vue
+++ b/packages/synapse-bridge/src/templates/CookiesPage/CookiesTable/CookiesTable.vue
@@ -39,7 +39,14 @@ export default defineComponent({
{{ cookie.name }} |
- {{ cookie.description }} |
+
+
+ {{ cookie.description }}
+
+ |
{{ cookie.conservation }} |
diff --git a/packages/synapse-bridge/src/templates/CookiesPage/tests/CookiesPage.spec.ts b/packages/synapse-bridge/src/templates/CookiesPage/tests/CookiesPage.spec.ts
index e27e3d35a4..93f4025dd9 100644
--- a/packages/synapse-bridge/src/templates/CookiesPage/tests/CookiesPage.spec.ts
+++ b/packages/synapse-bridge/src/templates/CookiesPage/tests/CookiesPage.spec.ts
@@ -107,4 +107,53 @@ describe('CookiesPage', () => {
expect(wrapper.emitted()).toHaveProperty('submit')
})
+
+ it('displays the cookie description as a scoped slot', () => {
+ const cookiesList = {
+ essentials: [
+ {
+ name: 'session',
+ description: 'Sauvegarde la session pour rester connecté.',
+ conservation: '20 heures',
+ },
+ {
+ name: 'cookie_policy',
+ description: 'Sauvegarde les préférences de cookies.',
+ conservation: '1 an',
+ },
+ ],
+ functional: [
+ {
+ name: 'contrast',
+ description: 'Sauvegarde la personnalisation de l’affichage.',
+ conservation: '1 an',
+ },
+ ],
+ analytics: [
+ {
+ name: 'user_id',
+ description: 'Sauvegarde l’identifiant unique de visiteur.',
+ conservation: '6 mois',
+ },
+ ],
+ }
+
+ const wrapper = mount(CookiesPage, {
+ global: {
+ plugins: [vuetify],
+ },
+ props: {
+ items: cookiesList,
+ },
+ slots: {
+ 'cookie-description-contrast': `
+
+ {{ cookie.description }}
+
+ `,
+ },
+ })
+
+ expect(wrapper.find('a.contrast-description').text()).toContain(cookiesList.functional[0].description)
+ })
})