File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
app/code/Magento/Checkout/Test/Mftf Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 19
19
<element name =" postcode" type =" input" selector =" input[name=postcode]" />
20
20
<element name =" country" type =" select" selector =" select[name=country_id]" />
21
21
<element name =" telephone" type =" input" selector =" input[name=telephone]" />
22
- <element name =" firstShippingMethod" type =" radio" selector =" #checkout-shipping-method-load input[type='radio']" />
22
+ <element name =" firstShippingMethod" type =" radio" selector =" #checkout-shipping-method-load input[type='radio']" timeout = " 30 " />
23
23
<element name =" selectedShippingAddress" type =" text" selector =" .shipping-address-item.selected-item" />
24
24
<element name =" newAddressButton" type =" button" selector =" #checkout-step-shipping button" />
25
25
<element name =" next" type =" button" selector =" [data-role='opc-continue']" />
Original file line number Diff line number Diff line change 11
11
<test name =" StorefrontOnePageCheckoutDataWhenChangeQtyTest" >
12
12
<annotations >
13
13
<features value =" Checkout" />
14
+ <stories value =" Checkout via Guest Checkout" />
14
15
<title value =" One page Checkout Customer data when changing Product Qty" />
15
16
<description value =" One page Checkout Customer data when changing Product Qty" />
16
17
<severity value =" MAJOR" />
29
30
30
31
<!-- Add product to cart and checkout-->
31
32
<amOnPage url =" {{StorefrontProductPage.url($$createProduct.name$$)}}" stepKey =" amOnSimpleProductPage" />
32
- <waitForPageLoad stepKey =" waitForPageLoad" />
33
33
<actionGroup ref =" addToCartFromStorefrontProductPage" stepKey =" addToCartFromStorefrontProductPage" >
34
34
<argument name =" productName" value =" $createProduct.name$$" />
35
35
</actionGroup >
63
63
64
64
<!-- Go to cart page, update qty and proceed to checkout-->
65
65
<amOnPage url =" {{CheckoutCartPage.url}}" stepKey =" goToCartPage" />
66
- <waitForPageLoad stepKey =" waitForCartPageLoad" />
67
66
<see userInput =" Shopping Cart" stepKey =" seeCartPageIsOpened" />
68
67
<fillField selector =" {{CheckoutCartProductSection.productQuantityByName($$createProduct.name$$)}}" userInput =" 2" stepKey =" updateProductQty" />
69
68
<click selector =" {{CheckoutCartProductSection.updateShoppingCartButton}}" stepKey =" clickUpdateShoppingCart" />
70
- <waitForAjaxLoad stepKey =" waitForAjaxLoad" />
71
69
<grabValueFrom selector =" {{CheckoutCartProductSection.productQuantityByName($$createProduct.name$$)}}" stepKey =" grabQty" />
72
70
<assertEquals expected =" 2" actual =" $grabQty" stepKey =" assertQty" />
73
71
<click selector =" {{StorefrontCheckoutCartSummarySection.proceedToCheckout}}" stepKey =" clickProceedToCheckout" />
You can’t perform that action at this time.
0 commit comments