+ [test,done,0.1h,0h] add edit bug name test case.

This commit is contained in:
luxuyang
2024-06-28 11:06:44 +08:00
committed by 陆旭阳
parent 4e58d99d24
commit 598a82d7ca
+4 -2
View File
@@ -6,8 +6,10 @@ $tester = new confirmBugTester();
$bug = array();
$bug['search'][] = array('field1' => 'Bug状态', 'operator1' => '=', 'value1' => '激活');
$bug['bugName'] = 'bug' . time();
$project = array();
$project['productID'] = 1;
r($tester->editBug($project, $bug)) && p('message,status') && e('解决bug成功'); //验证bug表单页必填项校验
r($tester->editBug($project, $bug)) && p('message,status') && e('编辑bug成功'); //验证直接编辑bug是否成功
$bug['bugName'] = 'bug' . time();
r($tester->editBug($project, $bug)) && p('message,status') && e('编辑bug名称成功'); //验证编辑bug名称是否成功