Skip to content

Commit f3de6ce

Browse files
committed
ACQE-8258: UPS backward compliance test - verify with unsupported weight unit for allowed countries
- Updated action group with click element and removed argument for action group in test file.
1 parent 3bc3542 commit f3de6ce

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,11 @@
1010
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
1111
<actionGroup name="AdminEnableUpsWithWeightUnitActionGroup" extends="AdminEnableUPSActionGroup">
1212
<arguments>
13-
<argument name="shipping" defaultValue="UPSShippingMethod"/>
1413
<argument name="weight" type="string"/>
1514
</arguments>
1615
<scrollTo selector="{{AdminShippingMethodUPSSection.weightUnitCheckbox}}" stepKey="scrollToWeightUnits" after="enterTrackingRestURl" />
17-
<waitForElementClickable selector="{{AdminShippingMethodUPSSection.weightUnitCheckbox}}" stepKey="waitForUnCheckWeightUnits" after="scrollToWeightUnits"/>
18-
<uncheckOption selector="{{AdminShippingMethodUPSSection.weightUnitCheckbox}}" stepKey="unSelectWeightUnits" after="waitForUnCheckWeightUnits"/>
16+
<waitForElementClickable selector="{{AdminShippingMethodUPSSection.weightUnitCheckbox}}" stepKey="waitForUnCheckWeightUnits" after="scrollToWeightUnitsx"/>
17+
<click selector="{{AdminShippingMethodUPSSection.weightUnitCheckbox}}" stepKey="unSelectWeightUnits" after="waitForUnCheckWeightUnits"/>
1918
<selectOption selector="{{AdminShippingMethodUPSSection.weightUnitSelect}}" userInput="{{weight}}" stepKey="selectWeightUnit" after="unSelectWeightUnits"/>
2019
</actionGroup>
2120
</actionGroups>

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
<actionGroup ref="AdminOpenShippingMethodsConfigPageActionGroup" stepKey="openShippingMethodConfigPageForEnablingUPS"/>
3939
<!--Step 2: Configure UPS shipping method with ups type:rest, weight unit:kgs-->
4040
<actionGroup ref="AdminEnableUpsWithWeightUnitActionGroup" stepKey="enableUPSShippingMethod">
41-
<argument name="shipping" value="UPSShippingMethod"/>
4241
<argument name="weight" value="KGS"/>
4342
</actionGroup>
4443
<!--Cache flush-->

0 commit comments

Comments
 (0)