Hi!
I wanted to write test using regex.
When I looked in doc I found:
there is element ":elementName" with regex ":matcher"
https://thesoftwarehouse.github.io/Kakunin/docs/steps-elements#there-is-no-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.
Hi!
I wanted to write test using regex.
When I looked in doc I found:
https://thesoftwarehouse.github.io/Kakunin/docs/steps-elements#there-is-no-element-elementname-with-regex-matcher
Unfortunately this scenario doesn't work:
Probably this is the correct version:
Please update documentation/code :)
Version:
3.0.