Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/JoomlaBrowser.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ public function doFrontEndLogin($user = null, $password = null)
// @todo: update login button in joomla login screen to make this xPath more friendly
$this->debug('I click Login button');
$I->click(['xpath' => "//div[@class='login']/form/fieldset/div[4]/div/button"]);
$this->debug('I wait to see Frontend Member Profile Form');
$I->waitForElement(['xpath' => "//input[@value='Log out']"], 10);
$this->debug('I wait to see Frontend Member Profile Form with the Logout button in the module');
$I->waitForElement(['xpath' => "//form[@id='login-form']/div[@class='logout-button']"], 60);
}

/**
Expand Down