* [task#131847,doing] Add function.

This commit is contained in:
yulujie
2024-11-06 14:26:54 +08:00
committed by 李阳
parent 589de6df17
commit 33bb149efb
@@ -0,0 +1,20 @@
<?php
include dirname(__FILE__, 5) . '/test/lib/ui.php';
class treeTester extends tester
{
/**
* 检查树状图中的任务、需求详情显示。
* Check detail data.
*
* @access public
* @return object
*/
public function checkDetail()
{
$form = $this->initForm('execution', 'tree', array('execution' => '2'), 'appIframe-execution');
$form->dom->detail->click();
$form->wait(1);
if($form->dom->detail->getText() == $form->dom->title->getText()) return $this->success('详情数据正确');
return $this->failed('详情数据错误');
}
}