$ docker compose run test bundle exec rails test test/system
.
.
[SNIP]
.
.
Error:
EventsCalendarSystemTest#test_calendar_tab_loads_and_renders_events_with_javascript:
Selenium::WebDriver::Error::WebDriverError: unable to connect to /root/.cache/selenium/chromedriver/linux64/151.0.7922.47/chromedriver 127.0.0.1:9515: Errno::ECONNREFUSED: Failed to open TCP connection to 127.0.0.1:9515 (Connection refused - connect(2) for "127.0.0.1" port 9515)
test/system/events_calendar_system_test.rb:18:in `block (2 levels) in <class:EventsCalendarSystemTest>'
test/test_helper.rb:185:in `block (2 levels) in freeze_time'
test/test_helper.rb:184:in `block in freeze_time'
test/test_helper.rb:183:in `freeze_time'
test/system/events_calendar_system_test.rb:5:in `block in <class:EventsCalendarSystemTest>'
Possibly need to run a selenium container and configure capybara to use it, as suggested in the following post:
https://stackoverflow.com/a/48634299
Possibly need to run a selenium container and configure capybara to use it, as suggested in the following post:
https://stackoverflow.com/a/48634299