User tests: Successful: Unsuccessful:
This PR adds an additional optional parameter to run tests in different environments, and provides 3 new environments with different screen resolutions.
Execute the following commands:
vendor/bin/robo run:tests
: will run the default desktop test
vendor/bin/robo run:tests --env=desktop
: will run the default desktop test
vendor/bin/robo run:tests --env=tablet
: will run the test at 768px width
vendor/bin/robo run:tests --env=phone
: will run the test at 480px width (and it will fail, but that's not the issue addressed in this PR).
With this PR we switch from ordered arguments to named options. Previously we used the arguments only on Travis so this should not change anything in how we run the tests.
Milestone |
Added: 3.4.2 |
Works as described on a Windows machine. Please one more test on another machine. Thank you @therunnergit!