+[task#129333,doing,4h,1h] Add ui function files of project browse tab.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
include dirname(__FILE__, 5) . '/test/lib/ui.php';
|
||||
class browseTabTester extends tester
|
||||
{
|
||||
/**
|
||||
* 项目列表tab标签数量。
|
||||
* Project browse tab.
|
||||
*
|
||||
* @param string $tab
|
||||
* @param string $expectNum
|
||||
* @access public
|
||||
*/
|
||||
public function checkBrowseTab($tab, $expectNum)
|
||||
{
|
||||
$form = $this->initForm('project', 'browse', '', 'appIframe-project');
|
||||
$tabs = array('all', 'undone', 'wait', 'doing');
|
||||
if(!in_array($tab, $tabs)) $form->dom->moreTab->click();
|
||||
$form->wait(2);
|
||||
$form->dom->$tab->click();
|
||||
Reference in New Issue
Block a user