Add Firefox support (#1359)

Co-authored-by: Ben Kucera <14625260+Bkucera@users.noreply.github.com>
Co-authored-by: Gleb Bahmutov <gleb.bahmutov@gmail.com>
Co-authored-by: Brian Mann <brian.mann86@gmail.com>
Co-authored-by: Zach Bloomquist <github@chary.us>
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
This commit is contained in:
Chris Breiding
2020-02-06 10:52:13 -05:00
committed by GitHub
parent aa1cc0ddbe
commit d76123b3d9
168 changed files with 4995 additions and 1134 deletions

View File

@@ -16,9 +16,10 @@ canRecordVideo = () ->
shouldSkipProjectTest = () ->
os.platform() == "win32"
runSmokeTest = (buildAppExecutable) ->
runSmokeTest = (buildAppExecutable, timeoutSeconds = 30) ->
rand = String(_.random(0, 1000))
console.log("executable path #{buildAppExecutable}")
console.log("timeout #{timeoutSeconds} seconds")
hasRightResponse = (stdout) ->
# there could be more debug lines in the output, so find 1 line with
@@ -30,7 +31,7 @@ runSmokeTest = (buildAppExecutable) ->
if verify.needsSandbox()
args.push("--no-sandbox")
execa "#{buildAppExecutable}", args, {timeout: 10000}
execa "#{buildAppExecutable}", args, {timeout: timeoutSeconds*1000}
.catch (err) ->
console.error("smoke test failed with error %s", err.message)
throw err