File tree Expand file tree Collapse file tree 3 files changed +32
-4
lines changed
Checkout/Test/Mftf/ActionGroup Expand file tree Collapse file tree 3 files changed +32
-4
lines changed Original file line number Diff line number Diff line change 17
17
<argument name =" address" type =" entity" />
18
18
</arguments >
19
19
20
- <!-- <waitForElementVisible selector="{{CheckoutShippingSection.emailAddress}}" stepKey="waitForEmailFieldVisible" />-->
21
- <!-- <fillField selector="{{CheckoutShippingSection.emailAddress}}" userInput="{{customer.email}}" stepKey="fillEmailField"/>-->
22
- <waitForElementVisible selector =" {{CheckoutShippingSection.firstName}}" stepKey =" waitForFirstNameVisible" />
20
+ <waitForElementVisible selector =" {{CheckoutShippingSection.emailAddress}}" stepKey =" waitForEmailFieldVisible" />
21
+ <fillField selector =" {{CheckoutShippingSection.emailAddress}}" userInput =" {{customer.email}}" stepKey =" fillEmailField" />
23
22
<fillField selector =" {{CheckoutShippingSection.firstName}}" userInput =" {{customer.firstName}}" stepKey =" fillFirstName" />
24
23
<fillField selector =" {{CheckoutShippingSection.lastName}}" userInput =" {{customer.lastName}}" stepKey =" fillLastName" />
25
24
<fillField selector =" {{CheckoutShippingSection.street}}" userInput =" {{address.street[0]}}" stepKey =" fillStreet" />
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 =" GuestCheckoutShippingAddressFillingActionGroup" >
12
+ <annotations >
13
+ <description >Fills in the provided Customer/Address details in the 'Shipping Address' section on the Storefront Checkout page.</description >
14
+ </annotations >
15
+ <arguments >
16
+ <argument name =" customer" type =" entity" />
17
+ <argument name =" address" type =" entity" />
18
+ </arguments >
19
+
20
+ <waitForElementVisible selector =" {{CheckoutShippingSection.firstName}}" stepKey =" waitForFirstNameVisible" />
21
+ <fillField selector =" {{CheckoutShippingSection.firstName}}" userInput =" {{customer.firstName}}" stepKey =" fillFirstName" />
22
+ <fillField selector =" {{CheckoutShippingSection.lastName}}" userInput =" {{customer.lastName}}" stepKey =" fillLastName" />
23
+ <fillField selector =" {{CheckoutShippingSection.street}}" userInput =" {{address.street[0]}}" stepKey =" fillStreet" />
24
+ <fillField selector =" {{CheckoutShippingSection.city}}" userInput =" {{address.city}}" stepKey =" fillCity" />
25
+ <selectOption selector =" {{CheckoutShippingSection.region}}" userInput =" {{address.state}}" stepKey =" selectRegion" />
26
+ <fillField selector =" {{CheckoutShippingSection.postcode}}" userInput =" {{address.postcode}}" stepKey =" fillZipCode" />
27
+ <fillField selector =" {{CheckoutShippingSection.telephone}}" userInput =" {{address.telephone}}" stepKey =" fillPhone" />
28
+ </actionGroup >
29
+ </actionGroups >
Original file line number Diff line number Diff line change 81
81
<actionGroup ref =" GoToCheckoutFromMinicartActionGroup" stepKey =" goToCheckoutFromMinicart" />
82
82
<waitForPageLoad stepKey =" waitForShippingPage" />
83
83
<!-- Fill Shipping Address-->
84
- <actionGroup ref =" GuestCheckoutFillNewShippingAddressActionGroup " stepKey =" fillShippingAddress" >
84
+ <actionGroup ref =" GuestCheckoutShippingAddressFillingActionGroup " stepKey =" fillShippingAddress" >
85
85
<argument name =" customer" value =" $$createCustomer$$" />
86
86
<argument name =" address" value =" US_Address_TX" />
87
87
</actionGroup >
You can’t perform that action at this time.
0 commit comments