Bump Selenium version from 2.47.1 to 2.48.2 to work with latest Firefox 43. Add more debug logging around get url.
This commit is contained in:
parent
f40121698a
commit
803fe192a1
4 changed files with 10 additions and 6 deletions
|
@ -5,9 +5,9 @@ module.exports = function (grunt) {
|
|||
return {
|
||||
options: {
|
||||
selenium: {
|
||||
filename: 'selenium-server-standalone-2.47.1.jar',
|
||||
server: 'https://selenium-release.storage.googleapis.com/2.47/',
|
||||
md5: 'e6cb10b8f0f353c6ca4a8f62fb5cb472',
|
||||
filename: 'selenium-server-standalone-2.48.2.jar',
|
||||
server: 'https://selenium-release.storage.googleapis.com/2.48/',
|
||||
md5: 'b2784fc67c149d3c13c83d2108104689',
|
||||
directory: path.join(grunt.config.get('root'), 'selenium')
|
||||
}
|
||||
}
|
||||
|
|
|
@ -88,7 +88,7 @@ module.exports = function (grunt) {
|
|||
cmd: 'java',
|
||||
args: [
|
||||
'-jar',
|
||||
'selenium/selenium-server-standalone-2.47.1.jar',
|
||||
'selenium/selenium-server-standalone-2.48.2.jar',
|
||||
'-port',
|
||||
uiConfig.servers.webdriver.port
|
||||
]
|
||||
|
@ -104,7 +104,7 @@ module.exports = function (grunt) {
|
|||
cmd: 'java',
|
||||
args: [
|
||||
'-jar',
|
||||
'selenium/selenium-server-standalone-2.47.1.jar',
|
||||
'selenium/selenium-server-standalone-2.48.2.jar',
|
||||
'-port',
|
||||
uiConfig.servers.webdriver.port
|
||||
]
|
||||
|
|
|
@ -5,7 +5,7 @@ define(function (require) {
|
|||
return _.assign({
|
||||
debug: true,
|
||||
capabilities: {
|
||||
'selenium-version': '2.47.1',
|
||||
'selenium-version': '2.48.2',
|
||||
'idle-timeout': 99
|
||||
},
|
||||
environments: [{
|
||||
|
|
|
@ -31,12 +31,16 @@ define(function (require) {
|
|||
self.debug('navigate to: ' + url);
|
||||
return self.remote.get(url)
|
||||
.then(function () {
|
||||
self.debug('returned from get, calling refresh');
|
||||
return self.remote.refresh();
|
||||
})
|
||||
.then(function () {
|
||||
self.debug('check testStatusPage');
|
||||
if (testStatusPage !== false) {
|
||||
self.debug('self.checkForKibanaApp()');
|
||||
return self.checkForKibanaApp()
|
||||
.then(function (kibanaLoaded) {
|
||||
self.debug('kibanaLoaded = ' + kibanaLoaded);
|
||||
if (!kibanaLoaded) {
|
||||
var msg = 'Kibana is not loaded, retrying';
|
||||
self.debug(msg);
|
||||
|
|
Loading…
Reference in a new issue