Skip to content

Commit cdcda06

Browse files
author
Dmytro Vilchynskyi
committed
MAGETWO-31515: [UI] CSS styling for Installation Form
- fixed functional tests
1 parent cc3f1d2 commit cdcda06

File tree

1 file changed

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

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,23 +74,23 @@ public function getDbInfo()
7474
}
7575

7676
/**
77-
* Get table data by correspondent div css locator.
77+
* Get table data by correspondent div css selector.
7878
* Data inside the table must be presented via <dt>/<dd>/<dl> tags due to actual HTML5 standard.
7979
*
80-
* @param string $locator
80+
* @param string $selector
8181
* @return array
8282
*/
83-
protected function getTableDataByCssLocator($locator)
83+
protected function getTableDataByCssLocator($selector)
8484
{
8585
$data = [];
8686
$keys = [];
87-
$definitionTitles = $this->_rootElement->getElements($locator . ' dt');
87+
$definitionTitles = $this->_rootElement->getElements($selector . ' dt');
8888
foreach ($definitionTitles as $dt) {
8989
$keys[] = strtolower(str_replace(' ', '_', str_replace(':', '', $dt->getText())));
9090
}
9191
reset($keys);
9292

93-
$definitionDescriptions = $this->_rootElement->getElements($locator . ' dd');
93+
$definitionDescriptions = $this->_rootElement->getElements($selector . ' dd');
9494
foreach ($definitionDescriptions as $dd) {
9595
$data[current($keys)] = $dd->getText();
9696
next($keys);

0 commit comments

Comments
 (0)