bitboxer
Problems with wallaby + chrome + travis ci
I am currently trying to update a hobby project of mine (signdict.org) that has some really outdated code in it. To do it safely I want to add some more tests using wallaby to make the refactoring save. Currently the app is using phantomjs, but I want to switch using chrome(ium) but haven’t found a way that actually works on travis ci.
The .travis.yml I am using can be found here .
Locally it works just fine, but on Travis it fails with:
** (RuntimeError) invalid session id
code: |> visit("/")
stacktrace:
(wallaby) lib/wallaby/httpclient.ex:136: Wallaby.HTTPClient.check_for_response_errors/1
(wallaby) lib/wallaby/httpclient.ex:56: Wallaby.HTTPClient.make_request/5
(wallaby) lib/wallaby/experimental/selenium/webdriver_client.ex:254: Wallaby.Experimental.Selenium.WebdriverClient.visit/2
(wallaby) lib/wallaby/driver/log_checker.ex:6: Wallaby.Driver.LogChecker.check_logs!/2
(wallaby) lib/wallaby/browser.ex:963: Wallaby.Browser.visit/2
test/sign_dict_web/features/entry_voting_test.exs:17: (test)
See here for the full output.
I tried a lot, but I now need some help. There is an open issue on Wallaby that hints to the amount of threads, but I also tried to limit the number of simultaneous tests to 1 and it still failed. Does someone here has it working in a project? If yes, can that person share the config file? That would be awesome.
Most Liked
NAR
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #security
- #hex










