* [task#126833,doing,0.5h,1.5h] Add new function of ui test to putoff execution.
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user