mercredi 3 mai 2017

ember-cli test not working with phantomjs in docker

When running ember test --host 172.17.0.2 --test-port 4450, I'm getting the following error.

Error: Browser failed to connect within 30s. testem.js not loaded?

Since I'm using a docker container I'm assuming I need to update the host and port to the open docker host and port.

This is my testem.js file

/*jshint node:true*/
module.exports = {
  "framework": "qunit",
  "test_page": "tests/index.html?hidepassed",
  "phantomjs_debug_port": 4500,
  "disable_watching": true,
  "launch_in_ci": [
    "PhantomJS"
  ],
  "launch_in_dev": [
    "PhantomJS",
    "Chrome"
  ]
};




Aucun commentaire:

Enregistrer un commentaire