Created
July 11, 2013 16:34
-
-
Save bshepherdson/5977020 to your computer and use it in GitHub Desktop.
Failing ngScenario test
This file contains hidden or 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
| describe 'invites', -> | |
| it 'should allow sending an invite', -> | |
| browser().navigateTo('/app/index-e2e.html#/profile') | |
| input('send.invite_email', 'invite box').enter('invited@email.com') | |
| element('#invitebutton', 'send invite button').click() | |
| expect(binding('message')).toEqual('Invite sent to invited@email.com') | |
| expect(element('#message', 'success message window').text()).toEqual('Invite sent to invited@email.com') | |
| expect(element('#invitebox', 'invite box').val()).toEqual('') | |
| # Fails sometimes with: | |
| # expect select binding 'message' toEqual "Invite sent to invited@email.com" | |
| # http://localhost:8080/base/test/e2e/invites.coffee-compiled.js:35:5 | |
| # expected "Invite sent to invited@email.com" but was "" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment