统一菜单命名并移除剩余台账工具(05-31-unified-menu-remove-ledger-tools-wave2)
这个提交包含在:
@@ -153,7 +153,7 @@ async function createAsset(page: Page, categoryName: string, suffix: string, ind
|
||||
};
|
||||
}
|
||||
|
||||
test("ASSET1D 公网资产台账试录:FA/EA-SYS/EA-REPO/EA-BKP", async ({ page }) => {
|
||||
test("ASSET1D 公网资产试录:FA/EA-SYS/EA-REPO/EA-BKP", async ({ page }) => {
|
||||
test.skip(process.env.ASSET1D_PUBLIC_TRIAL !== "1", "ASSET1D public trial requires explicit ASSET1D_PUBLIC_TRIAL=1");
|
||||
const admin = requireAdminUser();
|
||||
const suffix = String(Date.now()).slice(-8);
|
||||
|
||||
@@ -997,7 +997,7 @@ test(`${trialrunIssueId} 浏览器业务先行试运行:报销、审批、请
|
||||
const employee = await loginRole(page, "employee");
|
||||
try {
|
||||
await page.setViewportSize({ width: 1440, height: 960 });
|
||||
await (await openNavLink(page, "采购申请")).click();
|
||||
await (await openNavLink(page, "采购")).click();
|
||||
const createResponsePromise = page.waitForResponse(
|
||||
(response) => response.request().method() === "POST" && new URL(response.url()).pathname === "/api/purchase-requests",
|
||||
);
|
||||
@@ -1168,7 +1168,7 @@ test(`${trialrunIssueId} 浏览器业务先行试运行:报销、审批、请
|
||||
detail: "报销审批已完成;/payment-batches 返回当前功能未启用,未创建付款批次或执行付款。",
|
||||
};
|
||||
}
|
||||
await page.getByRole("button", { name: "台账工具" }).click();
|
||||
await page.getByRole("button", { name: "新建批次" }).click();
|
||||
const createCard = page.getByTestId("payment-batch-create-panel");
|
||||
await expect(createCard.getByRole("button", { name: "创建批次" })).toBeEnabled();
|
||||
const createBatchResponsePromise = page.waitForResponse((response) => {
|
||||
|
||||
在新工单中引用
屏蔽一个用户