Skip to content

Commit 6025197

Browse files
committed
refactoring
1 parent 4d0d274 commit 6025197

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

app/code/Magento/Integration/Test/Mftf/ActionGroup/AdminCreatesNewIntegrationActionGroup.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@
1313
<actionGroup name="AdminCreatesNewIntegrationActionGroup">
1414
<arguments>
1515
<argument name="name" type="string"/>
16+
<argument name="password" type="string"/>
1617
</arguments>
1718
<fillField stepKey="fillNameField" selector="{{AddNewIntegrationSection.name}}" userInput="{{name}}"/>
18-
<fillField stepKey="fillAdminPasswordField" selector="{{AddNewIntegrationSection.password}}" userInput="{{_ENV.MAGENTO_ADMIN_PASSWORD}}"/>
19+
<fillField stepKey="fillAdminPasswordField" selector="{{AddNewIntegrationSection.password}}" userInput="{{password}}"/>
1920
<!--Click the "Save" Button -->
2021
<click stepKey="clickSaveButton" selector="{{AddNewIntegrationSection.saveButton}}"/>
2122
</actionGroup>

app/code/Magento/Integration/Test/Mftf/Test/AdminDeleteIntegrationEntityTest.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
<!-- Create New Integration -->
3131
<actionGroup ref="AdminCreatesNewIntegrationActionGroup" stepKey="createIntegration">
3232
<argument name="name" value="Integration1"/>
33+
<argument name="password" value="{{_ENV.MAGENTO_ADMIN_PASSWORD}}"/>
3334
</actionGroup>
3435
</before>
3536
<after>
@@ -55,5 +56,6 @@
5556
<actionGroup ref="AssertDeletedIntegrationIsNotInGridActionGroup" stepKey="dontSeeIntegration">
5657
<argument name="name" value="Integration1"/>
5758
</actionGroup>
59+
<!-- END TEST BODY -->
5860
</test>
5961
</tests>

0 commit comments

Comments
 (0)