|
14 | 14 | <title value="Customer should see downloadable products after place order as guest and registering after that"/>
|
15 | 15 | <description value="Verify that in 'My Downloadable Products' section in customer account user can see products."/>
|
16 | 16 | <severity value="AVERAGE"/>
|
| 17 | + <useCaseId value="MAGETWO-98656"/> |
17 | 18 | <testCaseId value="MC-16011"/>
|
18 | 19 | </annotations>
|
19 | 20 | <before>
|
|
33 | 34 | </after>
|
34 | 35 | <!--Step 1: Go to Storefront as Guest-->
|
35 | 36 | <amOnPage url="{{StorefrontHomePage.url}}" stepKey="amOnStorefrontPage"/>
|
36 |
| - <!--Step 2: Add virtual product to shopping cart--> |
37 |
| - <amOnPage url="{{StorefrontProductPage.url($$createProduct.name$$)}}" stepKey="amOnStorefrontProductPage"/> |
| 37 | + <!--Step 2: Add downloadable product to shopping cart--> |
| 38 | + <amOnPage url="{{StorefrontProductPage.url($$createProduct.custom_attributes[url_key]$$)}}" stepKey="amOnStorefrontProductPage"/> |
38 | 39 | <actionGroup ref="StorefrontAddProductToCartActionGroup" stepKey="addProductToCart">
|
39 | 40 | <argument name="product" value="$$createProduct$$"/>
|
40 | 41 | <argument name="productCount" value="1"/>
|
41 | 42 | </actionGroup>
|
42 | 43 | <!--Step 3: Go to checkout-->
|
43 | 44 | <actionGroup ref="GoToCheckoutFromMinicartActionGroup" stepKey="goToCheckoutFromMinicart" />
|
44 |
| - <!--Step 4: Checkout select Check/Money Order payment, fill required fields and click Update and Place Order--> |
| 45 | + <!--Step 4: Select Check/Money Order payment, fill required fields and click Update and Place Order--> |
45 | 46 | <actionGroup ref="CheckoutSelectCheckMoneyOrderPaymentActionGroup" stepKey="selectCheckMoneyOrderPayment"/>
|
46 | 47 | <actionGroup ref="GuestCheckoutSelectPaymentAndFillNewBillingAddressActionGroup" stepKey="changeAddress">
|
47 | 48 | <argument name="customerVar" value="Simple_US_Customer_NY"/>
|
48 | 49 | <argument name="customerAddressVar" value="US_Address_NY"/>
|
49 | 50 | <argument name="paymentMethod" value="Check / Money order"/>
|
50 | 51 | </actionGroup>
|
51 | 52 | <click selector="{{CheckoutShippingSection.updateAddress}}" stepKey="saveAddress"/>
|
| 53 | + <waitForPageLoad stepKey="waitUpdateAddress"/> |
52 | 54 | <actionGroup ref="CheckoutPlaceOrderActionGroup" stepKey="placeOrder">
|
53 | 55 | <argument name="orderNumberMessage" value="CONST.successGuestCheckoutOrderNumberMessage"/>
|
54 | 56 | <argument name="emailYouMessage" value="CONST.successCheckoutEmailYouMessage" />
|
|
0 commit comments