(e2e) fix e2e tests

After translating to french, a selector was not
accessible anymore because the aria label
was in english. We update the selector to use the
french aria label.
We increase as well the timeout of another test
that was flaky.
This commit is contained in:
Anthony LC
2025-09-04 16:12:33 +02:00
parent b317a2a596
commit 63a2bde11e
2 changed files with 4 additions and 2 deletions

View File

@@ -461,7 +461,7 @@ test.describe('Doc Export', () => {
await page
.getByRole('button', {
name: 'Export the document',
name: 'Exporter le document',
})
.click();

View File

@@ -86,7 +86,9 @@ test.describe('Doc Routing', () => {
await responsePromise;
await expect(page.getByText('Log in to access the document')).toBeVisible();
await expect(page.getByText('Log in to access the document')).toBeVisible({
timeout: 10000,
});
});
});