Skip to content

Instantly share code, notes, and snippets.


uno-de-piera/FrameworkTest.php Secret

Last active May 31, 2020
What would you like to do?
namespace Tests\Browser;
use App\LanguageFramework;
use App\User;
use Laravel\Dusk\Browser;
use Tests\DuskTestCase;
use Illuminate\Foundation\Testing\DatabaseMigrations;
* testing with pages
* Class FrameworkTest
* @package Tests\Browser
class FrameworkTest extends DuskTestCase
use DatabaseMigrations;
* @group framework-page
public function testVisitFrameworkPage()
factory(User::class, 1)->create();
$this->browse(function (Browser $browser) {
->visit(new \Tests\Browser\Pages\Framework)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment