Skip to content

Instantly share code, notes, and snippets.

@piotrze
Last active August 29, 2015 14:05
Show Gist options
  • Save piotrze/d0d3e4a34a0767f91b41 to your computer and use it in GitHub Desktop.
Save piotrze/d0d3e4a34a0767f91b41 to your computer and use it in GitHub Desktop.
Emberjs integration test - focusOut [fail]
test 'Signup form', ->
click('input[name="businessName"]')
fillIn('input[name="businessName"]', "Some name")
click('input[name="contactName"]')
andThen ->
ok(find("div.businessName span.help-block.error").is(':visible'), "Should see error message on previous field")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment