fix: R27-5 R27-6 收口本地回归基线与E2E适配
这个提交包含在:
@@ -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();
|
||||
|
||||
在新工单中引用
屏蔽一个用户