Added a basic login test and also added 2 small variables to dev .env file

Small test just to see if you wish to continue this way of me writing tests in this shape and form. you can run them locally with php artisan dusk:chrome-driver --detect, run it with ./vendor/laravel/dusk/bin/chromedriver-mac-arm --port=9515  then run tests with php artisan dusk
This commit is contained in:
ALsJourney
2024-09-06 14:16:40 +02:00
parent 6f5b92d322
commit cddd4b59f9
5 changed files with 42 additions and 21 deletions

6
config/testing.php Normal file
View File

@@ -0,0 +1,6 @@
<?php
return [
'dusk_test_email' => env('DUSK_TEST_EMAIL', 'test@example.com'),
'dusk_test_password' => env('DUSK_TEST_PASSWORD', 'password'),
];