+ [task#126576] add form fields of createstage file.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user