♻️(frontend) adapt frontend with new access types

We don't get the accesses anymore from the backeend,
instead we get the number of accesses.
We remove the list of owners in the doc header because
we don't have easily this informations anymore and
we will have to do a bigger refacto.
This commit is contained in:
Anthony LC
2024-11-28 15:34:18 +01:00
committed by Anthony LC
parent 1af7b797bc
commit eec8b4d2c3
5 changed files with 9 additions and 51 deletions

View File

@@ -65,9 +65,6 @@ test.describe('Doc Header', () => {
await expect(
card.getByText('Created at 09/01/2021, 11:00 AM'),
).toBeVisible();
await expect(
card.getByText('Owners: Super Owner / super2@owner.com'),
).toBeVisible();
await expect(card.getByText('Your role: Owner')).toBeVisible();
await expect(page.getByRole('button', { name: 'Share' })).toBeVisible();
});