From 28feb07261005f1f5d376466cc7d1e23a0dbef7f Mon Sep 17 00:00:00 2001 From: yulujie Date: Thu, 22 Aug 2024 15:21:44 +0800 Subject: [PATCH] * [task#126833,doing,0.5h,1.5h] Add new function of ui test to putoff execution. --- .../test/lib/putoffexecution.ui.class.php | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/module/execution/test/lib/putoffexecution.ui.class.php b/module/execution/test/lib/putoffexecution.ui.class.php index ab397ac884..30f81c30a3 100644 --- a/module/execution/test/lib/putoffexecution.ui.class.php +++ b/module/execution/test/lib/putoffexecution.ui.class.php @@ -21,7 +21,7 @@ class putoffExecutionTester extends tester $form->wait(1); } - /* + /** * 延期执行。 * Putoff execution. * @@ -40,4 +40,20 @@ class putoffExecutionTester extends tester if($form->dom->plannedEnd->getText() != $execution['end']) return $this->failed('计划完成时间错误'); return $this->success('延期执行成功'); } + + /** + * 延期执行的计划起止日期不正确。 + * Putoff execution with wrong date. + * + * @param array $execution + * @param string $executionId + * @param string $dateType begin|end + * @access public + * @return bool + */ + Public function putoffiWithWrongDate($execution, $executionId, $dateType = 'end') + { + $this->inputFields($execution, $executionId); + + } }