Test filesverification/TestModule/Test/BasicFunctionalTest/MergeMassViaInsertBefore.xml
verification/TestModule/Test/MergeFunctionalTest/MergeMassViaInsertBefore.xml
")
*/
class MergeMassViaInsertBeforeCest
{
/**
* @var bool
*/
private $isSuccess = false;
/**
* @param AcceptanceTester $I
* @throws \Exception
*/
public function _after(AcceptanceTester $I)
{
if ($this->isSuccess) {
unlink(__FILE__);
}
}
/**
* @Features({"TestModule"})
* @param AcceptanceTester $I
* @return void
* @throws \Exception
*/
public function MergeMassViaInsertBefore(AcceptanceTester $I)
{
$I->fillField("#foo", "foo"); // stepKey: fillField1
$I->click("#mergeOne"); // stepKey: clickOne
$I->click("#mergeTwo"); // stepKey: clickTwo
$I->click("#mergeThree"); // stepKey: clickThree
$I->fillField("#bar", "bar"); // stepKey: fillField2
$I->fillField("#baz", "baz"); // stepKey: fillField3
}
public function _passed(AcceptanceTester $I)
{
// Test passed successfully.
$this->isSuccess = true;
}
}