Skip to content

Commit ffc5407

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

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class Install extends Block
4040
*
4141
* @var string
4242
*/
43-
protected $launchAdmin = "//*[@type='button']";
43+
protected $launchAdmin = '.btn-large.btn-prime';
4444

4545
/**
4646
* Click on 'Install Now' button.
@@ -50,7 +50,7 @@ class Install extends Block
5050
public function clickInstallNow()
5151
{
5252
$this->_rootElement->find($this->installNow, Locator::SELECTOR_XPATH)->click();
53-
$this->waitForElementVisible($this->launchAdmin, Locator::SELECTOR_XPATH);
53+
$this->waitForElementVisible($this->launchAdmin, Locator::SELECTOR_CSS);
5454
}
5555

5656
/**

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class Landing extends Block
1919
*
2020
* @var string
2121
*/
22-
protected $agreeAndSetup = '.btn-lg.btn-primary';
22+
protected $agreeAndSetup = '.btn-prime.btn-submit';
2323

2424
/**
2525
* 'Terms & Agreement' link.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class License extends Block
1919
*
2020
* @var string
2121
*/
22-
protected $back = '.btn.btn-large.btn-prime';
22+
protected $back = '[ng-click="nextState()"]';
2323

2424
/**
2525
* License text.

0 commit comments

Comments
 (0)