* [task#129848,done,1.5h] Add function.
This commit is contained in:
@@ -11,7 +11,8 @@ class testtaskPage extends page
|
||||
'waiting' => "//*[@id='taskTable']/div[3]/div[2]/strong[2]",
|
||||
'doing' => "//*[@id='taskTable']/div[3]/div[2]/strong[3]",
|
||||
'blocked' => "//*[@id='taskTable']/div[3]/div[2]/strong[4]",
|
||||
'done' => "//*[@id='taskTable']/div[3]/div[2]/strong[5]"
|
||||
'done' => "//*[@id='taskTable']/div[3]/div[2]/strong[5]",
|
||||
'modalInfo' => "//div[@class='modal-body']/div"
|
||||
);
|
||||
$this->dom->xpath = array_merge($this->dom->xpath, $xpath);
|
||||
}
|
||||
|
||||
@@ -64,4 +64,5 @@ $tester->login();
|
||||
|
||||
r($tester->checkNum(false, array(10, 3, 4, 2, 1))) && p('status,message') && e('SUCCESS,测试单统计数据正确');
|
||||
r($tester->checkNum(true, array(10, 3, 4, 2, 1))) && p('status,message') && e('SUCCESS,测试单统计数据正确');
|
||||
r($tester->createReport()) && p('status,message') && e('SUCCESS,不同产品的测试单生成测试报告提示正确');
|
||||
$tester->closeBrowser();
|
||||
|
||||
Reference in New Issue
Block a user