[misc, 0.1h] correct code style.
This commit is contained in:
@@ -24,7 +24,7 @@ class editStoryTester extends tester
|
||||
$editStoryParam = array(
|
||||
'storyID' => '39',
|
||||
'kanbanGroup' => 'default',
|
||||
'storyType' => 'story',
|
||||
'storyType' => 'story'
|
||||
);
|
||||
/* 提交表单 */
|
||||
$form = $this->initForm('story', 'edit', $editStoryParam, 'appIframe-product');
|
||||
@@ -39,5 +39,5 @@ class editStoryTester extends tester
|
||||
if($viewPafe->dom->storyFrom->getText() != '客户') return $this->failed('需求来源不正确');
|
||||
|
||||
return $this->success('编辑研发需求成功');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ class viewPage extends page
|
||||
'storyName' => "//*[@id='mainContent']/div/div[1]/div[1]/span[2]",
|
||||
'status' => "/html/body/div[1]/div/div/div/div[2]/div[2]/div[1]/div[2]/div[1]/div/div[6]/div[2]/span",
|
||||
'storyFrom' => "//*[@id='sourceBox']",
|
||||
'historyOpenedBy' => "/html/body/div[1]/div/div/div/div[2]/div[1]/div[2]/div/div[2]/ul/li/div/div[2]/div/div/strong",
|
||||
'historyOpenedBy' => "/html/body/div[1]/div/div/div/div[2]/div[1]/div[2]/div/div[2]/ul/li/div/div[2]/div/div/strong"
|
||||
);
|
||||
$this->dom->xpath = array_merge($this->dom->xpath, $xpath);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user