File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
app/code/Magento/ConfigurableProduct/Test/Mftf/Test Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 311
311
<actionGroup ref =" AdminProductPageOpenByIdActionGroup" stepKey =" goToEditPage" >
312
312
<argument name =" productId" value =" $$createConfigProduct.id$$" />
313
313
</actionGroup >
314
-
314
+ <!-- Scroll to select page and select 5 for pagination-->
315
+ <scrollTo selector =" {{AdminProductFormConfigurationsSection.paginationDropDropdown}}" x =" 0" y =" -100" stepKey =" scrollToSelectPage" />
315
316
<selectOption selector =" {{AdminProductFormConfigurationsSection.paginationDropDropdown}}" userInput =" 5" stepKey =" selectionOption5" />
316
317
<waitForPageLoad stepKey =" waitForOptionsToLoad" />
318
+ <!-- Assert product 5 is present-->
319
+ <waitForText userInput =" $$createConfigChildProduct1.name$$" selector =" {{AdminProductFormConfigurationsSection.evenProduct('1','2')}}" stepKey =" assert1thProductIsPresent" />
320
+ <waitForText userInput =" $$createConfigChildProduct2.name$$" selector =" {{AdminProductFormConfigurationsSection.oddProduct('1','2')}}" stepKey =" assert2thProductIsPresent" />
321
+ <waitForText userInput =" $$createConfigChildProduct3.name$$" selector =" {{AdminProductFormConfigurationsSection.evenProduct('2','2')}}" stepKey =" assert3thProductIsPresent" />
322
+ <waitForText userInput =" $$createConfigChildProduct4.name$$" selector =" {{AdminProductFormConfigurationsSection.oddProduct('2','2')}}" stepKey =" assert4thProductIsPresent" />
317
323
<waitForText userInput =" $$createConfigChildProduct5.name$$" selector =" {{AdminProductFormConfigurationsSection.evenProduct('3','2')}}" stepKey =" assert5thProductIsPresentInLastRow" />
318
- <dontSee userInput =" $$createConfigChildProduct6.name$$" selector =" {{AdminProductFormConfigurationsSection.oddProduct('3','2')}}" stepKey =" dontSee6thProductInGrid" />
319
324
<waitForElementClickable selector =" {{AdminProductGridPaginationSection.nextPage}}" stepKey =" waitForNextArrowToBeClicked" />
320
325
<click selector =" {{AdminProductGridPaginationSection.nextPage}}" stepKey =" clickNextProductPage" />
321
326
<waitForText userInput =" $$createConfigChildProduct6.name$$" selector =" {{AdminProductFormConfigurationsSection.evenProduct('1','2')}}" stepKey =" assert6thProductIsPresent" />
You can’t perform that action at this time.
0 commit comments