2 months ago

SImple Dusk test from manual fails

Posted 2 months ago by LiamA

I'm trying to follow the instructions here:

But the assertPathIs test keeps failing. The generated screenshot shows a "credentials do not match our records".

I should mention that I also tried setting the password for the user when its created by the factory (bcrypted, of course).

I have a .env.dusk.local configuaration file with the correct APP_URL (as the error screenshot is produced). In this file I also have the dust testing database settings which is empty.

Am I right to assume that using DatabaseMigrations is enough to create all the tables in the database when dusk runs?

If so, why is this very simple test not working? If not, what exactly do I need to do to get it to work? Thanks

Please sign in or create an account to participate in this conversation.