Skip to content

Commit ba93885

Browse files
committed
MC-40189: [JetTeam] Unskip StorefrontPurchaseProductWithCustomOptionsWithLongValuesTitleTest
1 parent eb16a23 commit ba93885

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

app/code/Magento/Catalog/Test/Mftf/Test/StorefrontPurchaseProductWithCustomOptionsWithLongValuesTitleTest.xml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
<annotations>
1313
<features value="Catalog"/>
1414
<stories value="Custom options"/>
15-
<group value="Catalog"/>
1615
<title value="Admin should be able to see the full title of the selected custom option value in the order"/>
1716
<description value="Admin should be able to see the full title of the selected custom option value in the order"/>
1817
<severity value="MAJOR"/>
1918
<testCaseId value="MC-25479"/>
19+
<group value="catalog"/>
2020
</annotations>
2121
<before>
2222
<!--Create Simple Product with Custom Options-->
@@ -48,14 +48,14 @@
4848

4949
<!-- Checking the correctness of displayed prices for user parameters -->
5050

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"/>
5253
<seeElement selector="{{StorefrontProductInfoMainSection.productAttributeOptionsDropDown(ProductOptionDropDownWithLongValuesTitle.title, ProductOptionValueDropdownLongTitle1.price)}}" stepKey="checkDropDownProductOption"/>
5354

5455
<!-- Adding items to the checkout -->
5556

5657
<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"/>
5959
<actionGroup ref="StorefrontAddToCartCustomOptionsProductPageActionGroup" stepKey="addToCartFromStorefrontProductPage">
6060
<argument name="productName" value="$createProduct.name$"/>
6161
</actionGroup>
@@ -64,10 +64,11 @@
6464

6565
<actionGroup ref="GoToCheckoutFromMinicartActionGroup" stepKey="goToCheckoutFromMinicart" />
6666

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"/>
6869

6970
<waitForLoadingMaskToDisappear stepKey="waitForLoadingMaskForCartItem"/>
70-
<waitForElement selector="{{CheckoutPaymentSection.cartItemsAreaActive}}" time="30" stepKey="waitForCartItemsAreaActive"/>
71+
<waitForElementVisible selector="{{CheckoutPaymentSection.cartItems}}" stepKey="waitForCartItemsAreaActive"/>
7172

7273
<see selector="{{CheckoutPaymentSection.cartItems}}" userInput="$createProduct.name$" stepKey="seeProductInCart"/>
7374

@@ -81,7 +82,7 @@
8182
<actionGroup ref="StorefrontCheckoutClickNextOnShippingStepActionGroup" stepKey="clickNext"/>
8283

8384
<!-- Checkout select Check/Money Order payment -->
84-
<actionGroup ref="CheckoutSelectCheckMoneyOrderPaymentActionGroup" stepKey="selectCheckMoneyPayment"/>
85+
<comment userInput="BIC workaround" stepKey="selectCheckMoneyPayment"/>
8586

8687
<!-- Place Order -->
8788

0 commit comments

Comments
 (0)