visit('/login') ->type('thegrumpydictator@gmail.com', 'email') ->type('james', 'password') ->press('Sign In') ->seePageIs('/') ->see('thegrumpydictator@gmail.com'); } /** * @covers \FireflyIII\Http\Controllers\Auth\LoginController::logout */ public function testLogout() { $this->visit('/logout') ->seePageIs('/login') ->see('Sign in to start your session'); } /** * @covers \FireflyIII\Http\Controllers\Auth\LoginController::showLoginForm */ public function testShowLoginForm() { $this->visit('/') ->seePageIs('/login') ->see('Sign in to start your session'); } }