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 * Implement testLogout(). */ public function testLogout() { $this->visit('/logout') ->seePageIs('/login') ->see('Sign in to start your session'); } /** * @covers \FireflyIII\Http\Controllers\Auth\LoginController::showLoginForm * Implement testShowLoginForm(). */ public function testShowLoginForm() { $this->visit('/') ->seePageIs('/login') ->see('Sign in to start your session'); } /** * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. */ protected function tearDown() { } }