Test filesverification/TestModule/Test/MergeFunctionalTest/BasicMergeTest.xml
verification/TestModuleMerged/Test/MergeFunctionalTest/BasicMergeTest.xml
")
*/
class BasicMergeTestCest
{
/**
* @param AcceptanceTester $I
* @throws \Exception
*/
public function _before(AcceptanceTester $I)
{
$I->amOnPage("/beforeUrl"); // stepKey: before1
$I->see("#before2"); // stepKey: before2
}
/**
* @param AcceptanceTester $I
* @throws \Exception
*/
public function _after(AcceptanceTester $I)
{
$I->amOnPage("/afterUrl1"); // stepKey: after1
}
/**
* @param AcceptanceTester $I
* @throws \Exception
*/
public function _failed(AcceptanceTester $I)
{
$I->saveScreenshot(); // stepKey: saveScreenshot
}
/**
* @Severity(level = SeverityLevel::CRITICAL)
* @Features({"TestModule"})
* @Stories({"MQE-433"})
* @Parameter(name = "AcceptanceTester", value="$I")
* @param AcceptanceTester $I
* @return void
* @throws \Exception
*/
public function BasicMergeTest(AcceptanceTester $I)
{
$I->amOnPage("/step1"); // stepKey: step1
$I->click("#step2"); // stepKey: step2
$I->fillField("#username", "step3"); // stepKey: step3
$I->click("#step4"); // stepKey: step4
$I->fillField("#password", "step5"); // stepKey: step5
$I->click("#step6Merged"); // stepKey: step6Merge
$I->click("#element .Jane .step7Merge"); // stepKey: step7Merge
$I->comment("Entering Action Group [step8Merge] FunctionalActionGroupWithData");
$I->amOnPage("/Jane/Dane.html"); // stepKey: amOnPage1Step8Merge
$I->fillField("#foo", "Jane"); // stepKey: fillField1Step8Merge
$I->fillField("#bar", "Dane"); // stepKey: fillField2Step8Merge
$I->searchAndMultiSelectOption("#foo", ["Jane", "Dane"]); // stepKey: multi1Step8Merge
$I->see("#element .Jane"); // stepKey: see1Step8Merge
$I->comment("Exiting Action Group [step8Merge] FunctionalActionGroupWithData");
$I->click("#step10MergedInResult"); // stepKey: step10
}
}