I'm using Laravel 5.4 and I wonder if it is possible to save items in the localStorage before running a test in Laravel Dusk. For example, imagine that you want to test some behaviours that should happen after completing a long list of things that are stored in the browser's localStorage.
Is it possible to have them in the localStorage before running the test that requires them? If so, how would you do it before a test?
Of course I could write a script that goes through the long process of filling the localStorage manually, as a regular user would do it. But running the same long lasting method over and over just to test bits of functionality doesn't feel quite right.
Thanks for your help, beforehand.