You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current behavior:
When executing Feature specs an error message appears on every scenario.
Expected correct behavior:
Every scenario on the Feature specs should be executed and not halted by an error before the scenario.
Steps to reproduce:
Execute any feature spec
docker-compose run --rm osem bundle exec rspec spec/features/conference_spec.rb
A error message is displayed and the scenario is not runned:
WebMock::NetConnectNotAllowedError:
Real HTTP connections are disabled. Unregistered request: GET https://chromedriver.storage.googleapis.com/LAT
EST_RELEASE_75.0.3770 with headers {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'Host'
=>'chromedriver.storage.googleapis.com', 'User-Agent'=>'Ruby'}
You can stub this request with the following snippet:
stub_request(:get, "https://chromedriver.storage.googleapis.com/LATEST_RELEASE_75.0.3770").
with(
headers: {
'Accept'=>'*/*',
'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3',
'Host'=>'chromedriver.storage.googleapis.com',
'User-Agent'=>'Ruby'
}).
to_return(status: 200, body: "", headers: {})
============================================================
The text was updated successfully, but these errors were encountered:
ResolvesopenSUSE#2557:
$ docker-compose run --rm osem bundle exec rspec --tag js
…
WebMock::NetConnectNotAllowedError
See titusfortner/webdrivers#109 for details.
I'm submitting a ..
Current behavior:
When executing Feature specs an error message appears on every scenario.
Expected correct behavior:
Every scenario on the Feature specs should be executed and not halted by an error before the scenario.
Steps to reproduce:
Execute any feature spec
docker-compose run --rm osem bundle exec rspec spec/features/conference_spec.rb
A error message is displayed and the scenario is not runned:
The text was updated successfully, but these errors were encountered: