[task#133979, 1h] add ER split UR uitest steps.

This commit is contained in:
lijie
2024-12-10 17:00:50 +08:00
committed by 李阳
parent 51e4217943
commit 9c26e79df4
@@ -18,3 +18,23 @@ class createChildStoryTester extends tester
'productID' => '1',
'branch' => '',
'browseType' => 'allstory',
'param' => '0',
'storyType' => 'epic'
);
$form = $this->initForm('product', 'browse', $browseStoryParam, 'appIframe-product');
$form->dom->search($searchList = array("需求名称,包含,$storyName"));
if($form->dom->{$this->lang->story->subdivide}->getText != '评审中和已关闭的需求,无法进行拆分操作') return $this->failed('细分按钮高亮不正确');
return $this->success('细分按钮高亮正确');
}
/**
* Batchcreate requirement.
*
* @param string $type
* @param string $storyName
* @access public
* @return object
*/
public function batchCreateDefault($storyName, $childName)
{
$browseStoryParam = array(
'productID' => '1',