Deprecated Notice(s):
- Test is deprecated
- DEPRECATED ACTION GROUP in Test: DeprecatedActionGroup Deprecated action group
- DEPRECATED SECTION in Test: {{DeprecatedSection.deprecatedElement}} Deprecated section
- DEPRECATED ELEMENT in Test: {{DeprecatedSection.deprecatedElement}} Deprecated element
- DEPRECATED DATA ENTITY in Test: {{DeprecatedData.field}} Data entity deprecated
- DEPRECATED PAGE in Test: {{DeprecatedPage.url}} Deprecated page
Test files
verification/TestModule/Test/DeprecatedTest.xml
")
*/
class DeprecatedTestCest
{
/**
* @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 DeprecatedTest(AcceptanceTester $I)
{
$I->comment("Entering Action Group [deprecatedActionGroup] DeprecatedActionGroup");
$I->see("deprecated", "#element"); // stepKey: deprecatedSeeDeprecatedActionGroup
$I->comment("Exiting Action Group [deprecatedActionGroup] DeprecatedActionGroup");
$I->amOnPage("/test.html"); // stepKey: amOnPage
}
public function _passed(AcceptanceTester $I)
{
// Test passed successfully.
$this->isSuccess = true;
}
}