We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 644e23e commit 6e97b4fCopy full SHA for 6e97b4f
tests/Functional/AuthenticationCest.php
@@ -79,7 +79,14 @@ public function dontSeeAuthentication(FunctionalTester $I)
79
80
public function logout(FunctionalTester $I)
81
{
82
- // TODO
+ $I->amLoggedAs([
83
+ 'email' => 'john_doe@gmail.com',
84
+ 'password' => '123456'
85
+ ]);
86
+ $I->amOnPage('/home');
87
+ $I->click('#logout');
88
+ $I->amOnPage('/');
89
+ $I->seeAuthentication();
90
}
91
92
public function seeAuthentication(FunctionalTester $I)
0 commit comments