✅(e2e) fix flaki tests
Some tests were getting flaky: - check the reorder of sub page - it checks interlink feature
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user