[task#146786, 0.1h],add switch vision waite time.
This commit is contained in:
@@ -21,7 +21,7 @@ class changeStoryInLiteTester extends tester
|
||||
*/
|
||||
public function changeStoryInLite($storyName, $reviewer)
|
||||
{
|
||||
$form = $this->switchVision('lite');
|
||||
$form = $this->switchVision('lite', 5);
|
||||
$form = $this->initForm('projectstory', 'story', array('projectID' => '1'), 'appIframe-project'); //变更目标前需要进入列表页面,获取项目ID
|
||||
$form = $this->initForm('story', 'change', array('storyID' => '1', 'from' => 'project'), 'appIframe-project');
|
||||
$form->dom->title->setValue($storyName);
|
||||
|
||||
@@ -34,7 +34,7 @@ class createStoryInLiteTester extends tester
|
||||
'storyType' => 'story'
|
||||
);
|
||||
|
||||
$form = $this->switchVision('lite');
|
||||
$form = $this->switchVision('lite', 5);
|
||||
$form->page->wait(2)->refresh();
|
||||
$form = $this->initForm('projectstory', 'story', array('projectID' => '1'), 'appIframe-project'); //由于创建目标后会跳转到记录了session的页面,所以先进入一次对应目标的列表页面
|
||||
$form = $this->initForm('story', 'create', $createStoryParam, 'appIframe-project'); //再进入创建目标页面
|
||||
|
||||
Reference in New Issue
Block a user