+ [test,done,0.3h,0h] add edit bug uitest test case.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
chdir(__DIR__);
|
||||
include '../lib/confirmbug.ui.class.php';
|
||||
$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表单页必填项校验
|
||||
Reference in New Issue
Block a user