-
Notifications
You must be signed in to change notification settings - Fork 328
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change the location of screenshots and console folders #393
Comments
I don't think there's any issue with having stubs, fakes, mocks, logs or screenshots inside test folder. |
Well, having the Not saying that those folders MUST be moved. Just saying that there is a way to tell the browser to store them somewhere else, but the artisan command does not honour that choice. At the very least, I would not mind the command not cleaning up my custom folders if it did not simply crash because the default folders are missing (in which case it should just skip the cleanup step). |
I added an |
Any update on this? |
@theomessin you're free to attempt a pr for this. |
@driesvints: The recent pull request to allow configurable directories was declined so this should probably be closed.
in the root issue post was fixed by staudenmeir 2 years ago. |
@derekmd thanks. |
The tests folder is PSR-4 compliant. Those two folders do not really belong here.
They would rather be located in
storage/logs/dusk/...
Moving the folders is currently possible with a custom
setUp
method in the DuskTestCase class:However, the DuskCommand complains that the folders in tests/Browser do not exist when trying to clean them.
I think that for the same reasons some folders/files were taken out of the
app
folder from L4 to L5, we should keep the tests folder free of non-PSR-4 stuff.The text was updated successfully, but these errors were encountered: