Open davide-casiraghi opened 5 years ago
I've written now a proper test for the login process: test_user_can_login This shows me this error evidence: SQLSTATE[HY000] [1044] Access denied for user ''@'localhost' to database 'forge'
Checking the dump of the test_user_can_login function I get:
testuser@dusk.com These credentials do not match our records.
Dusk should be run with this string: php artisan dusk --env=dusk-local
Set the configuration parameters in a file called: .env.dusk.local
done
fixed also the event test to select the start and the end dates, that now are compulsory
Now Laravel Dusk tests works but they delete the local db... :)
Now dusk tests run in TravisCI!! 👍 But still deleting my local DB.
The most of Laravel Dusk tests are broken. The problem is related to the loginUser() function.