Reputation: 29
Example: Then I get the message "Registration successful
Welcome Administrator"
Upvotes: 0
Views: 1402
Reputation: 12029
You can use doc strings in Gherkin:
Then the message reads
"""
Hello
World
"""
In your step definition you can use the String
parameter type.
Upvotes: 1