Skip to content

Commit

Permalink
added verifyIsLoaded after siteaccess is opened
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaszszopinski committed Feb 6, 2025
1 parent 6ceade8 commit 66b9b81
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/Browser/Context/AuthenticationContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ public function iLogInIn(string $username, string $password = null)
public function loggedAsAdmin()
{
$this->redirectLoginPage->open('admin');
$this->redirectLoginPage->verifyIsLoaded();
$this->redirectLoginPage->loginSuccessfully('admin', 'publish');
}

Expand Down

0 comments on commit 66b9b81

Please sign in to comment.