File tree Expand file tree Collapse file tree 2 files changed +45
-0
lines changed
app/code/Magento/Checkout/Test/Mftf/ActionGroup Expand file tree Collapse file tree 2 files changed +45
-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 =" StorefrontOpenCustomerAddressesOnPaymentStepInCheckoutActionGroup" >
12
+ <annotations >
13
+ <description >Click 'Change Address' link on the Storefront Checkout page on the 'Payment' step.</description >
14
+ </annotations >
15
+
16
+ <click selector =" {{CheckoutBillingAddressSection.changeAddressButton}}" stepKey =" clickChangeAddresslink" />
17
+ <waitForElementVisible selector =" {{CheckoutShippingAddressSearchSection.popupSelectShippingAddress}}" stepKey =" seePopup" />
18
+ <seeElement selector =" {{CheckoutShippingAddressSearchSection.selectShippingAddressGrid}}" stepKey =" seeAddressGrid" />
19
+ <see selector =" {{CheckoutBillingAddressSearchSection.addressesFound}}" userInput =" 2 addresses" stepKey =" see2Address" />
20
+ </actionGroup >
21
+ </actionGroups >
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 =" StorefrontSearchAddressInSelectBillingAddressPopupOnPaymentStepOnCheckoutActionGroup" >
12
+ <annotations >
13
+ <description >Search customer address in 'Select Billing Address' popup on the Storefront Checkout on the 'Payment' step.</description >
14
+ </annotations >
15
+ <arguments >
16
+ <argument name =" addressSearchTerm" type =" string" defaultValue =" 10001" />
17
+ </arguments >
18
+
19
+ <fillField selector =" {{CheckoutBillingAddressSearchSection.searchAddressField}}" userInput =" {{addressSearchTerm}}" stepKey =" fillAddressInSearchField" />
20
+ <click selector =" {{CheckoutBillingAddressSearchSection.searchAddressButton}}" stepKey =" clickSearchAddressButton" />
21
+ <see selector =" {{CheckoutBillingAddressSearchSection.addressesFound}}" userInput =" 1 addresses" stepKey =" assertOneAddressesWasFound" />
22
+ <see selector =" {{CheckoutBillingAddressSearchSection.firstBillingAddressItem}}" userInput =" {{addressSearchTerm}}" stepKey =" verifyAddresses" />
23
+ </actionGroup >
24
+ </actionGroups >
You can’t perform that action at this time.
0 commit comments