diff --git a/module/projectstory/test/lib/changestatusinlite.ui.class.php b/module/projectstory/test/lib/changestatusinlite.ui.class.php index 7a49748352..a93b11d00e 100755 --- a/module/projectstory/test/lib/changestatusinlite.ui.class.php +++ b/module/projectstory/test/lib/changestatusinlite.ui.class.php @@ -11,8 +11,7 @@ class changeStatus extends tester */ public function closeStory($storyUrl) { - $this->switchVision('lite'); - $this->page->wait(3); + $this->switchVision('lite', 5); $form = $this->initForm('projectstory', 'view', $storyUrl, 'appIframe-project'); $form->wait(2); $form->dom->closeBtn->click(); diff --git a/module/projectstory/test/lib/switchtabinlite.ui.class.php b/module/projectstory/test/lib/switchtabinlite.ui.class.php index 316fb88df2..e30a8f2e6c 100755 --- a/module/projectstory/test/lib/switchtabinlite.ui.class.php +++ b/module/projectstory/test/lib/switchtabinlite.ui.class.php @@ -13,7 +13,7 @@ class switchTab extends tester */ public function switchTab($projectID, $tabName, $expectNum) { - $this->switchVision('lite'); + $this->switchVision('lite', 5); $form = $this->initForm('projectstory', 'story', $projectID, 'appIframe-project'); $numDom = $tabName . 'Num'; $tabLang = [ diff --git a/module/story/test/lib/batchcreateinlite.ui.class.php b/module/story/test/lib/batchcreateinlite.ui.class.php index 50f2ce0a96..327de6ae1f 100755 --- a/module/story/test/lib/batchcreateinlite.ui.class.php +++ b/module/story/test/lib/batchcreateinlite.ui.class.php @@ -14,8 +14,7 @@ class batchCreateStory extends tester */ public function batchCreateStory($project, $storyUrl, $story) { - $this->switchVision('lite'); - $this->page->wait(3); + $this->switchVision('lite', 5); $this->openURL('projectstory', 'story', $project, 'appIframe-project'); $form = $this->initForm('story', 'batchCreate', $storyUrl, 'appIframe-project'); $form->wait(2);