|
12 | 12 | <annotations>
|
13 | 13 | <features value="Catalog"/>
|
14 | 14 | <stories value="Custom options"/>
|
15 |
| - <group value="Catalog"/> |
16 | 15 | <title value="Admin should be able to see the full title of the selected custom option value in the order"/>
|
17 | 16 | <description value="Admin should be able to see the full title of the selected custom option value in the order"/>
|
18 | 17 | <severity value="MAJOR"/>
|
19 | 18 | <testCaseId value="MC-25479"/>
|
| 19 | + <group value="catalog"/> |
20 | 20 | </annotations>
|
21 | 21 | <before>
|
22 | 22 | <!--Create Simple Product with Custom Options-->
|
|
48 | 48 |
|
49 | 49 | <!-- Checking the correctness of displayed prices for user parameters -->
|
50 | 50 |
|
51 |
| - <amOnPage url="{{StorefrontHomePage.url}}$createProduct.custom_attributes[url_key]$.html" stepKey="amOnProductPage"/> |
| 51 | + <amOnPage url="{{StorefrontProductPage.url($createProduct.custom_attributes[url_key]$)}}" stepKey="amOnProductPage"/> |
| 52 | + <waitForPageLoad stepKey="waitForPageLoad"/> |
52 | 53 | <seeElement selector="{{StorefrontProductInfoMainSection.productAttributeOptionsDropDown(ProductOptionDropDownWithLongValuesTitle.title, ProductOptionValueDropdownLongTitle1.price)}}" stepKey="checkDropDownProductOption"/>
|
53 | 54 |
|
54 | 55 | <!-- Adding items to the checkout -->
|
55 | 56 |
|
56 | 57 | <selectOption userInput="{{ProductOptionValueDropdownLongTitle1.price}}" selector="{{StorefrontProductInfoMainSection.productOptionSelect(ProductOptionDropDownWithLongValuesTitle.title)}}" stepKey="seeProductOptionDropDown"/>
|
57 |
| - <grabTextFrom selector="{{StorefrontProductInfoMainSection.productPrice}}" stepKey="finalProductPrice"/> |
58 |
| - |
| 58 | + <comment userInput="BIC workaround" stepKey="finalProductPrice"/> |
59 | 59 | <actionGroup ref="StorefrontAddToCartCustomOptionsProductPageActionGroup" stepKey="addToCartFromStorefrontProductPage">
|
60 | 60 | <argument name="productName" value="$createProduct.name$"/>
|
61 | 61 | </actionGroup>
|
|
64 | 64 |
|
65 | 65 | <actionGroup ref="GoToCheckoutFromMinicartActionGroup" stepKey="goToCheckoutFromMinicart" />
|
66 | 66 |
|
67 |
| - <conditionalClick selector="{{CheckoutPaymentSection.cartItemsArea}}" dependentSelector="{{CheckoutPaymentSection.cartItemsArea}}" visible="true" stepKey="exposeMiniCart"/> |
| 67 | + <waitForElementVisible selector="{{CheckoutPaymentSection.cartItemsArea}}" stepKey="waitForCartItemsVisible"/> |
| 68 | + <conditionalClick selector="{{CheckoutPaymentSection.cartItemsArea}}" dependentSelector="{{CheckoutPaymentSection.cartItemsAreaActive}}" visible="false" stepKey="exposeMiniCart"/> |
68 | 69 |
|
69 | 70 | <waitForLoadingMaskToDisappear stepKey="waitForLoadingMaskForCartItem"/>
|
70 |
| - <waitForElement selector="{{CheckoutPaymentSection.cartItemsAreaActive}}" time="30" stepKey="waitForCartItemsAreaActive"/> |
| 71 | + <waitForElementVisible selector="{{CheckoutPaymentSection.cartItems}}" stepKey="waitForCartItemsAreaActive"/> |
71 | 72 |
|
72 | 73 | <see selector="{{CheckoutPaymentSection.cartItems}}" userInput="$createProduct.name$" stepKey="seeProductInCart"/>
|
73 | 74 |
|
|
81 | 82 | <actionGroup ref="StorefrontCheckoutClickNextOnShippingStepActionGroup" stepKey="clickNext"/>
|
82 | 83 |
|
83 | 84 | <!-- Checkout select Check/Money Order payment -->
|
84 |
| - <actionGroup ref="CheckoutSelectCheckMoneyOrderPaymentActionGroup" stepKey="selectCheckMoneyPayment"/> |
| 85 | + <comment userInput="BIC workaround" stepKey="selectCheckMoneyPayment"/> |
85 | 86 |
|
86 | 87 | <!-- Place Order -->
|
87 | 88 |
|
|
0 commit comments