Skip to content

Commit d1ab21f

Browse files
committed
MAGETWO-32079: Alternative WebDriver support
1 parent c40a50a commit d1ab21f

File tree

1 file changed

+4
-4
lines changed
  • dev/tests/functional/tests/app/Magento/Install/Test/Block

1 file changed

+4
-4
lines changed

dev/tests/functional/tests/app/Magento/Install/Test/Block/Install.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ public function clickInstallNow()
6060
public function getAdminInfo()
6161
{
6262
$adminData = [];
63-
$rows = $this->_rootElement->find('#admin-info .row')->getElements();
63+
$rows = $this->_rootElement->getElements('#admin-info .row');
6464
foreach ($rows as $row) {
65-
$dataRow = $row->find('div')->getElements();
65+
$dataRow = $row->getElements('div');
6666
$key = strtolower(str_replace(' ', '_', str_replace(':', '', $dataRow[0]->getText())));
6767
$adminData[$key] = $dataRow[1]->getText();
6868
}
@@ -78,9 +78,9 @@ public function getAdminInfo()
7878
public function getDbInfo()
7979
{
8080
$dbData = [];
81-
$rows = $this->_rootElement->find('#db-info .row')->getElements();
81+
$rows = $this->_rootElement->getElements('#db-info .row');
8282
foreach ($rows as $row) {
83-
$dataRow = $row->find('div')->getElements();
83+
$dataRow = $row->getElements('div');
8484
$key = strtolower(str_replace(' ', '_', str_replace(':', '', $dataRow[0]->getText())));
8585
$dbData[$key] = $dataRow[1]->getText();
8686
}

0 commit comments

Comments
 (0)