Skip to content

Commit

Permalink
Fixes e2e-debug.js
Browse files Browse the repository at this point in the history
  • Loading branch information
nicjansma committed Apr 4, 2018
1 parent 9ef6d13 commit 9f1f513
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions tests/e2e/e2e-debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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) {
Expand Down

0 comments on commit 9f1f513

Please sign in to comment.