@@ -27,15 +27,7 @@ class ActionGroupWithStepKeyReferencesCest
27
27
public function ActionGroupWithStepKeyReferences(AcceptanceTester $I)
28
28
{
29
29
$I->comment("Entering Action Group [actionGroup] FunctionActionGroupWithStepKeyReferences");
30
- $I->comment("[createSimpleDataActionGroup] create 'simpleData' entity");
31
- $I->createEntity(
32
- "createSimpleDataActionGroup",
33
- "test",
34
- "simpleData",
35
- [],
36
- []
37
- );
38
-
30
+ $I->createEntity("createSimpleDataActionGroup", "test", "simpleData", [], []); // stepKey: createSimpleDataActionGroup
39
31
$grabTextDataActionGroup = $I->grabTextFrom(".class"); // stepKey: grabTextDataActionGroup
40
32
$I->fillField(".{$grabTextDataActionGroup}", $I->retrieveEntityField('createSimpleDataActionGroup', 'field', 'test')); // stepKey: fill1ActionGroup
41
33
$I->comment("Invocation stepKey will not be appended in non stepKey instances");
@@ -51,38 +43,10 @@ class ActionGroupWithStepKeyReferencesCest
51
43
$action5ActionGroup = $date->format("H:i:s");
52
44
53
45
$action6ActionGroup = $I->formatMoney($action6ActionGroup); // stepKey: action6ActionGroup
54
- $I->comment("[action7ActionGroup] delete entity '{$action7ActionGroupActionGroup}'");
55
- $I->deleteEntity(
56
- "{$action7ActionGroupActionGroup}",
57
- "test"
58
- );
59
-
60
- $I->comment("[action8ActionGroup] get '{$action8}' entity");
61
- $I->getEntity(
62
- "action8ActionGroup",
63
- "test",
64
- "{$action8}",
65
- [],
66
- null
67
- );
68
-
69
- $I->comment("[action9ActionGroup] update '1' entity to '{$action9}'");
70
- $I->updateEntity(
71
- "1",
72
- "test",
73
- "{$action9}",
74
- []
75
- );
76
-
77
- $I->comment("[action10ActionGroup] create '{$action10}' entity");
78
- $I->createEntity(
79
- "action10ActionGroup",
80
- "test",
81
- "{$action10}",
82
- [],
83
- []
84
- );
85
-
46
+ $I->deleteEntity("{$action7ActionGroupActionGroup}", "test"); // stepKey: action7ActionGroup
47
+ $I->getEntity("action8ActionGroup", "test", "{$action8}", [], null); // stepKey: action8ActionGroup
48
+ $I->updateEntity("1", "test", "{$action9}",[]); // stepKey: action9ActionGroup
49
+ $I->createEntity("action10ActionGroup", "test", "{$action10}", [], []); // stepKey: action10ActionGroup
86
50
$action11ActionGroup = $I->grabAttributeFrom($action11ActionGroup, "someInput"); // stepKey: action11ActionGroup
87
51
$action12ActionGroup = $I->grabCookie($action12ActionGroup, ['domain' => 'www.google.com']); // stepKey: action12ActionGroup
88
52
$action13ActionGroup = $I->grabFromCurrentUrl($action13ActionGroup); // stepKey: action13ActionGroup
0 commit comments