*[task#130296,doing,0.1h] Add ui test files of edit an apilib
This commit is contained in:
@@ -15,5 +15,25 @@ class createDocTester extends tester
|
||||
$form = $this->initForm('api', 'index', array(), 'appIframe-doc');
|
||||
$form->dom->fstMoreBtn->click();
|
||||
$form->dom->fstEditBtn->click();
|
||||
$form->wait(1);
|
||||
$form->dom->name->setValue($editLib->title);
|
||||
$form->dom->btn($this->lang->save)->click();
|
||||
$form->wait(1);
|
||||
if($form->dom->fstLibTitle->getText() != $editLib->title) return $thhis->failed('编辑接口库失败');
|
||||
return $this->success('编辑接口库成功');
|
||||
}
|
||||
|
||||
/*
|
||||
* 编辑接口文档。
|
||||
* Edit a apiDoc.
|
||||
*
|
||||
* @param string $apiDoc
|
||||
* @param string $apiPath
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function editApiDoc($apiDoc, $apiPath)
|
||||
{
|
||||
/*创建一个接口文档*/
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user