diff --git a/Gruntfile.js b/Gruntfile.js index 60f537e16..1da5b432c 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -590,7 +590,7 @@ module.exports = function() { configFile: "tests/protractor.config.debug.js", args: { seleniumAddress: SELENIUM_ADDRESS, - specs: ["e2e/e2e-debug.js"], + specs: ["tests/e2e/e2e-debug.js"], baseUrl: E2E_BASE_URL, capabilities: { "browserName": "phantomjs", diff --git a/tests/e2e/e2e-debug.js b/tests/e2e/e2e-debug.js index 27b7bacc8..2ca16e829 100644 --- a/tests/e2e/e2e-debug.js +++ b/tests/e2e/e2e-debug.js @@ -12,7 +12,7 @@ var path = require("path"); var testsFile = path.join(__dirname, "e2e-debug.json"); var tests = require(testsFile).tests; var servers = require(testsFile).server; - +var ports = require(testsFile).ports; // // Functions @@ -23,7 +23,7 @@ function run(testPath, file) { it("Should pass " + testPath + "/" + fileName, function(done) { var logCount = 0; - browser.driver.get("http://" + servers.main + ":" + ports.main + "/pages/" + path + "/" + fileName); + browser.driver.get("http://" + servers.main + ":" + ports.main + "/pages/" + testPath + "/" + fileName); setInterval(function() { browser.manage().logs().get("browser").then(function(browserLog) {