Skip to content

Commit ac85ba6

Browse files
ACQE-8866: OnePage Checkout with UPS
- Test to check asycn order with ups
1 parent cbefded commit ac85ba6

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

app/code/Magento/Checkout/Test/Mftf/Section/CheckoutSuccessMainSection.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
<element name="orderNumberText" type="text" selector=".checkout-success > p:nth-child(1)"/>
1919
<element name="continueShoppingButton" type="button" selector=".action.primary.continue" timeout="30"/>
2020
<element name="createAnAccount" type="button" selector="a[class='action primary'] [data-bind*=&quot;i18n: 'Create an Account'&quot;]" timeout="30"/>
21+
<element name="orderEmailAddress" type="text" selector="span[data-bind*=&quot;text: getEmailAddress()&quot;]" timeout="30"/>
2122
<element name="printLink" type="button" selector=".print" timeout="30"/>
2223
<element name="orderNumberWithoutLink" type="text" selector="//div[contains(@class, 'checkout-success')]//p/span"/>
2324
<element name="orderLinkByOrderNumber" type="text" selector="//div[contains(@class,'success')]//a[contains(.,'{{orderNumber}}')]" parameterized="true" timeout="30"/>

app/code/Magento/Shipping/Test/Mftf/Data/UPSShippingMethodData.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,20 @@
6060
<data key="label">No</data>
6161
<data key="value">0</data>
6262
</entity>
63+
<entity name="AdminSetUpsGatewayUrl" type="ups_config">
64+
<data key="path">carriers/ups/gateway_url</data>
65+
<data key="value">https://wwwcie.ups.com/api/rating/</data>
66+
</entity>
67+
<entity name="AdminSetUpsTypeToRestAPI" type="ups_config">
68+
<data key="path">carriers/ups/type</data>
69+
<data key="value">UPS_REST</data>
70+
</entity>
71+
<entity name="AdminSetUpsTypeToRestAPI" type="ups_config">
72+
<data key="path">carriers/ups/type</data>
73+
<data key="value">UPS_REST</data>
74+
</entity>
75+
<entity name="AdminSetAccountTypeLiveAccountNo" type="ups_config">
76+
<data key="path">carriers/ups/is_account_live</data>
77+
<data key="value">0</data>
78+
</entity>
6379
</entities>

0 commit comments

Comments
 (0)