From c427a421507c2f7ccac16e8fd5cf33c0de3e8cdf Mon Sep 17 00:00:00 2001 From: yulujie Date: Thu, 22 Aug 2024 14:19:28 +0800 Subject: [PATCH] * [task#126833,doing,0.5h,2.5h] Modify function inputFields of ui test to putoff execution. --- module/execution/test/lib/putoffexecution.ui.class.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/module/execution/test/lib/putoffexecution.ui.class.php b/module/execution/test/lib/putoffexecution.ui.class.php index 3816e854df..d6379a5a88 100644 --- a/module/execution/test/lib/putoffexecution.ui.class.php +++ b/module/execution/test/lib/putoffexecution.ui.class.php @@ -13,7 +13,10 @@ class putoffExecutionTester extends tester public function inputFields($execution, $executionId) { $form = $this->initForm('execution', 'view', array('execution' => $executionId ), 'appIframe-execution'); + $status = $form->dom->status->getText(); $form->dom->putoff->click(); + if(isset($execution['begin'])) $form->dom->begin->datePicker($execution['begin']); + if(isset($execution['end'])) $form->dom->end->datePicker($execution['end']); $form->dom->putoffSubmit->click(); $form->wait(1); }