Test filesverification/TestModule/Test/BasicFunctionalTest/MergeMassViaInsertAfter.xml
verification/TestModule/Test/MergeFunctionalTest/MergeMassViaInsertAfter.xml
")
*/
class MergeMassViaInsertAfterCest
{
/**
* @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 MergeMassViaInsertAfter(AcceptanceTester $I)
{
$I->fillField("#foo", "foo"); // stepKey: fillField1
$I->fillField("#bar", "bar"); // stepKey: fillField2
$I->click("#mergeOne"); // stepKey: clickOne
$I->click("#mergeTwo"); // stepKey: clickTwo
$I->click("#mergeThree"); // stepKey: clickThree
$I->fillField("#baz", "baz"); // stepKey: fillField3
}
public function _passed(AcceptanceTester $I)
{
// Test passed successfully.
$this->isSuccess = true;
}
}