Skip to content

Commit

Permalink
fix chromedriver.path
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeDr committed Jun 20, 2016
1 parent 677a6c1 commit 589cb71
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 17 deletions.
15 changes: 0 additions & 15 deletions tasks/config/downloadSelenium.js

This file was deleted.

4 changes: 2 additions & 2 deletions tasks/config/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ module.exports = function (grunt) {
quiet: false,
failOnError: false
},
cmd: 'chromedriver.path',
cmd: chromedriver.path,
args: [
`--port=${uiConfig.servers.webdriver.port}`,
'--url-base=wd/hub'
Expand All @@ -100,7 +100,7 @@ module.exports = function (grunt) {
quiet: false,
failOnError: false
},
cmd: 'chromedriver.path',
cmd: chromedriver.path,
args: [
`--port=${uiConfig.servers.webdriver.port}`,
'--url-base=wd/hub'
Expand Down
6 changes: 6 additions & 0 deletions test/support/pages/settings_page.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,16 @@ define(function (require) {
var config = require('intern').config;
var Promise = require('bluebird');
var Common = require('./common');
var HeaderPage = require('./header_page');

var defaultTimeout = config.timeouts.default;
var common;
var headerPage;

function settingsPage(remote) {
this.remote = remote;
common = new Common(this.remote);
headerPage = new HeaderPage(this.remote);
}

settingsPage.prototype = {
Expand Down Expand Up @@ -238,6 +241,9 @@ define(function (require) {
)
.then(function (page) {
return page.click();
})
.then(function () {
return headerPage.getSpinnerDone();
});
},

Expand Down

0 comments on commit 589cb71

Please sign in to comment.