💬(app-desk) update translations of teams feature

This commit is part of the replacement of "teams" by "groups" wording task.
It changes words in the "teams" feature and add more meaningful wording in
English and French, and removes the icon used in the title of the group
member deletion modal as it rather lets think we are deleting a group.
Updates of related e2e and rendering tests come along with these changes.
This commit is contained in:
daproclaima
2024-06-06 15:49:13 +02:00
committed by Sebastien Nobour
parent 8a44718e6b
commit 8af47283c8
9 changed files with 42 additions and 28 deletions

View File

@@ -16,7 +16,9 @@ test.describe('Members Create', () => {
await page.getByLabel('Add members to the team').click();
await expect(page.getByText('Add a member')).toBeVisible();
await expect(
page.getByRole('dialog').getByText('Add a member'),
).toBeVisible();
await expect(
page.getByLabel(/Find a member to add to the team/),
).toBeVisible();

View File

@@ -23,7 +23,7 @@ test.describe('Teams Create', () => {
await expect(
card.getByRole('heading', {
name: 'Name the team',
name: 'Create a new group',
level: 3,
}),
).toBeVisible();

View File

@@ -13,7 +13,7 @@ test.describe('Teams Panel', () => {
test('checks all the elements are visible', async ({ page }) => {
const panel = page.getByLabel('Teams panel').first();
await expect(panel.getByText('Recents')).toBeVisible();
await expect(panel.getByText('Groups')).toBeVisible();
await expect(
panel.getByRole('button', {