test(web): stabilize download acceptance

This commit is contained in:
Kang committed 2026-10-04 23:47:31 +08:00
1 parent 0bc3466cff
commit f7dd3200f8
1 file changed
+3 -3
+3 -3
View File
@@ -210,10 +210,10 @@ test("single administrator: login, SSH, refresh, editor, conflicts, download, ch
has: page.getByText("readme.txt", { exact: true }), has: page.getByText("readme.txt", { exact: true }),
}); });
await expect(readmeRow).toHaveCount(1); await expect(readmeRow).toHaveCount(1);
await readmeRow.click({ button: "right" }); await readmeRow.click();
await page await page
.getByRole("menuitem", { .getByRole("button", {
name: t("fileExplorer.cmDownload"), name: t("fileExplorer.downloadSelected"),
exact: true, exact: true,
}) })
.click(); .click();