Deprecated Notice(s):
- 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/DeprecatedEntitiesTest.xml
")
*/
class DeprecatedEntitiesTestCest
{
/**
* @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 DeprecatedEntitiesTest(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;
}
}