Skip to content

Commit

Permalink
[Add] Laravel Dusk output to the .gitignore configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
bumbummen99 committed Nov 24, 2024
1 parent 81b3cd4 commit 6f174a7
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,8 @@ composer.lock

# PHPUnit
.phpunit.cache

# Laravel Dusk
tests/Browser/console
tests/Browser/screenshots
tests/Browser/source
13 changes: 11 additions & 2 deletions tests/Browser/BlocksInputTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<?php

namespace Tests\SkyRaptor\FilamentBlocksBuilder\Feature;
namespace Tests\SkyRaptor\FilamentBlocksBuilder\Browser;

use Laravel\Dusk\Browser;

class BlocksInputTest extends TestCase
{
Expand All @@ -10,6 +12,13 @@ class BlocksInputTest extends TestCase
*/
function test_nested_builders_interaction()
{
$this->assertTrue(true);
$this->browse(function (Browser $browser) {
$browser
->visit('/admin/login')
->type('email', $this->user->email)
->type('password', 'password')
->press('Login')
->assertPathIs('/admin');
});
}
}

0 comments on commit 6f174a7

Please sign in to comment.