[misc, 0.5h] modify function used data.

This commit is contained in:
lijie
2024-09-20 15:51:08 +08:00
committed by 李阳
parent 2214481020
commit 6b15bb3016
+2 -2
View File
@@ -22,7 +22,7 @@ class editStoryTester extends tester
public function editStory($storyFrom)
{
$editStoryParam = array(
'storyID' => '2',
'storyID' => '1',
'kanbanGroup' => 'default',
'storyType' => 'story'
);
@@ -33,7 +33,7 @@ class editStoryTester extends tester
$form->dom->btn($this->lang->save)->click();
$form->wait(1);
$browsePage = $this->loadPage('story', 'view', '2');
$browsePage = $this->loadPage('story', 'view', '1');
$viewPafe = $this->loadPage('story', 'view');
if($viewPafe->dom->storyFrom->getText() != '客户') return $this->failed('需求来源不正确');