Test files
verification/TestModule/Test/ActionGroupTest.xml
")
*/
class ActionGroupUsingCreateDataCest
{
/**
* @param AcceptanceTester $I
* @throws \Exception
*/
public function _before(AcceptanceTester $I)
{
$I->comment("Entering Action Group [Key1] actionGroupWithCreateData");
$I->comment("[createCategoryKey1] create 'ApiCategory' entity");
PersistedObjectHandler::getInstance()->createEntity(
"createCategoryKey1",
"hook",
"ApiCategory",
[],
[]
);
$I->comment("[createConfigProductKey1] create 'ApiConfigurableProduct' entity");
PersistedObjectHandler::getInstance()->createEntity(
"createConfigProductKey1",
"hook",
"ApiConfigurableProduct",
["createCategoryKey1"],
[]
);
$I->comment("Exiting Action Group [Key1] actionGroupWithCreateData");
}
/**
* @Features({"TestModule"})
* @Parameter(name = "AcceptanceTester", value="$I")
* @param AcceptanceTester $I
* @return void
* @throws \Exception
*/
public function ActionGroupUsingCreateData(AcceptanceTester $I)
{
}
}