(e2e) reduce e2e flakiness

We identified some tests causing flakiness
in the e2e tests.
This commit is contained in:
Anthony LC
2024-10-08 15:22:15 +02:00
committed by Anthony LC
parent a745cb7498
commit dcbef9630e
2 changed files with 4 additions and 2 deletions

View File

@@ -85,7 +85,7 @@ test.describe('Doc Export', () => {
page,
browserName,
}) => {
test.slow();
test.setTimeout(60000);
const [randomDoc] = await createDoc(page, 'doc-editor', browserName, 1);
let body = '';

View File

@@ -216,6 +216,8 @@ test.describe('Document list members', () => {
page.getByText('The member has been removed from the document').first(),
).toBeVisible();
await expect(page.getByText('Share')).toBeHidden();
await expect(
page.getByRole('heading', { name: 'Share', level: 3 }),
).toBeHidden();
});
});