Skip to content

Commit cd0d237

Browse files
committed
MQE-1427: Support _CREDS in <magentoCLI> action and in Data
- Correcting verification tests by replacing null with [].
1 parent 32fac0c commit cd0d237

22 files changed

+35
-34
lines changed

dev/tests/verification/Resources/ActionGroupUsingCreateData.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class ActionGroupUsingCreateDataCest
3131
"hook",
3232
"ApiCategory",
3333
[],
34-
null
34+
[]
3535
);
3636

3737
$I->comment("[createConfigProductKey1] create 'ApiConfigurableProduct' entity");
@@ -40,7 +40,7 @@ class ActionGroupUsingCreateDataCest
4040
"hook",
4141
"ApiConfigurableProduct",
4242
["createCategoryKey1"],
43-
null
43+
[]
4444
);
4545

4646
$I->comment("Exiting Action Group [Key1] actionGroupWithCreateData");

dev/tests/verification/Resources/ActionGroupWithDataOverrideTest.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class ActionGroupWithDataOverrideTestCest
3131
"hook",
3232
"ReplacementPerson",
3333
[],
34-
null
34+
[]
3535
);
3636

3737
$I->comment("Entering Action Group [beforeGroup] FunctionalActionGroup");

dev/tests/verification/Resources/ActionGroupWithDataTest.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class ActionGroupWithDataTestCest
3131
"hook",
3232
"ReplacementPerson",
3333
[],
34-
null
34+
[]
3535
);
3636

3737
$I->comment("Entering Action Group [beforeGroup] FunctionalActionGroup");

dev/tests/verification/Resources/ActionGroupWithNoDefaultTest.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class ActionGroupWithNoDefaultTestCest
3131
"hook",
3232
"ReplacementPerson",
3333
[],
34-
null
34+
[]
3535
);
3636

3737
$I->comment("Entering Action Group [beforeGroup] FunctionalActionGroup");

dev/tests/verification/Resources/ActionGroupWithPersistedData.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class ActionGroupWithPersistedDataCest
3131
"hook",
3232
"ReplacementPerson",
3333
[],
34-
null
34+
[]
3535
);
3636

3737
$I->comment("Entering Action Group [beforeGroup] FunctionalActionGroup");
@@ -78,7 +78,7 @@ class ActionGroupWithPersistedDataCest
7878
"test",
7979
"DefaultPerson",
8080
[],
81-
null
81+
[]
8282
);
8383

8484
$I->comment("Entering Action Group [actionGroupWithPersistedData1] FunctionalActionGroupWithData");

dev/tests/verification/Resources/ActionGroupWithStepKeyReferences.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class ActionGroupWithStepKeyReferencesCest
3434
"test",
3535
"simpleData",
3636
[],
37-
null
37+
[]
3838
);
3939

4040
$grabTextDataActionGroup = $I->grabTextFrom(".class"); // stepKey: grabTextDataActionGroup
@@ -64,7 +64,7 @@ class ActionGroupWithStepKeyReferencesCest
6464
"test",
6565
"{$action8}",
6666
[],
67-
null
67+
[]
6868
);
6969

7070
$I->comment("[action9ActionGroup] update '1' entity to '{$action9}'");
@@ -81,7 +81,7 @@ class ActionGroupWithStepKeyReferencesCest
8181
"test",
8282
"{$action10}",
8383
[],
84-
null
84+
[]
8585
);
8686

8787
$action11ActionGroup = $I->grabAttributeFrom($action11ActionGroup, "someInput"); // stepKey: action11ActionGroup

dev/tests/verification/Resources/ActionGroupWithTopLevelPersistedData.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class ActionGroupWithTopLevelPersistedDataCest
3131
"hook",
3232
"ReplacementPerson",
3333
[],
34-
null
34+
[]
3535
);
3636

3737
$I->comment("Entering Action Group [beforeGroup] FunctionalActionGroup");

dev/tests/verification/Resources/ArgumentWithSameNameAsElement.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class ArgumentWithSameNameAsElementCest
3131
"hook",
3232
"ReplacementPerson",
3333
[],
34-
null
34+
[]
3535
);
3636

3737
$I->comment("Entering Action Group [beforeGroup] FunctionalActionGroup");

dev/tests/verification/Resources/AssertTest.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class AssertTestCest
3030
"hook",
3131
"ReplacementPerson",
3232
[],
33-
null
33+
[]
3434
);
3535

3636
}
@@ -50,7 +50,7 @@ class AssertTestCest
5050
"test",
5151
"UniquePerson",
5252
[],
53-
null
53+
[]
5454
);
5555

5656
$grabTextFrom1 = $I->grabTextFrom(".copyright>span"); // stepKey: grabTextFrom1

dev/tests/verification/Resources/BasicActionGroupTest.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class BasicActionGroupTestCest
3131
"hook",
3232
"ReplacementPerson",
3333
[],
34-
null
34+
[]
3535
);
3636

3737
$I->comment("Entering Action Group [beforeGroup] FunctionalActionGroup");

dev/tests/verification/Resources/DataActionsTest.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class DataActionsTestCest
3030
"hook",
3131
"entity",
3232
[],
33-
null
33+
[]
3434
);
3535

3636
$I->comment("[updateInBefore] update 'createdInBefore' entity to 'entity'");
@@ -64,7 +64,7 @@ class DataActionsTestCest
6464
"test",
6565
"entity",
6666
[],
67-
null
67+
[]
6868
);
6969

7070
$I->comment("[updateInTest] update 'createdInTest' entity to 'entity'");

dev/tests/verification/Resources/ExtendParentDataTest.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class ExtendParentDataTestCest
3333
"test",
3434
"extendParentData",
3535
[],
36-
null
36+
[]
3737
);
3838

3939
$I->searchAndMultiSelectOption("#selector", ["otherName"]); // stepKey: getName

dev/tests/verification/Resources/ExtendedParameterArrayTest.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class ExtendParentDataTestCest
3333
"test",
3434
"extendParentData",
3535
[],
36-
null
36+
[]
3737
);
3838
$I->searchAndMultiSelectOption("#selector", ["otherName"]);
3939
$I->searchAndMultiSelectOption("#selector", ["extendName"]);

dev/tests/verification/Resources/HookActionsTest.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class HookActionsTestCest
3030
"hook",
3131
"sampleCreatedEntity",
3232
[],
33-
null
33+
[]
3434
);
3535

3636
$I->comment("[sampleDeleteBefore] delete entity 'sampleCreateBefore'");
@@ -45,7 +45,7 @@ class HookActionsTestCest
4545
"hook",
4646
"sampleCreatedEntity",
4747
[],
48-
null
48+
[]
4949
);
5050

5151
}
@@ -62,7 +62,7 @@ class HookActionsTestCest
6262
"hook",
6363
"sampleCreatedEntity",
6464
[],
65-
null
65+
[]
6666
);
6767

6868
$I->comment("[sampleDeleteAfter] delete entity 'sampleCreateForAfter'");

dev/tests/verification/Resources/LocatorFunctionTest.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class LocatorFunctionTestCest
3333
"test",
3434
"ReplacementPerson",
3535
[],
36-
null
36+
[]
3737
);
3838

3939
$I->click(Locator::contains("'label'", "'Name'")); // stepKey: SimpleLocator

dev/tests/verification/Resources/MergedActionGroupTest.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class MergedActionGroupTestCest
3131
"hook",
3232
"ReplacementPerson",
3333
[],
34-
null
34+
[]
3535
);
3636

3737
$I->comment("Entering Action Group [beforeGroup] FunctionalActionGroup");

dev/tests/verification/Resources/MultipleActionGroupsTest.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class MultipleActionGroupsTestCest
3131
"hook",
3232
"ReplacementPerson",
3333
[],
34-
null
34+
[]
3535
);
3636

3737
$I->comment("Entering Action Group [beforeGroup] FunctionalActionGroup");

dev/tests/verification/Resources/PageReplacementTest.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class PageReplacementTestCest
3333
"test",
3434
"simpleData",
3535
[],
36-
null
36+
[]
3737
);
3838

3939
$I->amOnPage("/page.html"); // stepKey: noParamPage

dev/tests/verification/Resources/ParameterArrayTest.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class ParameterArrayTestCest
3333
"test",
3434
"simpleParamData",
3535
[],
36-
null
36+
[]
3737
);
3838

3939
$I->searchAndMultiSelectOption("#selector", ["name"]); // stepKey: xmlSimpleReplace

dev/tests/verification/Resources/PersistedReplacementTest.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class PersistedReplacementTestCest
3030
"hook",
3131
"ReplacementPerson",
3232
[],
33-
null
33+
[]
3434
);
3535

3636
}
@@ -50,7 +50,7 @@ class PersistedReplacementTestCest
5050
"test",
5151
"simpleData",
5252
[],
53-
null
53+
[]
5454
);
5555

5656
$I->fillField("#selector", "StringBefore " . PersistedObjectHandler::getInstance()->retrieveEntityField('createdData', 'firstname', 'test') . " StringAfter"); // stepKey: inputReplace

dev/tests/verification/Resources/PersistenceActionGroupAppendingTest.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,15 @@ class PersistenceActionGroupAppendingTestCest
3131
"hook",
3232
"entity",
3333
[],
34-
null
34+
[]
3535
);
3636

3737
$I->comment("[updateDataACTIONGROUPBEFORE] update 'createDataACTIONGROUPBEFORE' entity to 'newEntity'");
3838
PersistedObjectHandler::getInstance()->updateEntity(
3939
"createDataACTIONGROUPBEFORE",
4040
"hook",
4141
"newEntity",
42+
[],
4243
[]
4344
);
4445

@@ -54,7 +55,7 @@ class PersistenceActionGroupAppendingTestCest
5455
"hook",
5556
"someEneity",
5657
[],
57-
null
58+
[]
5859
);
5960

6061
$I->comment(PersistedObjectHandler::getInstance()->retrieveEntityField('createData', 'field', 'hook'));
@@ -77,7 +78,7 @@ class PersistenceActionGroupAppendingTestCest
7778
"test",
7879
"entity",
7980
[],
80-
null
81+
[]
8182
);
8283

8384
$I->comment("[updateDataACTIONGROUP] update 'createDataACTIONGROUP' entity to 'newEntity'");
@@ -100,7 +101,7 @@ class PersistenceActionGroupAppendingTestCest
100101
"test",
101102
"someEneity",
102103
[],
103-
null
104+
[]
104105
);
105106

106107
$I->comment(PersistedObjectHandler::getInstance()->retrieveEntityField('createDataACTIONGROUP', 'field', 'test'));

dev/tests/verification/Resources/SectionReplacementTest.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class SectionReplacementTestCest
5252
"test",
5353
"simpleData",
5454
[],
55-
null
55+
[]
5656
);
5757

5858
$I->click("#element ." . PersistedObjectHandler::getInstance()->retrieveEntityField('createdData', 'firstname', 'test')); // stepKey: selectorReplaceOneParamPersisted

0 commit comments

Comments
 (0)