fix: R27-5 R27-6 收口本地回归基线与E2E适配

这个提交包含在:
2026-03-22 21:13:03 +08:00
父节点 312200ec1b
当前提交 15d0473c0b
共修改 8 个文件,包含 148 行新增和 18 行删除
+3 -1
查看文件
@@ -1,5 +1,7 @@
import { expect, test, type Locator, type Page } from "@playwright/test";
import { openNavLink } from "./helpers/navigation";
const FINANCE_MGR = { identifier: "[email protected]", password: "FinanceMgrPassword1234", name: "Finance Manager" };
const ADMINISTRATION = { identifier: "[email protected]", password: "AdministrationPassword1234", name: "Administration" };
@@ -125,7 +127,7 @@ test("E2E 资产流转主链路:建卡→领用归还→调拨→盘点", asyn
await logout(page, ADMINISTRATION.name);
await login(page, FINANCE_MGR);
await page.getByRole("link", { name: "资产盘点" }).click();
await (await openNavLink(page, "资产盘点")).click();
await page.getByTestId("inventory-create").click();
const inventoryRow = page.getByTestId("inventory-row").first();