From dec74ee4cd0f0229c53de9b4293605cbc0c42de2 Mon Sep 17 00:00:00 2001 From: lixiaoyu Date: Mon, 21 Jul 2025 08:34:21 +0800 Subject: [PATCH] *[task#146787,doing,0.5h,3h] --- module/projectstory/test/lib/changestatusinlite.ui.class.php | 3 +-- module/projectstory/test/lib/switchtabinlite.ui.class.php | 2 +- module/story/test/lib/batchcreateinlite.ui.class.php | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) 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);