✅(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:
@@ -461,7 +461,7 @@ test.describe('Doc Export', () => {
|
||||
|
||||
await page
|
||||
.getByRole('button', {
|
||||
name: 'Export the document',
|
||||
name: 'Exporter le document',
|
||||
})
|
||||
.click();
|
||||
|
||||
|
||||
@@ -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,
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user