Skip to content

Commit

Permalink
Merge pull request #94 from ibexa/merge-ibx-1193-added-log-out-step-i…
Browse files Browse the repository at this point in the history
…n-behat

Merge IBX-1193 Added logout step in behat
  • Loading branch information
mikadamczyk authored Dec 7, 2021
2 parents fe09466 + b372959 commit a8d4c3f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions src/lib/Behat/BrowserContext/NavigationContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,14 @@ public function iGoToUserNotifications()
$this->upperMenu->openNotifications();
}

/**
* @Given I log out of back office
*/
public function iLogOutOfBackOffice()
{
$this->upperMenu->chooseFromUserDropdown('Logout');
}

/**
* @Given I'm on Content view Page for :path
* @Given there exists Content view Page for :path
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ class RedirectToDashboardAuthenticationSuccessHandler extends DefaultAuthenticat
*/
public function __construct(
HttpUtils $httpUtils,
array $options = [],
array $siteAccessGroups = [],
array $options,
array $siteAccessGroups,
string $defaultTargetPath
) {
parent::__construct($httpUtils, $options);
Expand Down

0 comments on commit a8d4c3f

Please sign in to comment.