Skip to content

Instantly share code, notes, and snippets.

Created May 31, 2020
What would you like to do?
* @group framework-page
public function testCheckCanSubmitFormFrameworkPage()
factory(User::class, 1)->create();
Framework::create(['name' => 'Php']);
$this->browse(function (Browser $browser)
->visit(new \Tests\Browser\Pages\Framework)
->press('Save Framework')
->assertSee('The name field is required.')
->assertSee('Framework guardado correctamente')
->assertSee('The name has already been taken.');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment