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

added option to specify engines for executing tests, fixed casper integr... #67

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

stustison
Copy link
Contributor

I hope you find this pull request useful! I added a new "engines" option to the options field in the casperjs grunt task. This lets you specify either PhantomJS, SlimerJS, or both as targets. Leaving this option out will still execute the tests using PhantomJS as they did before, so it should be backwards compatible. I did add the engines option to the plugin's Gruntfile.js just to show the option, it isn't necessary, but I thought it was useful to include.

I also fixed the integration tests, they were still using options from the previous version of casperjs and would not work correctly. You should be able to run grunt from the command line now and see the test execute.

Let me know if anything doesn't look right in this PR and I can update it.

…egration test, updated casperjs version to fix build issue
@davidosomething
Copy link

The new option key is unnecessary, you should just check if the options.casperjsOptions array has --engine=slimerjs before setting useSlimer = true

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

Successfully merging this pull request may close these issues.

2 participants