(app-desk) add team info component

Add the team info component to the team page.
This component shows some informations about the team:
  - name
  - amount of members
  - date created
  - date updated
This commit is contained in:
Anthony LC
2024-02-13 12:20:58 +01:00
committed by Anthony LC
parent 95219a33b3
commit fc8dc24ba2
11 changed files with 132 additions and 10 deletions

View File

@@ -7,7 +7,7 @@ test.beforeEach(async ({ page, browserName }) => {
await keyCloakSignIn(page, browserName);
});
test.describe('Teams', () => {
test.describe('Teams Create', () => {
test('checks all the create team elements are visible', async ({ page }) => {
const buttonCreateHomepage = page.getByRole('button', {
name: 'Create a new team',
@@ -71,7 +71,7 @@ test.describe('Teams', () => {
await page.getByText('Team name').fill(teamName);
await page.getByRole('button', { name: 'Create the team' }).click();
const elTeam = page.getByText(`Teams: ${teamName}`);
const elTeam = page.getByText(`Members of “${teamName}`);
await expect(elTeam).toBeVisible();
await panel.getByRole('button', { name: 'Add a team' }).click();