Created
June 6, 2015 19:59
-
-
Save orlaqp/44655a94ec6e76728cf1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Then /^One error should be "([^"]*)"$/, (errorMessage, cb) -> | |
that = @ | |
errors = [] | |
@client | |
.elements '.ui .list > li', (err, res) -> | |
_.forEach res.value, (item) -> | |
that.client | |
.elementIdText item.ELEMENT, (err, res) -> | |
errors.push res.value |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment