We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 029f207 + f961b28 commit f28127bCopy full SHA for f28127b
dev/tests/functional/tests/app/Magento/Upgrade/Test/Block/SelectVersion.php
@@ -76,9 +76,6 @@ public function chooseVersionUpgradeOtherComponents($sampleDataVersion)
76
{
77
do {
78
$this->iterateAndSetComponentsRows($this->convertVersionFixtureToRegexp($sampleDataVersion));
79
- if ($this->canClickOnNextPage()) {
80
- $this->clickOnNextPage();
81
- }
82
} while ($this->canClickOnNextPage());
83
}
84
@@ -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();
+ $result = !$element->isDisabled();
+ $this->clickOnNextPage();
+ return $result;
132
133
return false;
134
0 commit comments