修复工单内容格式与财务页面接口契约
This commit is contained in:
1 parent
90989f8f8a
commit
d330ad01cc
8 files changed
+551
-149
No files matched your search
@@ -272,7 +272,7 @@ test(
|
||||
await page
|
||||
.getByRole("heading", { name: "审计工单2", exact: true })
|
||||
.waitFor();
|
||||
assert.equal((await editor.innerText()).trim(), "");
|
||||
assert.equal(await editor.inputValue(), "");
|
||||
await editor.fill("第二张工单的回复");
|
||||
await page.getByRole("button", { name: "提交回复", exact: true }).click();
|
||||
await eventually(
|
||||
@@ -289,7 +289,7 @@ test(
|
||||
await page
|
||||
.getByRole("button", { name: "关闭工单", exact: true })
|
||||
.waitFor({ state: "hidden" });
|
||||
assert.equal(await editor.getAttribute("contenteditable"), "false");
|
||||
assert.equal(await editor.isEditable(), false);
|
||||
assert.equal(await page.locator("#reply-files").isDisabled(), true);
|
||||
assert.equal(
|
||||
await page
|
||||
@@ -404,7 +404,7 @@ for (const [routePath, status] of [
|
||||
name: "回复内容",
|
||||
exact: true,
|
||||
});
|
||||
assert.equal(await editor.getAttribute("contenteditable"), "false");
|
||||
assert.equal(await editor.isEditable(), false);
|
||||
assert.equal(await page.locator("#reply-files").isDisabled(), true);
|
||||
assert.equal(
|
||||
await page
|
||||
|
||||
Reference in new issue
Block a user