Test filesverification/TestModule/Test/ActionGroupTest/ActionGroupContainsStepKeyInArgText.xml
") */ class ActionGroupContainsStepKeyInArgTextCest { /** * @var bool */ private $isSuccess = false; /** * @param AcceptanceTester $I * @throws \Exception */ public function _before(AcceptanceTester $I) { $I->comment('[START BEFORE HOOK]'); $I->comment("Entering Action Group [actionGroup] actionGroupContainsStepKeyInArgValue"); $I->see("arg1", ".selector"); // stepKey: arg1ActionGroup $I->comment("Exiting Action Group [actionGroup] actionGroupContainsStepKeyInArgValue"); $I->comment('[END BEFORE HOOK]'); } /** * @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 ActionGroupContainsStepKeyInArgText(AcceptanceTester $I) { $I->comment("Entering Action Group [actionGroup] actionGroupContainsStepKeyInArgValue"); $I->see("arg1", ".selector"); // stepKey: arg1ActionGroup $I->comment("Exiting Action Group [actionGroup] actionGroupContainsStepKeyInArgValue"); } public function _passed(AcceptanceTester $I) { // Test passed successfully. $this->isSuccess = true; } }