+[task#134825,doing,0.9h,0.6h] Add testui function.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
include dirname(__FILE__, 5) . '/test/lib/ui.php';
|
||||
class releaseLinkBugTester extends tester
|
||||
{
|
||||
/**
|
||||
* Release link bug.
|
||||
* 发布关联bug
|
||||
*
|
||||
* @param array $release
|
||||
* @access public
|
||||
*/
|
||||
public function linkBug()
|
||||
{
|
||||
$form = $this->initForm('release', 'view', array('releaseID' => 1), 'appIframe-product');
|
||||
$form->dom->resolvedBugTab->click();
|
||||
$form->dom->linkBugBtn->click();
|
||||
$form->wait(2);
|
||||
$form->dom->searchBtn->click();
|
||||
$form->dom->selectAllBug->click(); // 点击全选按钮
|
||||
$form->dom->linkBugBtnBottom->click();
|
||||
Reference in New Issue
Block a user