mirror of
https://github.com/suitenumerique/docs
synced 2026-04-21 13:37:20 +00:00
✅(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:
parent
b317a2a596
commit
63a2bde11e
2 changed files with 4 additions and 2 deletions
|
|
@ -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,
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue