Commit Graph

7 Commits

Author SHA1 Message Date
Guillermo Iguaran
2512f24ef4 Use webdrivers instead of chromedriver-helper for AV UJS tests 2019-03-24 16:05:30 -05:00
Matthew Draper
287920ca7d Respect ENV variables when finding DBs etc for the test suite
If they're not set we'll still fall back to localhost, but this makes it
possible to run the tests against a remote Postgres / Redis / whatever.
2019-02-06 01:20:06 +10:30
yuuji.yaginuma
8059c77404 Load chromedriver-helper.rb
The bin shim provides by `chromedriver-helper` gem has renamed to
`chromedriver-helper` since 2.0.
https://github.com/flavorjones/chromedriver-helper/pull/58

Since bin of new name is set to driver path in
`lib/chromedriver-helper.rb`, need to load it.
2018-09-16 09:40:17 +09:00
eileencodes
93d7b07549 Fix ActionView UJS build
The UJS build has been failing with Chrome failed to start. This commit
fixes it by adding the option `--no-sandbox`. Travis removed the sanbox
option which is why Chrome crashes.

Ref https://github.com/travis-ci/travis-ci/issues/8836

Example failure: https://travis-ci.org/rails/rails/jobs/330396750
2018-01-18 11:28:12 -05:00
Matthew Draper
f50aeba01e Keep rubocop happy with the new Selenium runner 2017-10-28 22:44:06 +10:30
Guillermo Iguaran
734f981782 Count assertions instead of tests in report 2017-10-19 11:11:20 -05:00
Guillermo Iguaran
4dcf12a340 PhantomJS is abandoned, replace it with Selenium/Chrome headless 2017-10-19 11:01:52 -05:00