Skip to content

Commit 2ba09f2

Browse files
authored
Merge pull request #136 from vortrixs/vortrixs-patch-1
[Fix] doFrontendLogout()
2 parents aef4681 + d167e0d commit 2ba09f2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/JoomlaBrowser.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ public function doFrontendLogout()
123123
$I->amOnPage('/index.php?option=com_users&view=login');
124124
$this->debug('I click Logout button');
125125
$I->click(['xpath' => "//div[@class='logout']//button[contains(text(), 'Log out')]"]);
126+
$I->amOnPage('/index.php?option=com_users&view=login');
126127
$this->debug('I wait to see Login form');
127128
$I->waitForElement(['xpath' => "//div[@class='login']//button[contains(text(), 'Log in')]"], 30);
128129
$I->seeElement(['xpath' => "//div[@class='login']//button[contains(text(), 'Log in')]"]);

0 commit comments

Comments
 (0)