File tree Expand file tree Collapse file tree 3 files changed +15
-12
lines changed
app/code/Magento/Checkout/Test/Mftf Expand file tree Collapse file tree 3 files changed +15
-12
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<!--
3
- /**
4
- * Copyright © Magento, Inc. All rights reserved.
5
- * See COPYING.txt for license details .
6
- */
3
+ /**
4
+ * Copyright 2020 Adobe
5
+ * All Rights Reserved .
6
+ */
7
7
-->
8
8
9
9
<actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
16
16
<waitForElementVisible selector =" {{CheckoutShippingSection.updateAddress}}" stepKey =" waitForUpdateButton" />
17
17
<waitForElementClickable selector =" {{CheckoutShippingSection.updateAddress}}" stepKey =" waitForUpdateButtonClickable" />
18
18
<click selector =" {{CheckoutShippingSection.updateAddress}}" stepKey =" clickUpdateButton" />
19
+ <waitForElementVisible selector =" {{CheckoutShippingSection.billingAddressDetails}}" stepKey =" waitForBillingAddressUpdate" />
19
20
<waitForPageLoad stepKey =" waitForAddressSaved" />
20
21
</actionGroup >
21
22
</actionGroups >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<!--
3
- /**
4
- * Copyright © Magento, Inc. All rights reserved.
5
- * See COPYING.txt for license details .
6
- */
3
+ /**
4
+ * Copyright 2019 Adobe
5
+ * All Rights Reserved .
6
+ */
7
7
-->
8
8
9
9
<actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
19
19
<argument name =" orderSummaryTotal" type =" string" />
20
20
</arguments >
21
21
22
+ <wait time =" 30" stepKey =" waitForShippingSummary" />
22
23
<see selector =" {{CheckoutPaymentSection.orderSummarySubtotal}}" userInput =" {{orderSummarySubTotal}}" stepKey =" seeCorrectSubtotal" />
23
24
<see selector =" {{CheckoutPaymentSection.orderSummaryShippingTotal}}" userInput =" {{orderSummaryShippingTotal}}" stepKey =" seeCorrectShipping" />
24
25
<see selector =" {{CheckoutPaymentSection.orderSummaryTotal}}" userInput =" {{orderSummaryTotal}}" stepKey =" seeCorrectOrderTotal" />
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<!--
3
- /**
4
- * Copyright © Magento, Inc. All rights reserved.
5
- * See COPYING.txt for license details .
6
- */
3
+ /**
4
+ * Copyright 2017 Adobe
5
+ * All Rights Reserved .
6
+ */
7
7
-->
8
8
9
9
<sections xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
37
37
<element name =" next" type =" button" selector =" button.button.action.continue.primary" timeout =" 30" />
38
38
<element name =" firstShippingMethod" type =" radio" selector =" //*[@id='checkout-shipping-method-load']//input[@class='radio']" />
39
39
<element name =" defaultShipping" type =" button" selector =" .billing-address-details" />
40
+ <element name =" billingAddressDetails" type =" text" selector =" .billing-address-details" />
40
41
<element name =" state" type =" button" selector =" //*[text()='Alabama']" />
41
42
<element name =" stateInput" type =" input" selector =" input[name=region]" />
42
43
<element name =" regionOptions" type =" select" selector =" select[name=region_id] option" />
You can’t perform that action at this time.
0 commit comments