fix(e2e): Search works when dismissing a tab

This commit is contained in:
SiriusXT 2025-05-30 09:59:29 +08:00
parent 11b8c3425c
commit e59c972780

View File

@ -115,7 +115,7 @@ test("Search works when dismissing a tab", async ({ page, context }) => {
await app.getTab(0).click();
await app.openAndClickNoteActionMenu("Search in note");
await expect(app.findAndReplaceWidget).toBeVisible();
await expect(app.findAndReplaceWidget.first()).toBeVisible();
});
test("New tab displays workspaces", async ({ page, context }) => {