Skip to content

Commit 0fef36f

Browse files
committed
ACQE-8896: Admin should be able to create configurable product with Chinese locale and verify data persistence
- Used waitForElementVisible
1 parent 1c2f7a3 commit 0fef36f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

app/code/Magento/ConfigurableProduct/Test/Mftf/Test/AdminCreateConfigurableProductWithChineseLocaleTest.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131
<waitForElementVisible selector="{{AdminProductFormConfigurationsSection.currentVariations}}" stepKey="waitForConfigurationsContainer"/>
132132
<seeNumberOfElements selector="{{AdminProductFormConfigurationsSection.currentVariationsAllRows}}" userInput="15" stepKey="verifyNumberOfVariationsAfterReopen"/>
133133
<!-- Verify image is assigned to variations -->
134-
<seeElement selector="{{AdminProductFormConfigurationsSection.variationImageSource(MagentoLogo.filename)}}" stepKey="verifyImageAssignedToVariations"/>
134+
<waitForElementVisible selector="{{AdminProductFormConfigurationsSection.variationImageSource(MagentoLogo.filename)}}" stepKey="verifyImageAssignedToVariations"/>
135135
<!-- Step 6: Open product on storefront -->
136136
<actionGroup ref="StorefrontOpenProductPageActionGroup" stepKey="openProductOnStorefront">
137137
<argument name="productUrl" value="{{BaseConfigurableProduct.urlKey}}"/>
@@ -145,8 +145,7 @@
145145
<selectOption selector="{{StorefrontProductInfoMainSection.productOptionSelect($createSizeAttribute.default_frontend_label$)}}" userInput="$createSizeOptionXL.option[store_labels][1][label]$" stepKey="selectSizeXL"/>
146146
<waitForPageLoad stepKey="waitAfterOptionSelection"/>
147147
<!-- Verify image is displayed after selecting options -->
148-
<waitForElementVisible selector="{{StorefrontProductInfoMainSection.productImage}}" stepKey="waitForProductImage"/>
149-
<seeElement selector="{{StorefrontProductInfoMainSection.productImageSrc(MagentoLogo.filename)}}" stepKey="verifyProductImageOnStorefront"/>
148+
<waitForElementVisible selector="{{StorefrontProductInfoMainSection.productImageSrc(MagentoLogo.filename)}}" stepKey="verifyProductImageOnStorefront"/>
150149
<!-- Verify price for Red XL combination -->
151150
<waitForText selector="{{StorefrontProductInfoMainSection.productPrice}}" userInput="50.00" stepKey="verifyProductPrice"/>
152151
<actionGroup ref="StorefrontAddProductToCartActionGroup" stepKey="addProductToCart">

0 commit comments

Comments
 (0)