test(server/e2e): flaky test

This commit is contained in:
Elian Doran
2025-07-30 10:34:38 +03:00
parent aefa2315b7
commit a3ba5ca109
2 changed files with 7 additions and 3 deletions

View File

@@ -72,6 +72,7 @@ test("Tabs are restored in right order", async ({ page, context }) => {
// Select the mid one.
await app.getTab(1).click();
await expect(app.noteTreeActiveNote).toContainText("Text notes");
// Refresh the page and check the order.
await app.goto( { preserveTabs: true });