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

Phantomjs test #192

Open
redparham opened this issue Sep 1, 2016 · 0 comments
Open

Phantomjs test #192

redparham opened this issue Sep 1, 2016 · 0 comments

Comments

@redparham
Copy link

Issue details

The project integrates phantomjs but there isn't a functional test (similar to how there are unit tests for the controllers, for example). Would it be possible to include a simple phantomjs test that exercises a couple pages?

I tried (not a javascript veteran) but simply dropping in a phantomjs example results in an error:

ReferenceError: Can't find variable: require

This is the offending line:
var page = require('webpage').create();

Please provide some guidance... thank you.

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

No branches or pull requests

1 participant