Skip to content

Commit 570fde4

Browse files
committed
ACQE-8258: UPS backward compliance test - verify with unsupported weight unit for allowed countries
- Updated action group with scroll data and removed reindex code in test file.
1 parent 9fe74a9 commit 570fde4

File tree

3 files changed

+8
-11
lines changed

3 files changed

+8
-11
lines changed

app/code/Magento/Shipping/Test/Mftf/ActionGroup/AdminEnableUpsWithWeightUnitActionGroup.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
<arguments>
1313
<argument name="weight" type="string"/>
1414
</arguments>
15-
<scrollTo selector="{{AdminShippingMethodUPSSection.weightUnitCheckbox}}" stepKey="scrollToWeightUnits" after="enterTrackingRestURl" />
15+
<scrollTo selector="{{AdminShippingMethodUPSSection.weightUnitCheckbox}}" x="0" y="-120" stepKey="scrollToWeightUnits" after="enterTrackingRestURl"/>
1616
<waitForElementClickable selector="{{AdminShippingMethodUPSSection.weightUnitCheckbox}}" stepKey="waitForUnCheckWeightUnits" after="scrollToWeightUnits"/>
17-
<click selector="{{AdminShippingMethodUPSSection.weightUnitCheckbox}}" stepKey="unSelectWeightUnits" after="waitForUnCheckWeightUnits"/>
17+
<uncheckOption selector="{{AdminShippingMethodUPSSection.weightUnitCheckbox}}" stepKey="unSelectWeightUnits" after="waitForUnCheckWeightUnits"/>
1818
<selectOption selector="{{AdminShippingMethodUPSSection.weightUnitSelect}}" userInput="{{weight}}" stepKey="selectWeightUnit" after="unSelectWeightUnits"/>
1919
</actionGroup>
2020
</actionGroups>

app/code/Magento/Shipping/Test/Mftf/Section/AdminShippingMethodUPSSection.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
3-
/**
4-
* Copyright 2019 Adobe
5-
* All Rights Reserved.
6-
*/
3+
/**
4+
* Copyright 2019 Adobe
5+
* All Rights Reserved.
6+
*/
77
-->
88

99
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

app/code/Magento/Shipping/Test/Mftf/Test/StorefrontVerifyUPSWithUnsupportedWeightUnitForUSTest.xml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,8 @@
4141
<argument name="weight" value="KGS"/>
4242
</actionGroup>
4343
<!--Cache flush-->
44-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCachePostConfiguring">
45-
<argument name="tags" value="config full_page"/>
46-
</actionGroup>
47-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
48-
<argument name="indices" value=""/>
44+
<actionGroup ref="CliCacheCleanActionGroup" stepKey="flushCache">
45+
<argument name="tags" value="full_page"/>
4946
</actionGroup>
5047
</before>
5148
<after>

0 commit comments

Comments
 (0)