diff --git a/frontend/e2e/dashboard.spec.ts b/frontend/e2e/dashboard.spec.ts index 3516165..319e364 100644 --- a/frontend/e2e/dashboard.spec.ts +++ b/frontend/e2e/dashboard.spec.ts @@ -380,12 +380,15 @@ test.describe('Dashboard', () => { await switchToDemoRole(page, 'Admin'); const sectionTitles = page.locator('.dashboard-section .section-title'); - await expect(sectionTitles).toHaveCount(5); + await expect(sectionTitles).toHaveCount(8); await expect(sectionTitles.nth(0)).toHaveText('Personnes'); await expect(sectionTitles.nth(1)).toHaveText('Organisation'); await expect(sectionTitles.nth(2)).toHaveText('Année scolaire'); await expect(sectionTitles.nth(3)).toHaveText('Paramètres'); await expect(sectionTitles.nth(4)).toHaveText('Imports'); + await expect(sectionTitles.nth(5)).toHaveText('Utilisateurs'); + await expect(sectionTitles.nth(6)).toHaveText('Configuration'); + await expect(sectionTitles.nth(7)).toHaveText('Activité récente'); }); }); diff --git a/frontend/src/lib/components/organisms/Dashboard/DashboardAdmin.svelte b/frontend/src/lib/components/organisms/Dashboard/DashboardAdmin.svelte index f9e0099..76341a2 100644 --- a/frontend/src/lib/components/organisms/Dashboard/DashboardAdmin.svelte +++ b/frontend/src/lib/components/organisms/Dashboard/DashboardAdmin.svelte @@ -75,6 +75,8 @@ {/if} +

Actions de configuration

+ {#each dashboardSections as section (section.id)}

{section.title}

@@ -141,6 +143,18 @@