Skip to content
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

Add environments for different resolutions #158

Conversation

therunnergit
Copy link
Contributor

This PR adds an additional optional parameter to run tests in different environments, and provides 3 new environments with different screen resolutions.

How to test

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).

Notes

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.

@Kubik-Rubik
Copy link
Contributor

Works as described on a Windows machine. Please one more test on another machine. Thank you @therunnergit!

@javigomez
Copy link
Contributor

closing for #164

@javigomez javigomez closed this Nov 4, 2015
@javigomez
Copy link
Contributor

works:

screen shot 2015-11-04 at 12 50 57

this is part of #143

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants