🔧(dns) make target zone for communes domains configurable

Add a configuration setting tied to an env var, so we can have
a separate zone for staging/preprod.
This commit is contained in:
Laurent Bossavit
2025-03-05 10:17:07 +01:00
committed by Laurent Bossavit
parent dc33493739
commit 2502ff0c99
5 changed files with 17 additions and 4 deletions

View File

@@ -23,7 +23,7 @@ test.describe('When a commune, domain is created on first login via ProConnect',
await expect(
page.getByLabel('Mail domains panel', { exact: true }),
).toBeVisible();
await expect(page.getByText('merlaut.collectivite.fr')).toHaveCount(1);
await expect(page.getByText('merlaut.test.collectivite.fr')).toHaveCount(1);
await expect(page.getByText('No domains exist.')).toHaveCount(0);
});
});