Skip to content

Commit 0fe557a

Browse files
committed
use dusk --browse option instead of setting an env var
1 parent 5f02539 commit 0fe557a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Commands/MagicTestCommand.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ class MagicTestCommand extends Command
1313
public function handle()
1414
{
1515
$this->comment('Your Magic Test session is starting...');
16+
1617
$filter = $this->option('filter') ? (' --filter ' . $this->option('filter')) : '';
17-
shell_exec('DUSK_HEADLESS_DISABLED=1 MAGIC_TEST=1 php artisan dusk' . $filter);
18+
shell_exec('php artisan dusk --browse' . $filter);
1819
}
1920
}

0 commit comments

Comments
 (0)