nathanboktae / mocha-casperjs

Write CasperJS tests using Mocha
MIT License
120 stars 30 forks source link

Arguments don't seem to work #88

Closed brandonros closed 8 years ago

brandonros commented 8 years ago

Sorry for the issue spam. Hopefully this is helpful and not hurtful.

➜  tests git:(master) ✗ mocha-casperjs --casper-timeout=30 app_load.js

  Frontend testing
    1) "before all" hook

  0 passing (156ms)
  1 failing

  1) Frontend testing "before all" hook:
     Load timeout of (30ms)

Unsafe JavaScript attempt to access frame with URL about:blank from frame with URL file:///Users/Marketing/.nvm/versions/node/v5.6.0/lib/node_modules/casperjs/bin/bootstrap.js. Domains, protocols and ports must match.

Unsafe JavaScript attempt to access frame with URL about:blank from frame with URL file:///Users/Marketing/.nvm/versions/node/v5.6.0/lib/node_modules/casperjs/bin/bootstrap.js. Domains, protocols and ports must match.
brandonros commented 8 years ago

Just needed to change 30 to milliseconds, 30000.