🔥(plugins) remove CommuneCreation plugin

Remove the French communes auto-provisioning plugin that handled
SIRET lookup, DNS setup, and MailDomain creation.
This commit is contained in:
Sabrina Demagny
2026-01-06 22:08:31 +01:00
parent 2144ad5da1
commit c7aab6f5b5
9 changed files with 38 additions and 560 deletions

View File

@@ -1,27 +0,0 @@
import { expect, test } from '@playwright/test';
import { keyCloakSignIn } from './common';
test.beforeEach(async ({ page, browserName }) => {
await page.goto('/');
await keyCloakSignIn(page, browserName, 'marie');
});
test.describe('When a commune, domain is created on first login via ProConnect', () => {
test('it checks the domain has been created and is operational', async ({
page,
}) => {
const menu = page.locator('menu').first();
await menu.getByRole('button', { name: 'Mail Domains button' }).click();
await page.waitForURL('http://localhost:3000/mail-domains/**');
await expect(
page.getByRole('heading', {
name: 'Domains of the organization',
exact: true,
}),
).toBeVisible();
await expect(page.getByText('merlaut.test.collectivite.fr')).toHaveCount(1);
await expect(page.getByText('No domains exist.')).toHaveCount(0);
});
});