R7E-16D 审批动作二次确认

Refs: R7E-16D BIZ8-12B QAOPS8-17
这个提交包含在:
2026-05-15 21:20:49 +08:00
父节点 ff58b0d697
当前提交 96488d8052
共修改 20 个文件,包含 611 行新增和 67 行删除
@@ -41,6 +41,14 @@ export class WorkflowTaskDetailPageObject {
return this.page.getByTestId(TEST_IDS.workflow.actionError);
}
get actionConfirmDialog() {
return this.page.getByTestId("workflow-action-confirm-dialog");
}
get actionConfirmSubmit() {
return this.page.getByTestId("workflow-action-confirm-submit");
}
get transferApproverSelect() {
return this.page.getByTestId(TEST_IDS.workflow.transferApprover);
}
@@ -52,15 +60,21 @@ export class WorkflowTaskDetailPageObject {
async approve() {
await this.approveBtn.click();
await expect(this.actionConfirmDialog).toContainText("确认后将进入下一审批节点");
await this.actionConfirmSubmit.click();
}
async reject(comment: string) {
await this.rejectCommentInput.fill(comment);
await this.rejectBtn.click();
await expect(this.actionConfirmDialog).toContainText("当前流程将终止");
await this.actionConfirmSubmit.click();
}
async returnTask(comment: string) {
await this.returnCommentInput.fill(comment);
await this.returnBtn.click();
await expect(this.actionConfirmDialog).toContainText("回到申请人修改态");
await this.actionConfirmSubmit.click();
}
}