- Rails: 5.2.1
- Out of the box test setup
- Running with chrome as driver (both normal and headless)
I am trying to run a System test where I access a external service, then get redirected back to my own application.
In this system test, how do I get access to the full url of the running test? I cannot find the current localhost port, therefore cannot send the correct redirect url to the external service.