🌐(frontend) update some translated messages

Slight cleanup of translations.
This commit is contained in:
Quentin BEY
2025-05-16 10:49:39 +02:00
parent ee564ff6ba
commit 8e85f303ec
11 changed files with 32 additions and 24 deletions

View File

@@ -47,7 +47,7 @@ test.describe('Config', () => {
await expect(page).toHaveURL(/mail-domains\//);
await expect(page.getByText('Areas of the organization')).toBeVisible();
await expect(page.getByText('Domains of the organization')).toBeVisible();
});
// test('it checks that the user abilities display teams', async ({

View File

@@ -17,7 +17,7 @@ test.describe('When a commune, domain is created on first login via ProConnect',
await page.waitForURL('http://localhost:3000/mail-domains/**');
await expect(
page.getByRole('heading', {
name: 'Areas of the organization',
name: 'Domains of the organization',
exact: true,
}),
).toBeVisible();

View File

@@ -38,7 +38,9 @@ test.describe('Add Mail Domains', () => {
await expect(buttonClose).toBeVisible();
await page.getByRole('button', { name: /I have already domain/i }).click();
await page
.getByRole('button', { name: /I already have a domain/i })
.click();
await expect(modal).toBeVisible();
await expect(inputName).toBeVisible();
@@ -60,7 +62,9 @@ test.describe('Add Mail Domains', () => {
await page.goto('/mail-domains/');
await page.getByTestId('button-new-domain').click();
await page.getByRole('button', { name: /I have already domain/i }).click();
await page
.getByRole('button', { name: /I already have a domain/i })
.click();
const { inputName, buttonSubmit } = getElements(page);
await expect(buttonSubmit).toBeDisabled();
@@ -79,7 +83,9 @@ test.describe('Add Mail Domains', () => {
await page.goto('/mail-domains/');
await page.getByTestId('button-new-domain').click();
await page.getByRole('button', { name: /I have already domain/i }).click();
await page
.getByRole('button', { name: /I already have a domain/i })
.click();
const { inputName, inputSupportEmail, buttonSubmit, modal } =
getElements(page);

View File

@@ -98,7 +98,7 @@ test.describe('Mail domains', () => {
.getByLabel(`Mail Domains button`)
.click();
await expect(page).toHaveURL(/mail-domains\//);
await expect(page.getByText('Areas of the organization')).toBeVisible();
await expect(page.getByText('Domains of the organization')).toBeVisible();
await expect(page.getByText('No domains exist.')).toBeVisible();
});
@@ -127,7 +127,7 @@ test.describe('Mail domains', () => {
.getByLabel(`Mail Domains button`)
.click();
await expect(page).toHaveURL(/mail-domains\//);
await expect(page.getByText('Areas of the organization')).toBeVisible();
await expect(page.getByText('Domains of the organization')).toBeVisible();
await expect(page.getByText('Manage')).toHaveCount(4);
await Promise.all(