From 5e986d1d9e8c7e40bc5f0b4d8db0aff9d3bd3456 Mon Sep 17 00:00:00 2001 From: webzwo0i Date: Sun, 15 Nov 2020 23:27:08 +0100 Subject: [PATCH] fix --- tests/frontend/travis/remote_runner.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/frontend/travis/remote_runner.js b/tests/frontend/travis/remote_runner.js index 6de24cfd2..823b3c9ec 100644 --- a/tests/frontend/travis/remote_runner.js +++ b/tests/frontend/travis/remote_runner.js @@ -6,8 +6,11 @@ let getStatusInterval; let timeout; let allTestsPassed = true; -let testSettings = {"browserName":"chrome", "platformName":"Windows 10", "browserVersion":"latest"} +let testSettings = {"browserName":"chrome", "platformName":"Windows 10", "browserVersion":"83.0"} let name = `${process.env.GIT_HASH} - ${testSettings.browserName} ${testSettings.browserVersion} ${testSettings.platformName}`; +let knownConsoleText = ""; +// how many characters of the log have been sent to travis +let logIndex = 0; runTest(testSettings) @@ -36,9 +39,6 @@ async function runTest(testSettings){ console.log(`https://saucelabs.com/jobs/${session}`); driver.get(baseUrl).then(function(){ - let knownConsoleText = ""; - // how many characters of the log have been sent to travis - let logIndex = 0; getStatusInterval = setInterval(function(){ driver.executeScript("return $('#console').text()") .then(function(knownConsoleText){