Skip to content

Commit 6925839

Browse files
shashikant.kumarshashikant.kumar
authored andcommitted
implemented code review comment of Nitya
1 parent a3ece5b commit 6925839

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed

app/code/Magento/CheckoutAgreements/Test/Mftf/Data/TermData.xml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,4 @@
4444
<data key="checkboxText" unique="suffix">test_checkbox</data>
4545
<data key="content">&lt;html&gt;</data>
4646
</entity>
47-
<entity name="newHtmlTerm" type="term">
48-
<data key="name" unique="suffix">Test name</data>
49-
<data key="isActive">Enabled</data>
50-
<data key="isHtml">Text</data>
51-
<data key="mode">Manually</data>
52-
<data key="storeView">All Store Views</data>
53-
<data key="checkboxText" unique="suffix">test_checkbox</data>
54-
<data key="content" unique="suffix">TestMessage</data>
55-
</entity>
5647
</entities>

app/code/Magento/CheckoutAgreements/Test/Mftf/Test/StoreFrontManualTermsAndConditionsTest.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@
3737
<actionGroup ref="AdminTermsConditionsOpenNewTermPageActionGroup" stepKey="openNewTerm"/>
3838
<!-- Fill the Required Details-->
3939
<actionGroup ref="AdminTermsConditionsFillTermEditFormActionGroup" stepKey="fillNewTerm">
40-
<argument name="term" value="newHtmlTerm"/>
40+
<argument name="term" value="activeTextTerm"/>
41+
<field key="storeView">All Store Views</field>
42+
<field key="name">Test name</field>
4143
</actionGroup>
4244
<grabTextFrom selector="{{AdminNewTermFormSection.conditionName}}" stepKey="conditionName"/>
4345
<!-- Save Details-->
4446
<actionGroup ref="AdminTermsConditionsSaveTermActionGroup" stepKey="saveFilledTerm"/>
45-
<!-- Enable Check Money Order Method-->
46-
<actionGroup ref="CliEnableCheckMoneyOrderPaymentMethodActionGroup" stepKey="enableCheckMoneyOrderPaymentMethod"/>
4747
<!--Enable Cash On Delivery Method -->
4848
<magentoCLI command="config:set {{CashOnDeliveryEnableConfigData.path}} {{CashOnDeliveryEnableConfigData.value}}" stepKey="enableCashOnDelivery"/>
4949
</before>

0 commit comments

Comments
 (0)