File tree Expand file tree Collapse file tree 3 files changed +20
-0
lines changed
app/code/Magento/Checkout/Test/Mftf Expand file tree Collapse file tree 3 files changed +20
-0
lines changed Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!--
3
+ /**
4
+ * Copyright © Magento, Inc. All rights reserved.
5
+ * See COPYING.txt for license details.
6
+ */
7
+ -->
8
+
9
+ <actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
11
+ <actionGroup name =" GoToCheckoutPageActionGroup" >
12
+ <annotations >
13
+ <description >Goes to the Checkout Page.</description >
14
+ </annotations >
15
+ <amOnPage url =" {{CheckoutCartPage.url}}" stepKey =" goToCheckoutPage" />
16
+ <waitForPageLoad stepKey =" waitForCheckoutPageLoaded" />
17
+ </actionGroup >
18
+ </actionGroups >
Original file line number Diff line number Diff line change 72
72
<element name =" billingAddressSameAsShippingCashOnDeliveryCheckbox" type =" checkbox" selector =" #billing-address-same-as-shipping-cashondelivery" />
73
73
<element name =" errormessage" type =" text" selector =" //div[@data-ui-id='checkout-cart-validationmessages-message-error']" />
74
74
<element name =" productQuantityInCartBlock" type =" text" selector =" //div[@class='details-qty']/span[@class='value']" />
75
+ <element name =" customerAddressAttribute" type =" input" selector =" //div[@name='billingAddresscheckmo.custom_attributes.{{attribute}}']//input[@name='custom_attributes[{{attribute}}]']" parameterized =" true" timeout =" 30" />
75
76
</section >
76
77
</sections >
Original file line number Diff line number Diff line change 55
55
<element name =" selectCountry" type =" select" selector =" //div[@class='billing-address-form']//select[@name='country_id']" />
56
56
<element name =" customerAddressAttribute" type =" input" selector =" [id*='{{attribute}}']" parameterized =" true" />
57
57
<element name =" savedAddress" type =" text" selector =" div[class='shipping-address-item selected-item']" />
58
+ <element name =" shippingAddressBox" type =" text" selector =" //div[@class='shipping-address-item selected-item']" timeout =" 30" />
58
59
</section >
59
60
</sections >
You can’t perform that action at this time.
0 commit comments