use older chrome version

native-events
webzwo0i 2020-11-15 00:58:28 +01:00
parent 513d6ac764
commit 94263aa896
1 changed files with 3 additions and 8 deletions

View File

@ -6,7 +6,7 @@ let getStatusInterval;
let timeout; let timeout;
let allTestsPassed = true; let allTestsPassed = true;
let testSettings = {"browserName":"firefox", "platformName":"Windows 10", "browserVersion":"82.0"} let testSettings = {"browserName":"chrome", "platformName":"Windows 10", "browserVersion":"83.0"}
let name = `${process.env.GIT_HASH} - ${testSettings.browserName} ${testSettings.browserVersion} ${testSettings.platformName}`; let name = `${process.env.GIT_HASH} - ${testSettings.browserName} ${testSettings.browserVersion} ${testSettings.platformName}`;
runTest(testSettings) runTest(testSettings)
@ -16,14 +16,8 @@ async function runTest(testSettings){
'browserName': testSettings.browserName, 'browserName': testSettings.browserName,
'platformName': testSettings.platformName, 'platformName': testSettings.platformName,
'browserVersion': testSettings.browserVersion, 'browserVersion': testSettings.browserVersion,
'moz:firefoxOptions': {
prefs: {
'devtools.debugger.remote-enabled': true,
'devtools.debugger.prompt-connection': false,
'devtools.chrome.enabled': true
}
},
'nativeEvents': true, 'nativeEvents': true,
'chrome.nativeEvents': true,
'sauce:options': { 'sauce:options': {
'username': process.env.SAUCE_USERNAME, 'username': process.env.SAUCE_USERNAME,
'accessKey': process.env.SAUCE_ACCESS_KEY, 'accessKey': process.env.SAUCE_ACCESS_KEY,
@ -32,6 +26,7 @@ async function runTest(testSettings){
'capturePerformance': true, // when possible, enables various performance related metrics 'capturePerformance': true, // when possible, enables various performance related metrics
'tunnelIdentifier': process.env.TRAVIS_JOB_NUMBER, 'tunnelIdentifier': process.env.TRAVIS_JOB_NUMBER,
'nativeEvents': true, 'nativeEvents': true,
'chrome.nativeEvents': true,
'name': name, 'name': name,
/* As a best practice, set important test metadata and execution options /* As a best practice, set important test metadata and execution options
such as build info, tags for reporting, and timeout durations. such as build info, tags for reporting, and timeout durations.