(e2e) fix flaki tests

Some tests were getting flaky:
- check the reorder of sub page
- it checks interlink feature
This commit is contained in:
Anthony LC
2026-01-21 11:55:20 +01:00
parent 65b67a29b1
commit f64800727a
5 changed files with 33 additions and 49 deletions

View File

@@ -162,7 +162,7 @@ export const verifyDocName = async (page: Page, docName: string) => {
await expect(
page.getByRole('textbox', { name: 'Document title' }),
).toContainText(docName, {
timeout: 1000,
timeout: 3000,
});
} catch {
await expect(page.getByRole('heading', { name: docName })).toBeVisible();