File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
dev/tests/functional/tests/app/Magento/Upgrade/Test/Block Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -76,9 +76,6 @@ public function chooseVersionUpgradeOtherComponents($sampleDataVersion)
7676 {
7777 do {
7878 $ this ->iterateAndSetComponentsRows ($ this ->convertVersionFixtureToRegexp ($ sampleDataVersion ));
79- if ($ this ->canClickOnNextPage ()) {
80- $ this ->clickOnNextPage ();
81- }
8279 } while ($ this ->canClickOnNextPage ());
8380 }
8481
@@ -128,7 +125,9 @@ private function canClickOnNextPage()
128125 {
129126 $ element = $ this ->_rootElement ->find (".admin__data-grid-pager .action-next " );
130127 if ($ element ->isVisible ()) {
131- return !$ element ->isDisabled ();
128+ $ result = !$ element ->isDisabled ();
129+ $ this ->clickOnNextPage ();
130+ return $ result ;
132131 }
133132 return false ;
134133 }
You can’t perform that action at this time.
0 commit comments