feat: 补齐虚拟机验收并去掉 Docker 弱网占位

This commit is contained in:
Nixevol
2026-10-04 04:12:54 +08:00
parent 069039f4cb
commit fca23c310c
23 changed files with 291 additions and 622 deletions
+5 -1
View File
@@ -146,7 +146,11 @@ test.describe("后台主路径 W4", () => {
const row = page.locator("tr", { hasText: "w4-e2e-token" });
await expect(row.getByText("是")).toBeVisible();
await row.getByRole("button", { name: "停用" }).click();
const disable = row.getByRole("button", { name: "停用" });
await disable.evaluate((el: HTMLElement) => {
el.scrollIntoView({ block: "center", inline: "nearest" });
el.click();
});
await expect(row.getByText("否")).toBeVisible();
});
});