R7E-16D 审批动作二次确认
Refs: R7E-16D BIZ8-12B QAOPS8-17
这个提交包含在:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
在新工单中引用
屏蔽一个用户