CLOVIS
03/13/2020, 10:31 PMCHROME_BIN=chromium-browser
however it complains that Running as root without --no-sandbox is not supported.
. I'm trying to add the --no-sandbox
option, however I can't add it to CHROME_BIN
. Is there an option somewhere in the multiplatform plugin to handle this? And if not, what are the solutions?ian.shaun.thomas
03/14/2020, 2:56 AMkarma.config.d
directory (create it yourself) or whichever test framework you're using like mocha.config.d etc.ian.shaun.thomas
03/14/2020, 2:56 AMIlya Goncharov [JB]
03/14/2020, 6:35 AMuseConfigDirectory
. And then you need to create folder <http://karma.com|karma.com>fig.d
where you can create plain js files, in which you can configure karma config via config
variable, and add your own browser launchers (including no-sandbox
option). But do you really need to run with super user? If you will run with limited user there isn’t this kind of error
kotlin {
js {
browser {
testTask {
useKarma {
useConfigDirectory()
}
}
}
}
}
ian.shaun.thomas
03/14/2020, 6:43 AMecho "CHROMIUM_FLAGS=\"--no-sandbox --headless --disable-gpu\"" > ~/.chromium-browser.init
your example (patricks, rather) is kind of a bummer as it seems I had been really close to figuring it out reading the plugin source but I couldn't find a way to make it work in a kts file so a little comedy there.CLOVIS
03/14/2020, 9:57 AM