Is there a problem with my cucumber in the terminal? - ruby

I'm running into a couple issues with my app. I'm following this tutorial.
https://code.tutsplus.com/tutorials/ruby-for-newbies-testing-web-apps-with-capybara-and-cucumber--net-21446
As far as I'm concerned I have followed the tutorial to a T. But when i go to run the code using the cucumber keyword in my windows CMD, it throws the following error.
Feature: Viewer visits the Home Page
In order to read the Page
As a Viewer
I want to see the home page of my app
Scenario: View home page # features/home_page.feature:6
including Capybara::DSL in the global scope is not recommended!
E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/rspec-expectations-3.10.2/lib/rspec/matchers.rb:965:in `method_missing': undefined method `map' for nil:NilClass (NoMethodError)
from E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/cucumber-7.1.0/lib/cucumber/glue/proto_world.rb:205:in `stringify_namespaced_modules'
from E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/cucumber-7.1.0/lib/cucumber/glue/proto_world.rb:169:in `inspect'
from E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/cucumber-7.1.0/lib/cucumber/glue/proto_world.rb:121:in `inspect'
from E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/cucumber-7.1.0/lib/cucumber/glue/proto_world.rb:126:in `to_s'
from E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/cucumber-7.1.0/lib/cucumber/cli/main.rb:53:in `rescue in execute!'
from E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/cucumber-7.1.0/lib/cucumber/cli/main.rb:24:in `execute!'
from E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/cucumber-7.1.0/bin/cucumber:9:in `<top (required)>'
from E:/Ruby30-x64/bin/cucumber:25:in `load'
from E:/Ruby30-x64/bin/cucumber:25:in `<main>'
E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/rspec-expectations-3.10.2/lib/rspec/matchers.rb:965:in `method_missing': undefined method `map' for nil:NilClass (NoMethodError)
from E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/cucumber-7.1.0/lib/cucumber/glue/proto_world.rb:205:in `stringify_namespaced_modules'
from E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/cucumber-7.1.0/lib/cucumber/glue/proto_world.rb:169:in `inspect'
from E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/cucumber-7.1.0/lib/cucumber/glue/proto_world.rb:121:in `inspect'
from E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/cucumber-7.1.0/lib/cucumber/glue/proto_world.rb:126:in `to_s'
from E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/cucumber-core-10.1.1/lib/cucumber/core/event_bus.rb:54:in `handlers_for'
from E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/cucumber-core-10.1.1/lib/cucumber/core/event_bus.rb:34:in `broadcast'
from E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/cucumber-core-10.1.1/lib/cucumber/core/event_bus.rb:40:in `method_missing'
from E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/cucumber-core-10.1.1/lib/cucumber/core/test/runner.rb:37:in `around_hook'
from E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/cucumber-core-10.1.1/lib/cucumber/core/test/around_hook.rb:12:in `describe_to'
from E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/cucumber-core-10.1.1/lib/cucumber/core/test/case.rb:80:in `block (2 levels) in compose_around_hooks'
from E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/cucumber-core-10.1.1/lib/cucumber/core/test/case.rb:81:in `compose_around_hooks'
from E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/cucumber-core-10.1.1/lib/cucumber/core/test/case.rb:29:in `block in describe_to'
from E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/cucumber-core-10.1.1/lib/cucumber/core/test/runner.rb:19:in `test_case'
from E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/cucumber-core-10.1.1/lib/cucumber/core/test/case.rb:28:in `describe_to'
from E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/cucumber-7.1.0/lib/cucumber/filters/prepare_world.rb:11:in `test_case'
from E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/cucumber-core-10.1.1/lib/cucumber/core/test/case.rb:28:in `describe_to'
from E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/cucumber-core-10.1.1/lib/cucumber/core/filter.rb:57:in `test_case'
from E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/cucumber-7.1.0/lib/cucumber/filters/retry.rb:18:in `test_case'
from E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/cucumber-core-10.1.1/lib/cucumber/core/test/case.rb:28:in `describe_to'
from E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/cucumber-7.1.0/lib/cucumber/filters/quit.rb:11:in `test_case'
from E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/cucumber-core-10.1.1/lib/cucumber/core/test/case.rb:28:in `describe_to'
from E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/cucumber-7.1.0/lib/cucumber/filters/broadcast_test_run_started_event.rb:21:in `block in done'
from E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/cucumber-7.1.0/lib/cucumber/filters/broadcast_test_run_started_event.rb:20:in `map'
from E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/cucumber-7.1.0/lib/cucumber/filters/broadcast_test_run_started_event.rb:20:in `done'
from E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/cucumber-core-10.1.1/lib/cucumber/core/filter.rb:62:in `done'
from E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/cucumber-core-10.1.1/lib/cucumber/core/filter.rb:62:in `done'
from E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/cucumber-core-10.1.1/lib/cucumber/core/filter.rb:62:in `done'
from E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/cucumber-core-10.1.1/lib/cucumber/core/filter.rb:62:in `done'
from E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/cucumber-core-10.1.1/lib/cucumber/core/filter.rb:62:in `done'
from E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/cucumber-core-10.1.1/lib/cucumber/core/filter.rb:62:in `done'
from E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/cucumber-core-10.1.1/lib/cucumber/core/test/filters/locations_filter.rb:20:in `done'
from E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/cucumber-core-10.1.1/lib/cucumber/core/filter.rb:62:in `done'
from E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/cucumber-core-10.1.1/lib/cucumber/core/test/filters/tag_filter.rb:18:in `done'
from E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/cucumber-core-10.1.1/lib/cucumber/core/compiler.rb:31:in `done'
from E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/cucumber-core-10.1.1/lib/cucumber/core/gherkin/parser.rb:46:in `done'
from E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/cucumber-core-10.1.1/lib/cucumber/core.rb:35:in `parse'
from E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/cucumber-core-10.1.1/lib/cucumber/core.rb:24:in `compile'
from E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/cucumber-7.1.0/lib/cucumber/runtime.rb:83:in `run!'
from E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/cucumber-7.1.0/lib/cucumber/cli/main.rb:29:in `execute!'
from E:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/cucumber-7.1.0/bin/cucumber:9:in `<top (required)>'
from E:/Ruby30-x64/bin/cucumber:25:in `load'
from E:/Ruby30-x64/bin/cucumber:25:in `<main>'
Is there something wrong with my cucumber gem? or is it another issue? If you'd like I can also post the rest of my code it was just a few files. Help?

The tutorial you’re following is from 11 years ago. My guess is just that the tutorial is massively out of date.

Related

Intellij not able to run test case cucumber 4.1

Recently I upgraded my cucumber version to 4.1(from 3.1.2). Now I'm not able to execute test cases from Intellij. Error is:
undefined method `feature' for nil:NilClass (NoMethodError)
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cucumber-4.1.0/lib/cucumber/formatter/ast_lookup.rb:105:in `initialize'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cucumber-4.1.0/lib/cucumber/formatter/ast_lookup.rb:30:in `new'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cucumber-4.1.0/lib/cucumber/formatter/ast_lookup.rb:30:in `step_source'
C:/Users/demo/AppData/Roaming/JetBrains/IntelliJIdea2020.1/plugins/ruby/rb/testing/patch/bdd/teamcity/cucumber/cucumber_4_formatter.rb:223:in `step_node_name'
C:/Users/demo/AppData/Roaming/JetBrains/IntelliJIdea2020.1/plugins/ruby/rb/testing/patch/bdd/teamcity/cucumber/cucumber_4_formatter.rb:93:in `on_test_step_finished'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/event_bus.rb:34:in `block in broadcast'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/event_bus.rb:34:in `each'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/event_bus.rb:34:in `broadcast'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/event_bus.rb:40:in `method_missing'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/test/runner.rb:37:in `around_hook'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/test/around_hook.rb:12:in `describe_to'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/test/case.rb:80:in `block (2 levels) in compose_around_hooks'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/test/case.rb:81:in `compose_around_hooks'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/test/case.rb:29:in `block in describe_to'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/test/runner.rb:19:in `test_case'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/test/case.rb:28:in `describe_to'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cucumber-4.1.0/lib/cucumber/filters/prepare_world.rb:11:in `test_case'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/test/case.rb:28:in `describe_to'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/filter.rb:57:in `test_case'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cucumber-4.1.0/lib/cucumber/filters/retry.rb:18:in `test_case'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/test/case.rb:28:in `describe_to'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cucumber-4.1.0/lib/cucumber/filters/quit.rb:11:in `test_case'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/test/case.rb:28:in `describe_to'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cucumber-4.1.0/lib/cucumber/filters/broadcast_test_run_started_event.rb:21:in `block in done'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cucumber-4.1.0/lib/cucumber/filters/broadcast_test_run_started_event.rb:20:in `map'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cucumber-4.1.0/lib/cucumber/filters/broadcast_test_run_started_event.rb:20:in `done'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/filter.rb:62:in `done'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/filter.rb:62:in `done'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/filter.rb:62:in `done'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/filter.rb:62:in `done'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/filter.rb:62:in `done'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/filter.rb:62:in `done'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/test/filters/locations_filter.rb:20:in `done'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/filter.rb:62:in `done'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/test/filters/tag_filter.rb:18:in `done'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/compiler.rb:31:in `done'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/gherkin/parser.rb:46:in `done'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core.rb:35:in `parse'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core.rb:24:in `compile'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cucumber-4.1.0/lib/cucumber/runtime.rb:79:in `run!'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cucumber-4.1.0/lib/cucumber/cli/main.rb:29:in `execute!'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cucumber-4.1.0/bin/cucumber:9:in `<top (required)>'
C:/Ruby26-x64/bin/cucumber:23:in `load'
C:/Ruby26-x64/bin/cucumber:23:in `<main>'
So because of the above error, I'm not able to execute cucumber test cases. Test cases are written in ruby.
But if I'll execute test cases like bundle exec cucumber --name <scenario-number> It works
How to solve this error? Is this some plugin problem?
This is an issue where in your hooks (Or somewhere similar), you are doing a log line or calling line for scenario.feature.name or something similar.
This is a known issue upgrading from v3 -> v4
I was able to "fix" this issue by commenting the following line inside \teamcity\cucumber\cucumber_4_formatter.rb step_node_name method:
"#{#ast_lookup.step_source(test_step).step.keyword}#{test_step.text}"
Note that you won't be able to see the names of the steps on RubyMine execution.

undefined method `keys' for #<Cucumber::Messages::GherkinDocument::Feature:0x0801ea30> (NoMethodErr or)

Facing problem when try to run 'parallel_tests' in Cucumber + Ruby framework.
Command which I use:
bundle exec parallel_cucumber -n 3 features/someFeature --group-by scenarios
Error I get:
undefined method `keys' for #<Cucumber::Messages::GherkinDocument::Feature:0x07fba0b0> (NoMethodErr
or)
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-3.2.1/lib/cucumber/core/gherkin/ast_builder.rb:81:
in `rubify_keys'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-3.2.1/lib/cucumber/core/gherkin/ast_builder.rb:32:
in `initialize'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-3.2.1/lib/cucumber/core/gherkin/ast_builder.rb:125
:in `initialize'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-3.2.1/lib/cucumber/core/gherkin/ast_builder.rb:106
:in `new'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-3.2.1/lib/cucumber/core/gherkin/ast_builder.rb:106
:in `feature'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-3.2.1/lib/cucumber/core/gherkin/ast_builder.rb:17:
in `feature'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-3.2.1/lib/cucumber/core/gherkin/parser.rb:32:in `d
ocument'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-3.2.1/lib/cucumber/core.rb:30:in `block in parse'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-3.2.1/lib/cucumber/core.rb:29:in `each'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-3.2.1/lib/cucumber/core.rb:29:in `parse'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-3.2.1/lib/cucumber/core.rb:21:in `compile'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-3.1.2/lib/cucumber/runtime.rb:75:in `run!'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-3.1.2/lib/cucumber/cli/main.rb:34:in `execute!'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-3.1.2/bin/cucumber:9:in `<top (required)>'
C:/Ruby26/bin/cucumber:23:in `load'
C:/Ruby26/bin/cucumber:23:in `<main>'
undefined method `keys' for #<Cucumber::Messages::GherkinDocument::Feature:0x07f959d8> (NoMethodErr
or)
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-3.2.1/lib/cucumber/core/gherkin/ast_builder.rb:81:
in `rubify_keys'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-3.2.1/lib/cucumber/core/gherkin/ast_builder.rb:32:
in `initialize'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-3.2.1/lib/cucumber/core/gherkin/ast_builder.rb:125
:in `initialize'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-3.2.1/lib/cucumber/core/gherkin/ast_builder.rb:106
:in `new'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-3.2.1/lib/cucumber/core/gherkin/ast_builder.rb:106
:in `feature'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-3.2.1/lib/cucumber/core/gherkin/ast_builder.rb:17:
in `feature'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-3.2.1/lib/cucumber/core/gherkin/parser.rb:32:in `d
ocument'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-3.2.1/lib/cucumber/core.rb:30:in `block in parse'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-3.2.1/lib/cucumber/core.rb:29:in `each'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-3.2.1/lib/cucumber/core.rb:29:in `parse'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-3.2.1/lib/cucumber/core.rb:21:in `compile'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-3.1.2/lib/cucumber/runtime.rb:75:in `run!'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-3.1.2/lib/cucumber/cli/main.rb:34:in `execute!'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-3.1.2/bin/cucumber:9:in `<top (required)>'
C:/Ruby26/bin/cucumber:23:in `load'
C:/Ruby26/bin/cucumber:23:in `<main>'
undefined method `keys' for #<Cucumber::Messages::GherkinDocument::Feature:0x07f5db90> (NoMethodErr
or)
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-3.2.1/lib/cucumber/core/gherkin/ast_builder.rb:81:
in `rubify_keys'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-3.2.1/lib/cucumber/core/gherkin/ast_builder.rb:32:
in `initialize'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-3.2.1/lib/cucumber/core/gherkin/ast_builder.rb:125
:in `initialize'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-3.2.1/lib/cucumber/core/gherkin/ast_builder.rb:106
:in `new'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-3.2.1/lib/cucumber/core/gherkin/ast_builder.rb:106
:in `feature'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-3.2.1/lib/cucumber/core/gherkin/ast_builder.rb:17:
in `feature'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-3.2.1/lib/cucumber/core/gherkin/parser.rb:32:in `d
ocument'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-3.2.1/lib/cucumber/core.rb:30:in `block in parse'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-3.2.1/lib/cucumber/core.rb:29:in `each'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-3.2.1/lib/cucumber/core.rb:29:in `parse'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-3.2.1/lib/cucumber/core.rb:21:in `compile'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-3.1.2/lib/cucumber/runtime.rb:75:in `run!'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-3.1.2/lib/cucumber/cli/main.rb:34:in `execute!'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-3.1.2/bin/cucumber:9:in `<top (required)>'
C:/Ruby26/bin/cucumber:23:in `load'
C:/Ruby26/bin/cucumber:23:in `<main>'
Thing I want is to run different scenarios in different processes to minimize tests running time.
Cucumber version 3.2.1
Ruby version 2.6.0
parallel_tests 3.0
cuke_modeler 3.1.0
cucumber-gherkin 14.0.1
Update
After updating cucumber to 4.1 I get another error
Empty stack (RuntimeError)
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-tag-expressions-2.0.4/lib/cucumber/tag_expressions/parser.rb:132:in `pop'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-tag-expressions-2.0.4/lib/cucumber/tag_expressions/parser.rb:77:in `push_
expression'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-tag-expressions-2.0.4/lib/cucumber/tag_expressions/parser.rb:24:in `parse
'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/test/case.rb:85:in `match_single_tag_express
ion?'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/test/case.rb:47:in `block in match_tags?'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/test/case.rb:47:in `all?'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/test/case.rb:47:in `match_tags?'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/test/filters/tag_filter.rb:11:in `test_case'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/test/case.rb:28:in `describe_to'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/compiler.rb:27:in `pickle'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/gherkin/parser.rb:27:in `block in document'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-gherkin-14.0.1/lib/gherkin/stream/parser_message_stream.rb:38:in `yield'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-gherkin-14.0.1/lib/gherkin/stream/parser_message_stream.rb:38:in `block (
3 levels) in messages'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-gherkin-14.0.1/lib/gherkin/stream/parser_message_stream.rb:37:in `each'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-gherkin-14.0.1/lib/gherkin/stream/parser_message_stream.rb:37:in `block (
2 levels) in messages'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-gherkin-14.0.1/lib/gherkin/stream/parser_message_stream.rb:79:in `yield'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-gherkin-14.0.1/lib/gherkin/stream/parser_message_stream.rb:79:in `block (
2 levels) in sources'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-gherkin-14.0.1/lib/gherkin/stream/parser_message_stream.rb:78:in `each'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-gherkin-14.0.1/lib/gherkin/stream/parser_message_stream.rb:78:in `block i
n sources'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-gherkin-14.0.1/lib/gherkin/stream/parser_message_stream.rb:25:in `each'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-gherkin-14.0.1/lib/gherkin/stream/parser_message_stream.rb:25:in `each'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-gherkin-14.0.1/lib/gherkin/stream/parser_message_stream.rb:25:in `block i
n messages'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/gherkin/parser.rb:21:in `each'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/gherkin/parser.rb:21:in `each'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/gherkin/parser.rb:21:in `document'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core.rb:33:in `block in parse'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core.rb:32:in `each'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core.rb:32:in `parse'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core.rb:24:in `compile'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-4.1.0/lib/cucumber/runtime.rb:79:in `run!'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-4.1.0/lib/cucumber/cli/main.rb:29:in `execute!'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-4.1.0/bin/cucumber:9:in `<top (required)>'
C:/Ruby26/bin/cucumber:23:in `load'
C:/Ruby26/bin/cucumber:23:in `<main>'
Empty stack (RuntimeError)
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-tag-expressions-2.0.4/lib/cucumber/tag_expressions/parser.rb:132:in `pop'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-tag-expressions-2.0.4/lib/cucumber/tag_expressions/parser.rb:77:in `push_
expression'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-tag-expressions-2.0.4/lib/cucumber/tag_expressions/parser.rb:24:in `parse
'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/test/case.rb:85:in `match_single_tag_express
ion?'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/test/case.rb:47:in `block in match_tags?'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/test/case.rb:47:in `all?'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/test/case.rb:47:in `match_tags?'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/test/filters/tag_filter.rb:11:in `test_case'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/test/case.rb:28:in `describe_to'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/compiler.rb:27:in `pickle'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/gherkin/parser.rb:27:in `block in document'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-gherkin-14.0.1/lib/gherkin/stream/parser_message_stream.rb:38:in `yield'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-gherkin-14.0.1/lib/gherkin/stream/parser_message_stream.rb:38:in `block (
3 levels) in messages'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-gherkin-14.0.1/lib/gherkin/stream/parser_message_stream.rb:37:in `each'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-gherkin-14.0.1/lib/gherkin/stream/parser_message_stream.rb:37:in `block (
2 levels) in messages'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-gherkin-14.0.1/lib/gherkin/stream/parser_message_stream.rb:79:in `yield'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-gherkin-14.0.1/lib/gherkin/stream/parser_message_stream.rb:79:in `block (
2 levels) in sources'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-gherkin-14.0.1/lib/gherkin/stream/parser_message_stream.rb:78:in `each'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-gherkin-14.0.1/lib/gherkin/stream/parser_message_stream.rb:78:in `block i
n sources'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-gherkin-14.0.1/lib/gherkin/stream/parser_message_stream.rb:25:in `each'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-gherkin-14.0.1/lib/gherkin/stream/parser_message_stream.rb:25:in `each'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-gherkin-14.0.1/lib/gherkin/stream/parser_message_stream.rb:25:in `block i
n messages'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/gherkin/parser.rb:21:in `each'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/gherkin/parser.rb:21:in `each'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/gherkin/parser.rb:21:in `document'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core.rb:33:in `block in parse'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core.rb:32:in `each'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core.rb:32:in `parse'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core.rb:24:in `compile'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-4.1.0/lib/cucumber/runtime.rb:79:in `run!'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-4.1.0/lib/cucumber/cli/main.rb:29:in `execute!'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-4.1.0/bin/cucumber:9:in `<top (required)>'
C:/Ruby26/bin/cucumber:23:in `load'
C:/Ruby26/bin/cucumber:23:in `<main>'
Empty stack (RuntimeError)
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-tag-expressions-2.0.4/lib/cucumber/tag_expressions/parser.rb:132:in `pop'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-tag-expressions-2.0.4/lib/cucumber/tag_expressions/parser.rb:77:in `push_
expression'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-tag-expressions-2.0.4/lib/cucumber/tag_expressions/parser.rb:24:in `parse
'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/test/case.rb:85:in `match_single_tag_express
ion?'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/test/case.rb:47:in `block in match_tags?'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/test/case.rb:47:in `all?'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/test/case.rb:47:in `match_tags?'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/test/filters/tag_filter.rb:11:in `test_case'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/test/case.rb:28:in `describe_to'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/compiler.rb:27:in `pickle'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/gherkin/parser.rb:27:in `block in document'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-gherkin-14.0.1/lib/gherkin/stream/parser_message_stream.rb:38:in `yield'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-gherkin-14.0.1/lib/gherkin/stream/parser_message_stream.rb:38:in `block (
3 levels) in messages'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-gherkin-14.0.1/lib/gherkin/stream/parser_message_stream.rb:37:in `each'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-gherkin-14.0.1/lib/gherkin/stream/parser_message_stream.rb:37:in `block (
2 levels) in messages'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-gherkin-14.0.1/lib/gherkin/stream/parser_message_stream.rb:79:in `yield'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-gherkin-14.0.1/lib/gherkin/stream/parser_message_stream.rb:79:in `block (
2 levels) in sources'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-gherkin-14.0.1/lib/gherkin/stream/parser_message_stream.rb:78:in `each'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-gherkin-14.0.1/lib/gherkin/stream/parser_message_stream.rb:78:in `block i
n sources'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-gherkin-14.0.1/lib/gherkin/stream/parser_message_stream.rb:25:in `each'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-gherkin-14.0.1/lib/gherkin/stream/parser_message_stream.rb:25:in `each'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-gherkin-14.0.1/lib/gherkin/stream/parser_message_stream.rb:25:in `block i
n messages'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/gherkin/parser.rb:21:in `each'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/gherkin/parser.rb:21:in `each'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core/gherkin/parser.rb:21:in `document'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core.rb:33:in `block in parse'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core.rb:32:in `each'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core.rb:32:in `parse'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-core-7.1.0/lib/cucumber/core.rb:24:in `compile'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-4.1.0/lib/cucumber/runtime.rb:79:in `run!'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-4.1.0/lib/cucumber/cli/main.rb:29:in `execute!'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-4.1.0/bin/cucumber:9:in `<top (required)>'
C:/Ruby26/bin/cucumber:23:in `load'
C:/Ruby26/bin/cucumber:23:in `<main>'
I've solved the problem. Seems that something went wrong with dependencies and versions.
Combination of:
cucumber (3.1.2)
parallel_tests (2.32.0)
NO cuke_modeler AT ALL
works fine for me!
Your original combination of dependencies was transitively including both the gherkin gem and the cucumber-gherkin gem, which cannot co-exist (see https://github.com/cucumber/cucumber/issues/1063). Upgrading your cucumber from 3.x to 4.x as you did should have solved the problem but, presumably, you still had gherkin in your dependency tree somewhere (without seeing your Gemfile.lock, it's difficult to tell).
Regarding your final dependency set, I can say with great confidence (I wrote the dang thing after all) that the presence of the cuke_modeler gem would not, on its own, cause a problem and that it has been both used and tested with both cucumber and parallel_tests. Additionally, cuke_modeler can work with either gherkin or cucumber-gherkin. You just have to be sure to use cuke_modeler 2.x if you are using gherkin and to use cuke_modeler 3.x if you are using cucumber-gherkin. If adding cuke_modeler back into your final set of dependencies causes a problem, I would again start by looking at your transitive dependencies and see if the gherkin/cucumber-gherkin conflict is present.

Vagrant throws error when executing 'vagrant up'

Earlier today my Homestead was working fine and using 'vagrant up' didn't cause any problems. I tried starting it a few minutes ago and I got this error:
C:/Users/Robin/embedded/mingw64/lib/ruby/2.4.0/json/common.rb:156:in `parse': 751: unexpected token at '' (JSON::ParserError)
from C:/Users/Robin/embedded/mingw64/lib/ruby/2.4.0/json/common.rb:156:in `parse'
from C:/Users/Robin/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/vagrantfile.rb:181:in `machine_config'
from C:/Users/Robin/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/vagrantfile.rb:45:in `machine'
from C:/Users/Robin/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/environment.rb:719:in `machine'
from C:/Users/Robin/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/plugin/v2/command.rb:180:in `block in with_target_vms'
from C:/Users/Robin/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/plugin/v2/command.rb:213:in `block in with_target_vms'
from C:/Users/Robin/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/plugin/v2/command.rb:212:in `map'
from C:/Users/Robin/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/plugin/v2/command.rb:212:in `with_target_vms'
from C:/Users/Robin/embedded/gems/2.1.4/gems/vagrant-2.1.4/plugins/commands/destroy/command.rb:45:in `block in execute'
from C:/Users/Robin/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/environment.rb:280:in `block (2 levels) in batch'
from C:/Users/Robin/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/environment.rb:278:in `tap'
from C:/Users/Robin/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/environment.rb:278:in `block in batch'
from C:/Users/Robin/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/environment.rb:277:in `synchronize'
from C:/Users/Robin/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/environment.rb:277:in `batch'
from C:/Users/Robin/embedded/gems/2.1.4/gems/vagrant-2.1.4/plugins/commands/destroy/command.rb:44:in `execute'
from C:/Users/Robin/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/cli.rb:54:in `execute'
from C:/Users/Robin/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/environment.rb:294:in `cli'
from C:/Users/Robin/embedded/gems/2.1.4/gems/vagrant-2.1.4/bin/vagrant:164:in `<main>'
I've looked the error up but all I can find is people telling there is a extra space or enter in the 'Homestead.yaml' file which is not the case.

Unable to obtain stable firefox connection in 60 seconds (127.0.0.1:7055) Selenium 3.6.0

I am getting an Issue mentioned in subject, which is an intermittent one. However its making our CI CD pipelines unstable so thought to get some help from geeks available on this great platform.
Since this is an intermittent issue, I don't wish to upgrade my browser version, mentioning it as this comes mostly as the suggestion.
Here are details which may help you to identify the cause which I was not able to
What libraries I use -
gem 'selenium-webdriver', '3.6.0'
gem 'capybara', '2.18.0'
gem 'site_prism', '2.11'
What browser I use -
Firefox - 52.8.0
Which OS I use -
RHEL7
How do I configure my driver -
firefox_profile = Selenium::WebDriver::Firefox::Profile.new
firefox_profile['browser.download.dir'] = '/tmp'
firefox_profile['browser.download.folderList'] = 2
# content-type of file that will be downloaded
firefox_profile['browser.helperApps.neverAsk.saveToDisk'] = 'application/json;application/octet-stream;application/csv;text/csv;application/zip;application/x-zip;application/x-zip-compressed;application/x-rpm;application/pdf;application/xml;application/x-x509-ca-cert'
firefox_profile['timeout'] = 480000
firefox_profile['pdfjs.disabled'] = true
firefox_profile['resynchronization_timeout'] = 90
firefox_profile['resynchronize '] = true
firefox_profile['dom.max_chrome_script_run_time'] = 0
firefox_profile['dom.max_script_run_time'] = 0
Capybara.default_selector = :css
Capybara.ignore_hidden_elements = true
reset_wait_time
Capybara.run_server = false
client = Selenium::WebDriver::Remote::Http::Default.new
client.timeout = 240
if ENV['LOCAL'] == 'true'
STDOUT.puts 'starting local run'
Capybara.default_driver = :firefox
Capybara.register_driver :firefox do |app|
begin
STDOUT.puts 'Attempting to create browser instance'
Capybara::Selenium::Driver.new(app, browser: :firefox, profile: firefox_profile, marionette: false, http_client: client)
rescue => e
STDOUT.puts 'Error: Failed Attempting to create browser instance'
STDOUT.puts e
STDOUT.puts e.backtrace
end
end
begin
page.driver.browser.manage.window.resize_to(1200, 1200)
rescue => e
STDOUT.puts 'Error: Failed resize browser'
STDOUT.puts e
STDOUT.puts e.backtrace
end
end
Error Stack Trace -
starting local run
Attempting to create browser instance
Error: Failed resize browser
unable to obtain stable firefox connection in 60 seconds (127.0.0.1:7055)
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/selenium-webdriver-3.6.0/lib/selenium/webdriver/firefox/launcher.rb:89:in `connect_until_stable'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/selenium-webdriver-3.6.0/lib/selenium/webdriver/firefox/launcher.rb:53:in `block in launch'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/selenium-webdriver-3.6.0/lib/selenium/webdriver/common/socket_lock.rb:41:in `locked'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/selenium-webdriver-3.6.0/lib/selenium/webdriver/firefox/launcher.rb:49:in `launch'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/selenium-webdriver-3.6.0/lib/selenium/webdriver/firefox/legacy/driver.rb:47:in `initialize'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/selenium-webdriver-3.6.0/lib/selenium/webdriver/firefox/driver.rb:35:in `new'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/selenium-webdriver-3.6.0/lib/selenium/webdriver/firefox/driver.rb:35:in `new'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/selenium-webdriver-3.6.0/lib/selenium/webdriver/common/driver.rb:54:in `for'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/selenium-webdriver-3.6.0/lib/selenium/webdriver.rb:86:in `for'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/capybara-2.18.0/lib/capybara/selenium/driver.rb:23:in `browser'
/home/rubyuser/web-automation/cucumber/support/env.rb:63:in `block in <top (required)>'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-3.1.2/lib/cucumber/glue/invoke_in_world.rb:39:in `instance_exec'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-3.1.2/lib/cucumber/glue/invoke_in_world.rb:39:in `block in cucumber_instance_exec_in'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-3.1.2/lib/cucumber/glue/invoke_in_world.rb:54:in `cucumber_run_with_backtrace_filtering'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-3.1.2/lib/cucumber/glue/invoke_in_world.rb:27:in `cucumber_instance_exec_in'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-3.1.2/lib/cucumber/glue/hook.rb:21:in `invoke'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-3.1.2/lib/cucumber/runtime/before_hooks.rb:23:in `block (2 levels) in before_hooks'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-core-3.2.1/lib/cucumber/core/test/action.rb:24:in `execute'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-core-3.2.1/lib/cucumber/core/test/step.rb:32:in `execute'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-core-3.2.1/lib/cucumber/core/test/runner.rb:104:in `execute'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-core-3.2.1/lib/cucumber/core/test/runner.rb:51:in `execute'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-core-3.2.1/lib/cucumber/core/test/runner.rb:27:in `test_step'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-core-3.2.1/lib/cucumber/core/test/step.rb:17:in `describe_to'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-core-3.2.1/lib/cucumber/core/test/case.rb:28:in `block (3 levels) in describe_to'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-core-3.2.1/lib/cucumber/core/test/case.rb:27:in `each'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-core-3.2.1/lib/cucumber/core/test/case.rb:27:in `block (2 levels) in describe_to'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-3.1.2/lib/cucumber/filters/prepare_world.rb:22:in `block in test_case'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-core-3.2.1/lib/cucumber/core/test/around_hook.rb:17:in `execute'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-core-3.2.1/lib/cucumber/core/test/runner.rb:104:in `execute'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-core-3.2.1/lib/cucumber/core/test/runner.rb:51:in `execute'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-core-3.2.1/lib/cucumber/core/test/runner.rb:34:in `around_hook'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-core-3.2.1/lib/cucumber/core/test/around_hook.rb:12:in `describe_to'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-core-3.2.1/lib/cucumber/core/test/case.rb:120:in `block (2 levels) in compose_around_hooks'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-core-3.2.1/lib/cucumber/core/test/case.rb:121:in `compose_around_hooks'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-core-3.2.1/lib/cucumber/core/test/case.rb:26:in `block in describe_to'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-core-3.2.1/lib/cucumber/core/test/runner.rb:19:in `test_case'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-core-3.2.1/lib/cucumber/core/test/case.rb:25:in `describe_to'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-3.1.2/lib/cucumber/filters/prepare_world.rb:11:in `test_case'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-core-3.2.1/lib/cucumber/core/test/case.rb:25:in `describe_to'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-core-3.2.1/lib/cucumber/core/filter.rb:57:in `test_case'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-3.1.2/lib/cucumber/filters/retry.rb:18:in `test_case'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-core-3.2.1/lib/cucumber/core/test/case.rb:25:in `describe_to'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-3.1.2/lib/cucumber/filters/quit.rb:12:in `test_case'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-core-3.2.1/lib/cucumber/core/test/case.rb:25:in `describe_to'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-3.1.2/lib/cucumber/filters/broadcast_test_run_started_event.rb:21:in `block in done'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-3.1.2/lib/cucumber/filters/broadcast_test_run_started_event.rb:20:in `map'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-3.1.2/lib/cucumber/filters/broadcast_test_run_started_event.rb:20:in `done'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-core-3.2.1/lib/cucumber/core/filter.rb:62:in `done'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-core-3.2.1/lib/cucumber/core/filter.rb:62:in `done'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-core-3.2.1/lib/cucumber/core/filter.rb:62:in `done'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-core-3.2.1/lib/cucumber/core/filter.rb:62:in `done'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-core-3.2.1/lib/cucumber/core/filter.rb:62:in `done'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-core-3.2.1/lib/cucumber/core/test/filters/locations_filter.rb:20:in `done'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-core-3.2.1/lib/cucumber/core/filter.rb:62:in `done'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-core-3.2.1/lib/cucumber/core/test/filters/tag_filter.rb:18:in `done'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-core-3.2.1/lib/cucumber/core/compiler.rb:24:in `done'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-core-3.2.1/lib/cucumber/core/gherkin/parser.rb:39:in `done'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-core-3.2.1/lib/cucumber/core.rb:32:in `parse'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-core-3.2.1/lib/cucumber/core.rb:21:in `compile'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-3.1.2/lib/cucumber/runtime.rb:75:in `run!'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-3.1.2/lib/cucumber/cli/main.rb:34:in `execute!'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cucumber-3.1.2/lib/cucumber/cli/main.rb:13:in `execute'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cukeforker-2.1.1/lib/cukeforker/worker.rb:96:in `execute_cucumber'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cukeforker-2.1.1/lib/cukeforker/worker.rb:41:in `block in start'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cukeforker-2.1.1/lib/cukeforker/worker.rb:35:in `fork'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cukeforker-2.1.1/lib/cukeforker/worker.rb:35:in `start'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cukeforker-2.1.1/lib/cukeforker/worker_queue.rb:116:in `start'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cukeforker-2.1.1/lib/cukeforker/worker_queue.rb:53:in `fill'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cukeforker-2.1.1/lib/cukeforker/worker_queue.rb:35:in `process'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cukeforker-2.1.1/lib/cukeforker/runner.rb:120:in `process'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cukeforker-2.1.1/lib/cukeforker/runner.rb:100:in `run'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/gems/cukeforker-2.1.1/lib/cukeforker/runner.rb:40:in `run'
/home/rubyuser/web-automation/cucumber/Rakefile:48:in `concurrent_test'
/home/rubyuser/web-automation/cucumber/Rakefile:16:in `block in <top (required)>'
/home/rubyuser/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/task.rb:251:in `block in execute'
/home/rubyuser/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/task.rb:251:in `each'
/home/rubyuser/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/task.rb:251:in `execute'
/home/rubyuser/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/task.rb:195:in `block in invoke_with_call_chain'
/home/rubyuser/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/monitor.rb:226:in `mon_synchronize'
/home/rubyuser/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/task.rb:188:in `invoke_with_call_chain'
/home/rubyuser/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/task.rb:181:in `invoke'
/home/rubyuser/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/application.rb:160:in `invoke_task'
/home/rubyuser/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/application.rb:116:in `block (2 levels) in top_level'
/home/rubyuser/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/application.rb:116:in `each'
/home/rubyuser/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/application.rb:116:in `block in top_level'
/home/rubyuser/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/application.rb:125:in `run_with_threads'
/home/rubyuser/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/application.rb:110:in `top_level'
/home/rubyuser/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/application.rb:83:in `block in run'
/home/rubyuser/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/application.rb:186:in `standard_exception_handling'
/home/rubyuser/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/application.rb:80:in `run'
/home/rubyuser/.rvm/gems/ruby-2.5.1#global/gems/rake-12.3.0/exe/rake:27:in `<top (required)>'
/home/rubyuser/.rvm/gems/ruby-2.5.1#global/bin/rake:23:in `load'
/home/rubyuser/.rvm/gems/ruby-2.5.1#global/bin/rake:23:in `<main>'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/bin/ruby_executable_hooks:24:in `eval'
/home/rubyuser/.rvm/gems/ruby-2.5.1#web-automation/bin/ruby_executable_hooks:24:in `<main>'
I know you said you don’t want to be told to update your browser version, but the solution really is going to be putting in the time to update all of your testing gems. The version of every gem you’ve mentioned is obsolete and there have been tons of stability and timing improvements to all the mentioned gems since.
Technically, you’re actually running a version of Firefox that was never really supported by Selenium using the native Firefox driver since Selenium had moved on to focusing on WebDriver (geckodriver) by then. The real solution really is to update.

cucumber ruby reports error "can't modify frozen String (RunTimeError)"

I created automated tests for a web application using Ruby Cucumber (v3.1.0) and Selenium WebDriver.
Some failed tests cause also Cucumber to crash with the following error: "can't modify frozen String (RunTimeError)". At that point test execution is stopped and no report is generated.
Could anybody explain what is the root cause for this? I wonder if this is Cucumber or WebDriver issue, or simply I do not use them properly. Anybody seen this? Thanks in advance.
Here is the Cucumber output:
Scenario: Verify Pool link verification # features/home/pool.feature:19
When I click on the Pool link on Backoffice Home Page # step_definitions/pool_steps.rb:9
timed out after 30 seconds, waiting for #<Watir::Anchor: located: false; {:href=>"/backoffice/pool/info", :index=>, :tag_name=>"a"}> to be located (Watir::Exception::UnknownObjectException)
(eval):1:in `process_watir_call'
./step_definitions/pool_steps.rb:11:in `block (2 levels) in <top (required)>'
./step_definitions/pool_steps.rb:10:in `"I click on the Pool link on Backoffice Home Page"'
features/home/pool.feature:20:in `When I click on the Pool link on Backoffice Home Page'
can't modify frozen String (RuntimeError)
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-3.1.0/lib/cucumber/formatter/html.rb:571:in `snippet'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-3.1.0/lib/cucumber/formatter/html.rb:293:in `extra_failure_content'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-3.1.0/lib/cucumber/formatter/html.rb:435:in `build_exception_detail'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-3.1.0/lib/cucumber/formatter/html.rb:288:in `exception'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-3.1.0/lib/cucumber/formatter/ignore_missing_messages.rb:11:in `method_mising'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-3.1.0/lib/cucumber/formatter/legacy_api/ast.rb:181:in `print_exception'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-3.1.0/lib/cucumber/formatter/legacy_api/ast.rb:116:in `accept'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-3.1.0/lib/cucumber/formatter/legacy_api/adapter.rb:580:in `step_invocatin'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-3.1.0/lib/cucumber/formatter/legacy_api/adapter.rb:543:in `step_invocatin'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-3.1.0/lib/cucumber/formatter/legacy_api/adapter.rb:387:in `print_step'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-3.1.0/lib/cucumber/formatter/legacy_api/adapter.rb:251:in `after_test_stp'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-3.1.0/lib/cucumber/formatter/legacy_api/adapter.rb:107:in `after_test_stp'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-3.1.0/lib/cucumber/formatter/legacy_api/adapter.rb:31:in `block in initilize'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-core-3.1.0/lib/cucumber/core/event_bus.rb:34:in `block in broadcast'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-core-3.1.0/lib/cucumber/core/event_bus.rb:34:in `each'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-core-3.1.0/lib/cucumber/core/event_bus.rb:34:in `broadcast'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-core-3.1.0/lib/cucumber/core/event_bus.rb:40:in `method_missing'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-core-3.1.0/lib/cucumber/core/test/runner.rb:35:in `around_hook'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-core-3.1.0/lib/cucumber/core/test/around_hook.rb:12:in `describe_to'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-core-3.1.0/lib/cucumber/core/test/case.rb:120:in `block (2 levels) in copose_around_hooks'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-core-3.1.0/lib/cucumber/core/test/case.rb:121:in `compose_around_hooks'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-core-3.1.0/lib/cucumber/core/test/case.rb:26:in `block in describe_to'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-core-3.1.0/lib/cucumber/core/test/runner.rb:19:in `test_case'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-core-3.1.0/lib/cucumber/core/test/case.rb:25:in `describe_to'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-3.1.0/lib/cucumber/filters/prepare_world.rb:12:in `test_case'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-core-3.1.0/lib/cucumber/core/test/case.rb:25:in `describe_to'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-core-3.1.0/lib/cucumber/core/filter.rb:57:in `test_case'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-3.1.0/lib/cucumber/filters/retry.rb:18:in `test_case'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-core-3.1.0/lib/cucumber/core/test/case.rb:25:in `describe_to'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-3.1.0/lib/cucumber/filters/quit.rb:12:in `test_case'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-core-3.1.0/lib/cucumber/core/test/case.rb:25:in `describe_to'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-3.1.0/lib/cucumber/filters/broadcast_test_run_started_event.rb:20:in `blck in done'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-3.1.0/lib/cucumber/filters/broadcast_test_run_started_event.rb:19:in `ma'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-3.1.0/lib/cucumber/filters/broadcast_test_run_started_event.rb:19:in `doe'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-core-3.1.0/lib/cucumber/core/filter.rb:62:in `done'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-core-3.1.0/lib/cucumber/core/filter.rb:62:in `done'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-core-3.1.0/lib/cucumber/core/filter.rb:62:in `done'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-core-3.1.0/lib/cucumber/core/filter.rb:62:in `done'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-core-3.1.0/lib/cucumber/core/filter.rb:62:in `done'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-core-3.1.0/lib/cucumber/core/test/filters/locations_filter.rb:20:in `don'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-core-3.1.0/lib/cucumber/core/filter.rb:62:in `done'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-core-3.1.0/lib/cucumber/core/test/filters/tag_filter.rb:18:in `done'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-core-3.1.0/lib/cucumber/core/compiler.rb:24:in `done'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-core-3.1.0/lib/cucumber/core/gherkin/parser.rb:37:in `done'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-core-3.1.0/lib/cucumber/core.rb:32:in `parse'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-core-3.1.0/lib/cucumber/core.rb:21:in `compile'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-3.1.0/lib/cucumber/runtime.rb:74:in `run!'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-3.1.0/lib/cucumber/cli/main.rb:33:in `execute!'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/cucumber-3.1.0/bin/cucumber:9:in `<top (required)>'
C:/Ruby24-x64/bin/cucumber:23:in `load'
C:/Ruby24-x64/bin/cucumber:23:in `<main>'
This is a cucumber problem. If you want to track it, it's logged here:
https://github.com/cucumber/cucumber-ruby/issues/1240

Resources