* [task#126185,doing,0.5h,2h] Add the function inputFieldsof ui test to close execution.

This commit is contained in:
yulujie
2024-08-20 17:25:07 +08:00
committed by 李阳
parent 2362e17366
commit b1294b70bf
@@ -0,0 +1,20 @@
<?php
include dirname(__FILE__, 5) . '/test/lib/ui.php';
class closeExecutionTester extends tester
{
/**
* 关闭执行弹窗中输入实际完成日期。
* Input fields.
*
* @param string $realEnd
* @access public
*/
public function inputFields($realEnd)
{
$form = $this->initForm('execution', 'view', array('execution' => '101'), 'appIframe-execution');
$form->dom->close->click();
if(isset($realEnd)) $form->dom->realEnd->datePicker($realEnd);
$form->wait(1);
$form->dom->closeSubmit->click();
}
}