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)
76
76
{
77
77
do {
78
78
$ this ->iterateAndSetComponentsRows ($ this ->convertVersionFixtureToRegexp ($ sampleDataVersion ));
79
- if ($ this ->canClickOnNextPage ()) {
80
- $ this ->clickOnNextPage ();
81
- }
82
79
} while ($ this ->canClickOnNextPage ());
83
80
}
84
81
@@ -128,7 +125,9 @@ private function canClickOnNextPage()
128
125
{
129
126
$ element = $ this ->_rootElement ->find (".admin__data-grid-pager .action-next " );
130
127
if ($ element ->isVisible ()) {
131
- return !$ element ->isDisabled ();
128
+ $ result = !$ element ->isDisabled ();
129
+ $ this ->clickOnNextPage ();
130
+ return $ result ;
132
131
}
133
132
return false ;
134
133
}
You can’t perform that action at this time.
0 commit comments