teaspoon
teaspoon copied to clipboard
[Headless chrome] Does not run any tests. Timesout
Teaspoon does not run any tests and just waits.
bundle exec rake teaspoon
/home/ubuntu/.gem/ruby/2.6.3/gems/hermod-2.4.0/lib/hermod/xml_section_builder.rb:35: warning: BigDecimal.new is deprecated; use BigDecimal() method instead.
[7826] Sqreen logging at level 2 to /mnt/ramdisk/workspace/fac/freeagent/log/sqreen.log
Starting the Teaspoon server...
Teaspoon running default suite at http://127.0.0.1:43839/jasmine/default
It times out in the end. I'm using master as it has support for selenium options.
spec/teaspoon_env.rb
config.driver = :selenium
config.driver_options = {
client_driver: :chrome,
selenium_options: {
options: Selenium::WebDriver::Chrome::Options.new(args: ['--headless', '--no-sandbox'])
}
}
Try the args without the --
prefix. Also, I had to add disable-gpu
to my args list to get things to work, ymmv