🌐(frontend) update some translated messages
Slight cleanup of translations.
This commit is contained in:
@@ -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 ({
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user