-
-
Save uno-de-piera/a73144f21e1a022b319251807ae5880a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @group framework-page | |
*/ | |
public function testCheckErrorFormFrameworkPage() | |
{ | |
factory(User::class, 1)->create(); | |
$this->browse(function (Browser $browser) { | |
$browser->loginAs(User::find(1)) | |
->visit(new \Tests\Browser\Pages\Framework) | |
->press('Save Framework') | |
->assertSee('The name field is required.'); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment