Skip to content

Commit df4ad99

Browse files
committed
Merge branch 'develop' into MQE-1376
1 parent b5f6488 commit df4ad99

File tree

67 files changed

+899
-84
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+899
-84
lines changed

dev/tests/unit/Magento/FunctionalTestFramework/Util/DocGeneratorTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function testBasicCreateDocumentation()
2828
];
2929
$actionGroupUnderTest = (new ActionGroupObjectBuilder())
3030
->withAnnotations($annotations)
31-
->withFilenames(["filename"])
31+
->withFilename("filename")
3232
->build();
3333
$docGenerator = new DocGenerator();
3434
$docGenerator->createDocumentation(
@@ -60,7 +60,7 @@ public function testCreateDocumentationWithOverwrite()
6060
];
6161
$actionGroupUnderTest = (new ActionGroupObjectBuilder())
6262
->withAnnotations($annotations)
63-
->withFilenames(["filename"])
63+
->withFilename("filename")
6464
->build();
6565
$docGenerator = new DocGenerator();
6666
$docGenerator->createDocumentation(
@@ -75,7 +75,7 @@ public function testCreateDocumentationWithOverwrite()
7575
];
7676
$actionGroupUnderTest = (new ActionGroupObjectBuilder())
7777
->withAnnotations($annotations)
78-
->withFilenames(["filename"])
78+
->withFilename("filename")
7979
->build();
8080
$docGenerator = new DocGenerator();
8181
$docGenerator->createDocumentation(
@@ -107,7 +107,7 @@ public function testCreateDocumentationNotCleanException()
107107
];
108108
$actionGroupUnderTest = (new ActionGroupObjectBuilder())
109109
->withAnnotations($annotations)
110-
->withFilenames(["filename"])
110+
->withFilename("filename")
111111
->build();
112112
$docGenerator = new DocGenerator();
113113
$docGenerator->createDocumentation(

dev/tests/unit/Resources/alteredDocumentation.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ alteredDescription
1212

1313
Located in:
1414

15+
- filename
1516
***

dev/tests/unit/Resources/basicDocumentation.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ someDescription
1212

1313
Located in:
1414

15+
- filename
1516
***

dev/tests/unit/Util/ActionGroupObjectBuilder.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class ActionGroupObjectBuilder
5353
*
5454
* @var string
5555
*/
56-
private $filenames = [];
56+
private $filename = [];
5757

5858
/**
5959
* Setter for the Action Group Object name
@@ -116,14 +116,14 @@ public function withExtendedAction($extendedActionGroup)
116116
}
117117

118118
/**
119-
* Setter for the Action Group Object filenames
119+
* Setter for the Action Group Object filename
120120
*
121-
* @param array $filenames
121+
* @param string $filename
122122
* @return ActionGroupObjectBuilder
123123
*/
124-
public function withFilenames($filenames)
124+
public function withFilename($filename)
125125
{
126-
$this->filenames = $filenames;
126+
$this->filename = $filename;
127127
return $this;
128128
}
129129

@@ -150,7 +150,7 @@ public function build()
150150
$this->arguments,
151151
$this->actionObjects,
152152
$this->extends,
153-
$this->filenames
153+
$this->filename
154154
);
155155
}
156156
}

dev/tests/verification/Resources/ActionGroupContainsStepKeyInArgText.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ class ActionGroupContainsStepKeyInArgTextCest
2424
*/
2525
public function _before(AcceptanceTester $I)
2626
{
27+
$I->comment("Entering Action Group actionGroupContainsStepKeyInArgValue (actionGroup)");
2728
$I->see("arg1", ".selector");
29+
$I->comment("Exiting Action Group actionGroupContainsStepKeyInArgValue (actionGroup)");
2830
}
2931

3032
/**
@@ -36,6 +38,8 @@ class ActionGroupContainsStepKeyInArgTextCest
3638
*/
3739
public function ActionGroupContainsStepKeyInArgText(AcceptanceTester $I)
3840
{
41+
$I->comment("Entering Action Group actionGroupContainsStepKeyInArgValue (actionGroup)");
3942
$I->see("arg1", ".selector");
43+
$I->comment("Exiting Action Group actionGroupContainsStepKeyInArgValue (actionGroup)");
4044
}
4145
}

dev/tests/verification/Resources/ActionGroupMergedViaInsertAfter.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,13 @@ class ActionGroupMergedViaInsertAfterCest
2727
*/
2828
public function ActionGroupMergedViaInsertAfter(AcceptanceTester $I)
2929
{
30+
$I->comment("Entering Action Group FunctionalActionGroupForMassMergeAfter (keyone)");
3031
$I->fillField("#foo", "foo");
3132
$I->fillField("#bar", "bar");
3233
$I->click("#foo2");
3334
$I->click("#bar2");
3435
$I->click("#baz2");
3536
$I->fillField("#baz", "baz");
37+
$I->comment("Exiting Action Group FunctionalActionGroupForMassMergeAfter (keyone)");
3638
}
3739
}

dev/tests/verification/Resources/ActionGroupMergedViaInsertBefore.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,13 @@ class ActionGroupMergedViaInsertBeforeCest
2727
*/
2828
public function ActionGroupMergedViaInsertBefore(AcceptanceTester $I)
2929
{
30+
$I->comment("Entering Action Group FunctionalActionGroupForMassMergeBefore (keyone)");
3031
$I->fillField("#foo", "foo");
3132
$I->click("#foo2");
3233
$I->click("#bar2");
3334
$I->click("#baz2");
3435
$I->fillField("#bar", "bar");
3536
$I->fillField("#baz", "baz");
37+
$I->comment("Exiting Action Group FunctionalActionGroupForMassMergeBefore (keyone)");
3638
}
3739
}

dev/tests/verification/Resources/ActionGroupSkipReadiness.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@ class ActionGroupSkipReadinessCest
2727
*/
2828
public function ActionGroupSkipReadiness(AcceptanceTester $I)
2929
{
30+
$I->comment("Entering Action Group actionGroupWithSkipReadinessActions (skipReadinessActionGroup)");
3031
$I->skipReadinessCheck(true);
3132
$I->comment("ActionGroupSkipReadiness");
3233
$I->skipReadinessCheck(false);
34+
$I->comment("Exiting Action Group actionGroupWithSkipReadinessActions (skipReadinessActionGroup)");
3335
}
3436
}

dev/tests/verification/Resources/ActionGroupToExtend.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ class ActionGroupToExtendCest
2727
*/
2828
public function ActionGroupToExtend(AcceptanceTester $I)
2929
{
30+
$I->comment("Entering Action Group ActionGroupToExtend (actionGroup)");
3031
$grabProductsActionGroup = $I->grabMultiple("selector");
3132
$I->assertCount(99, $grabProductsActionGroup);
33+
$I->comment("Exiting Action Group ActionGroupToExtend (actionGroup)");
3234
}
3335
}

dev/tests/verification/Resources/ActionGroupUsingCreateData.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ class ActionGroupUsingCreateDataCest
2424
*/
2525
public function _before(AcceptanceTester $I)
2626
{
27+
$I->comment("Entering Action Group actionGroupWithCreateData (Key1)");
2728
$I->amGoingTo("create entity that has the stepKey: createCategoryKey1");
2829
PersistedObjectHandler::getInstance()->createEntity(
2930
"createCategoryKey1",
@@ -40,6 +41,7 @@ class ActionGroupUsingCreateDataCest
4041
["createCategoryKey1"],
4142
null
4243
);
44+
$I->comment("Exiting Action Group actionGroupWithCreateData (Key1)");
4345
}
4446

4547
/**

0 commit comments

Comments
 (0)