* [task#126185,doing,0.5h,2h] Add the function inputFieldsof ui test to close execution.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user