Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Headless chrome] Does not run any tests. Timesout #566

Open
snehaso opened this issue Jul 16, 2019 · 1 comment
Open

[Headless chrome] Does not run any tests. Timesout #566

snehaso opened this issue Jul 16, 2019 · 1 comment
Labels

Comments

@snehaso
Copy link

snehaso commented Jul 16, 2019

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'])
   }
  }
@aharpervc
Copy link
Contributor

Try the args without the -- prefix. Also, I had to add disable-gpu to my args list to get things to work, ymmv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants