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 311311 <actionGroup ref =" AdminProductPageOpenByIdActionGroup" stepKey =" goToEditPage" >
312312 <argument name =" productId" value =" $$createConfigProduct.id$$" />
313313 </actionGroup >
314-
314+ <!-- Scroll to select page and select 5 for pagination-->
315+ <scrollTo selector =" {{AdminProductFormConfigurationsSection.paginationDropDropdown}}" x =" 0" y =" -100" stepKey =" scrollToSelectPage" />
315316 <selectOption selector =" {{AdminProductFormConfigurationsSection.paginationDropDropdown}}" userInput =" 5" stepKey =" selectionOption5" />
316317 <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" />
317323 <waitForText userInput =" $$createConfigChildProduct5.name$$" selector =" {{AdminProductFormConfigurationsSection.evenProduct('3','2')}}" stepKey =" assert5thProductIsPresentInLastRow" />
318- <dontSee userInput =" $$createConfigChildProduct6.name$$" selector =" {{AdminProductFormConfigurationsSection.oddProduct('3','2')}}" stepKey =" dontSee6thProductInGrid" />
319324 <waitForElementClickable selector =" {{AdminProductGridPaginationSection.nextPage}}" stepKey =" waitForNextArrowToBeClicked" />
320325 <click selector =" {{AdminProductGridPaginationSection.nextPage}}" stepKey =" clickNextProductPage" />
321326 <waitForText userInput =" $$createConfigChildProduct6.name$$" selector =" {{AdminProductFormConfigurationsSection.evenProduct('1','2')}}" stepKey =" assert6thProductIsPresent" />
You can’t perform that action at this time.
0 commit comments