generator-hottowel icon indicating copy to clipboard operation
generator-hottowel copied to clipboard

Phantomjs test

Open redparham opened this issue 8 years ago • 0 comments

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.

redparham avatar Sep 01 '16 14:09 redparham