* [task#136194,doing,0.2h,2.5h] Modify function checkTagData.
This commit is contained in:
@@ -20,5 +20,19 @@ class casesTester extends tester
|
||||
if($form->dom->num->getText() == $num) $this->success('标签下数据统计正确');
|
||||
return $this->failed('标签下数据统计错误');
|
||||
}
|
||||
if($tags == 'assignedToMe')
|
||||
{
|
||||
$form->dom->btn($this->lang->testtask->assignedToMe)->click();
|
||||
if($form->dom->num->getText() == $num) $this->success('标签下数据统计正确');
|
||||
return $this->failed('标签下数据统计错误');
|
||||
}
|
||||
if($tags == 'browseBySuite')
|
||||
{
|
||||
$form->dom->btn($this->lang->testtask->browseBySuite)->click();
|
||||
$form->dom->firstSuite->click();
|
||||
if($form->dom->num->getText() == $num) $this->success('标签下数据统计正确');
|
||||
return $this->failed('标签下数据统计错误');
|
||||
}
|
||||
return $this->failed('标签不存在');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user