Skip to content

Commit 67a0fed

Browse files
committed
#AC-9653::UPS SOAP and REST support in 2.4.7-beta3-functional tests failure fixes
1 parent f7d1ef3 commit 67a0fed

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

app/code/Magento/Ups/Test/Mftf/Test/AdminCheckInputFieldsDisabledAfterAppConfigDumpTest.xml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,17 @@
1919
<actualResult type="const">$grabUPSActiveDisabled</actualResult>
2020
<expectedResult type="string">true</expectedResult>
2121
</assertEquals>
22+
<grabAttributeFrom selector="{{AdminShippingMethodsUpsSection.carriersUPSTypeSystem}}" userInput="disabled" stepKey="grabUPSTypeDisabled"/>
23+
<assertEquals stepKey="assertUPSTypeDisabled">
24+
<actualResult type="const">$grabUPSTypeDisabled</actualResult>
25+
<expectedResult type="string">true</expectedResult>
26+
</assertEquals>
2227
<grabAttributeFrom selector="{{AdminShippingMethodsUpsSection.carriersUPSAccountLive}}" userInput="disabled" stepKey="grabUPSAccountLiveDisabled"/>
2328
<assertEquals stepKey="assertUPSAccountLiveDisabled">
2429
<actualResult type="const">$grabUPSAccountLiveDisabled</actualResult>
2530
<expectedResult type="string">true</expectedResult>
2631
</assertEquals>
27-
<grabAttributeFrom selector="{{AdminShippingMethodsUpsSection.carriersUPSGatewayUrl}}" userInput="disabled" stepKey="grabUPSGatewayUrlDisabled"/>
32+
<grabAttributeFrom selector="{{AdminShippingMethodsUpsSection.carriersUPSGatewayXMLUrl}}" userInput="disabled" stepKey="grabUPSGatewayUrlDisabled"/>
2833
<assertEquals stepKey="assertUPSGatewayUrlDisabled">
2934
<actualResult type="const">$grabUPSGatewayUrlDisabled</actualResult>
3035
<expectedResult type="string">true</expectedResult>
@@ -69,7 +74,7 @@
6974
<actualResult type="const">$grabUPSDestTypeDisabled</actualResult>
7075
<expectedResult type="string">true</expectedResult>
7176
</assertEquals>
72-
<grabAttributeFrom selector="{{AdminShippingMethodsUpsSection.carriersUPSTrackingUrl}}" userInput="disabled" stepKey="grabUPSTrackingUrlDisabled"/>
77+
<grabAttributeFrom selector="{{AdminShippingMethodsUpsSection.carriersUPSTrackingXmlUrl}}" userInput="disabled" stepKey="grabUPSTrackingUrlDisabled"/>
7378
<assertEquals stepKey="assertUPSTrackingUrlDisabled">
7479
<actualResult type="const">$grabUPSTrackingUrlDisabled</actualResult>
7580
<expectedResult type="string">true</expectedResult>

app/code/Magento/Usps/Test/Mftf/Section/AdminShippingMethodUSPSSection.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
<element name="carriersUSPSContainer" type="input" selector="#carriers_usps_container_inherit"/>
2121
<element name="carriersUSPSSize" type="input" selector="#carriers_usps_size_inherit"/>
2222
<element name="carriersUSPSDestType" type="input" selector="#carriers_usps_machinable_inherit"/>
23+
<element name="carriersUSPSXmlMachinable" type="input" selector="#carriers_ups_tracking_xml_url_inherit"/>
2324
<element name="carriersUSPSMachinable" type="input" selector="#carriers_ups_tracking_url_inherit"/>
2425
<element name="carriersUSPSMaxPackageWeight" type="input" selector="#carriers_usps_max_package_weight_inherit"/>
2526
<element name="carriersUSPSHandlingType" type="input" selector="#carriers_usps_handling_type_inherit"/>

app/code/Magento/Usps/Test/Mftf/Test/AdminCheckInputFieldsDisabledAfterAppConfigDumpTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
<actualResult type="const">$grabUSPSDestTypeDisabled</actualResult>
6565
<expectedResult type="string">true</expectedResult>
6666
</assertEquals>
67-
<grabAttributeFrom selector="{{AdminShippingMethodUSPSSection.carriersUSPSMachinable}}" userInput="disabled" stepKey="grabUSPSMachinableDisabled"/>
67+
<grabAttributeFrom selector="{{AdminShippingMethodUSPSSection.carriersUSPSXmlMachinable}}" userInput="disabled" stepKey="grabUSPSMachinableDisabled"/>
6868
<assertEquals stepKey="assertUSPSMachinableDisabled">
6969
<actualResult type="const">$grabUSPSMachinableDisabled</actualResult>
7070
<expectedResult type="string">true</expectedResult>

0 commit comments

Comments
 (0)