+ [task#126576] add form fields of createstage file.

This commit is contained in:
huairong
2024-08-22 14:40:59 +08:00
committed by 李阳
parent 8adb46cdd9
commit a3ba2e0270
@@ -5,7 +5,7 @@ class createStageTester extends tester
/**
* Create a stage.
*
* @param arrary $waterfall
* @param arrary $waterfall
* @access public
* @return object
*/
@@ -20,5 +20,11 @@ class createStageTester extends tester
$programplanForm->dom->$btn->click();
$programplanForm->wait(1);
}
}
if(isset($waterfall['name_0'])) $programplanForm->dom->name_0->setValue($waterfall['name_0']);
if(isset($waterfall['begin_0'])) $programplanForm->dom->begin->setValue($waterfall['begin_0']);
if(isset($waterfall['end_0'])) $programplanForm->dom->end->setValue($waterfall['end_0']);
$programplanForm->wait(1);
$programplanForm->dom->submitBtn->click();
$programplanForm->wait(1);
}