-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
Hi!
I wanted to write test using regex.
When I looked in doc I found:
there is element ":elementName" with regex ":matcher"
Unfortunately this scenario doesn't work:
? Then there is element "body" with regex "<matcher>"
Undefined. Implement with the following snippet:
Then('there is element {string} with regex {string}', function (string, string2) {
// Write code here that turns the phrase above into concrete actions
return 'pending';
});
Probably this is the correct version:
there is element "([^"]*)" with "([^"]*)" regex
Please update documentation/code :)
Version: 3.0.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels