Skip to content

Commit cf77003

Browse files
author
Dmytro Vilchynskyi
committed
MAGETWO-36129: Update Content in Magento 2 by Modules - part 1
- fixed tests
1 parent 7f50fc0 commit cf77003

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

dev/tests/functional/tests/app/Magento/Customer/Test/TestStep/LoginCustomerOnFrontendStep.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public function __construct(
7171
public function run()
7272
{
7373
$this->logoutCustomerOnFrontend->run();
74-
$this->cmsIndex->getLinksBlock()->openLink("Sign In");
74+
$this->cmsIndex->getLinksBlock()->openLink('Sign In');
7575
$this->cmsIndex->getCmsPageBlock()->waitPageInit();
7676
$this->customerAccountLogin->getLoginBlock()->login($this->customer);
7777
$this->cmsIndex->getCmsPageBlock()->waitPageInit();

dev/tests/functional/tests/app/Magento/Customer/Test/TestStep/LogoutCustomerOnFrontendStep.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ public function run()
5454
{
5555
$this->cmsIndex->open();
5656
$this->cmsIndex->getCmsPageBlock()->waitPageInit();
57-
if ($this->cmsIndex->getLinksBlock()->isLinkVisible("Log Out")) {
58-
$this->cmsIndex->getLinksBlock()->openLink("Log Out");
57+
if ($this->cmsIndex->getLinksBlock()->isLinkVisible('Sign Out')) {
58+
$this->cmsIndex->getLinksBlock()->openLink('Sign Out');
5959
$this->cmsIndex->getCmsPageBlock()->waitUntilTextIsVisible('Home Page');
6060
$this->cmsIndex->getCmsPageBlock()->waitPageInit();
6161
}

0 commit comments

Comments
 (0)