-
-
Notifications
You must be signed in to change notification settings - Fork 161
Open
Labels
Description
π What did you see?
The step mentioned below is not escaping literal ()
characters
β What did you expect to see?
The step mentioned below should escape literal ()
characters
π¦ Which tool/library version are you using?
Then(/^it should (pass|fail) (?:with regexp?|matching):$/) do |pass_fail, expected|
last_command_started.stop
if pass_fail == 'pass'
expect(last_command_stopped).to be_successfully_executed
else
expect(last_command_stopped).not_to be_successfully_executed
end
expect(last_command_stopped).to have_output an_output_string_matching(expected)
end
π¬ How could we reproduce it?
If you run the following cucumber step using aruba, it fails when it should pass. The opening left bracket is tripping it up
And it should fail matching:
"""
Feature: Telegraphy
Scenario: Wired
Given we're all wired
Timed out calling wire server with message 'invoke' (Timeout::Error
"""
π Any additional context?
No response