mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
fix chromedriver.path
This commit is contained in:
parent
677a6c1d3f
commit
589cb71cbb
3 changed files with 8 additions and 17 deletions
|
@ -1,15 +0,0 @@
|
|||
var path = require('path');
|
||||
|
||||
|
||||
module.exports = function (grunt) {
|
||||
return {
|
||||
options: {
|
||||
selenium: {
|
||||
filename: 'selenium-server-standalone-2.53.0.jar',
|
||||
server: 'https://selenium-release.storage.googleapis.com/2.53/',
|
||||
md5: '774efe2d84987fb679f2dea038c2fa32',
|
||||
directory: path.join(grunt.config.get('root'), 'selenium')
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
|
@ -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'
|
||||
|
@ -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'
|
||||
|
|
|
@ -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 = {
|
||||
|
@ -238,6 +241,9 @@ define(function (require) {
|
|||
)
|
||||
.then(function (page) {
|
||||
return page.click();
|
||||
})
|
||||
.then(function () {
|
||||
return headerPage.getSpinnerDone();
|
||||
});
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue