Test filesverification/TestModule/Test/ExtendedFunctionalTest/ChildExtendedTestRemoveAction.xml
") */ class ChildExtendedTestRemoveActionCest { /** * @var bool */ private $isSuccess = false; /** * @param AcceptanceTester $I * @throws \Exception */ public function _before(AcceptanceTester $I) { $I->comment('[START BEFORE HOOK]'); $I->amOnPage("/beforeUrl"); // stepKey: beforeAmOnPageKey $I->comment('[END BEFORE HOOK]'); } /** * @param AcceptanceTester $I * @throws \Exception */ public function _after(AcceptanceTester $I) { $I->comment('[START AFTER HOOK]'); $I->amOnPage("/afterUrl"); // stepKey: afterAmOnPageKey $I->comment('[END AFTER HOOK]'); if ($this->isSuccess) { unlink(__FILE__); } } /** * @param AcceptanceTester $I * @throws \Exception */ public function _failed(AcceptanceTester $I) { $I->saveScreenshot(); // stepKey: saveScreenshot } /** * @Severity(level = SeverityLevel::CRITICAL) * @Features({"TestModule"}) * @Stories({"Child"}) * @param AcceptanceTester $I * @return void * @throws \Exception */ public function ChildExtendedTestRemoveAction(AcceptanceTester $I) { } public function _passed(AcceptanceTester $I) { // Test passed successfully. $this->isSuccess = true; } }