Skip to content

Commit 4361f70

Browse files
committed
MAGETWO-91215: [2.2.x][Jenkins-Tests-CE] - StorefrontPurchaseProductCustomOptionsDifferentStoreViewsTest randomly fails on Jenkins
1 parent 3970325 commit 4361f70

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

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

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@
191191
<click selector="{{OrdersGridSection.submitSearch}}" stepKey="submitSearch"/>
192192
<waitForLoadingMaskToDisappear stepKey="waitForLoadingMask4"/>
193193
<click selector="{{OrdersGridSection.firstRow}}" stepKey="clickOrderRow"/>
194+
<waitForPageLoad time="30" stepKey="waitForPageLoad9"/>
194195

195196
<!-- Checking the correctness of displayed custom options for user parameters on Order -->
196197

@@ -200,14 +201,14 @@
200201
<!-- Switch to FR Store View Storefront -->
201202

202203
<amOnPage url="{{StorefrontHomePage.url}}" stepKey="amOnProduct4Page"/>
203-
<waitForPageLoad time="30" stepKey="waitForPageLoad9"/>
204+
<waitForPageLoad time="30" stepKey="waitForPageLoad10"/>
204205
<click selector="{{StorefrontHeaderSection.storeViewSwitcher}}" stepKey="clickStoreViewSwitcher1"/>
205206
<waitForElementVisible selector="{{StorefrontHeaderSection.storeViewDropdown}}" stepKey="waitForStoreViewDropdown1"/>
206207
<click selector="{{StorefrontHeaderSection.storeViewOption(customStoreFR.code)}}" stepKey="selectStoreView1"/>
207-
<waitForPageLoad stepKey="waitForPageLoad10"/>
208+
<waitForPageLoad stepKey="waitForPageLoad11"/>
208209

209210
<amOnPage url="{{StorefrontHomePage.url}}$$createProduct.custom_attributes[url_key]$$.html" stepKey="amOnProduct2Page"/>
210-
<waitForPageLoad time="30" stepKey="waitForPageLoad11"/>
211+
<waitForPageLoad time="30" stepKey="waitForPageLoad12"/>
211212

212213
<seeElement selector="{{StorefrontProductInfoMainSection.productOptionDropDownTitle('FR Custom Options 1')}}" stepKey="seeProductFrOptionDropDownTitle"/>
213214
<seeElement selector="{{StorefrontProductInfoMainSection.productOptionDropDownOptionTitle('FR Custom Options 1', 'FR option1')}}" stepKey="productFrOptionDropDownOptionTitle1"/>
@@ -257,13 +258,13 @@
257258
<!-- Open Product Grid, Filter product and open -->
258259

259260
<amOnPage url="{{AdminProductIndexPage.url}}" stepKey="amOnProductGridPage1"/>
260-
<waitForPageLoad time="30" stepKey="waitForPageLoad12"/>
261+
<waitForPageLoad time="30" stepKey="waitForPageLoad13"/>
261262

262263
<actionGroup ref="SearchForProductOnBackendActionGroup" stepKey="filterGroupedProductOptions1">
263264
<argument name="product" value="_defaultProduct"/>
264265
</actionGroup>
265266
<click selector="{{AdminProductGridSection.productGridXRowYColumnButton('1', '2')}}" stepKey="openProductForEdit1"/>
266-
<waitForPageLoad time="30" stepKey="waitForPageLoad13"/>
267+
<waitForPageLoad time="30" stepKey="waitForPageLoad14"/>
267268

268269
<!-- Switcher to Store FR-->
269270
<scrollToTopOfPage stepKey="scrollToTopOfPage2"/>
@@ -273,7 +274,7 @@
273274

274275
<!-- Open tab Customizable Options -->
275276

276-
<waitForPageLoad time="30" stepKey="waitForPageLoad14"/>
277+
<waitForPageLoad time="30" stepKey="waitForPageLoad15"/>
277278
<conditionalClick selector="{{AdminProductCustomizableOptionsSection.customizableOptions}}" dependentSelector="{{AdminProductCustomizableOptionsSection.checkIfCustomizableOptionsTabOpen}}" visible="true" stepKey="clickIfContentTabCloses4" />
278279

279280
<!-- Update Option Customizable Options and Option Value 1-->

0 commit comments

Comments
 (0)