I have a cucumber scenario in which I have to pass the data, and the data contains special characters. And when I execute it fails at the assertion.
Below is my scenario:
Scenario Outline: ABTA data
Given a customer is on the "<respective>" page
When the customer scrolls down to the bottom of the page
Then the customer should be able to view the following text with ABTA logo
|We're part of XXX Group - one of the world's leading|
Example:
|Home Page|
The data which I am passing after the Then step "We're part of XXX Group - one of the world's leading" has 2 special characters and because of that my assertion fails.
Can anyone please let me know as of how can I ignore the special characters in the data