'How to escape brackets in Cucumber JS Scenario Outline?
Using Cucumber-JS and I am trying to validate a system response in scenario outline which has brackets (). Wondering what is the right way to escape below statement, as I have tried few options but doesn't seem to work around the "(domestic or overseas)" bit
Then I make POST requests to the until the JSON response body has:
| key | value |
| errors[0].message | A maximum of 6 cities (domestic or overseas) are permitted |
Options tried:
| A maximum of 6 cities \(domestic or overseas\) are permitted |
| A maximum of 6 cities \(\domestic or overseas) are permitted |
| A maximum of 6 cities \(domestic\ or overseas\) are permitted |
| A maximum of 6 cities \(domestic or overseas\)\ are permitted |
Any ideas as how this might be handled?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
