[task#146786, 0.1h],add switch vision waite time.

This commit is contained in:
lijie
2025-07-21 17:34:46 +08:00
parent 14048ca496
commit efeefe28f7
2 changed files with 2 additions and 2 deletions
@@ -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'); //再进入创建目标页面