+ [task#126576] add ui test file of createstage of programplan.

This commit is contained in:
huairong
2024-08-22 14:40:59 +08:00
committed by 李阳
parent 1e035481f2
commit 90f3385d23
+17
View File
@@ -0,0 +1,17 @@
<?php
include dirname(__FILE__, 5) . '/test/lib/ui.php';
class createStageTester extends tester
{
public function createStage(array $waterfall)
{
$programplanForm = $this->initForm('programplan', 'create' , array('projectID' => 5), 'appIframe-project');
//删除除需求外的其他默认阶段行
for ($i = 6; $i > 1; $i--)
{
$btn = "deleteBtn_$i";
$programplanForm->dom->$btn->click();
$programplanForm->wait(1);
}
}
}