-
-
Notifications
You must be signed in to change notification settings - Fork 87
Doesn't play nice with wait()
in Integration tests
#48
Comments
Scratch that, works great! My bad |
Whew! OK, great to hear. I was worried for a minute... |
Haha yeah was just about to put on the deepdive helmet |
Ahhh dang - I'm sorry to blow this repo up - I doubled tripped - I am actually still experiencing this problem. I just pushed up a repo (it's a simple email form for Mailchimp) to reproduce this issue. Here is the line in the testing code that isn't waiting for for Here's the line where the Ajax Request is actually sent. Hopefully will get a chance to look into this today |
@hhff It should work. Can we pair on this to try to figure this out? I'd like to find out why it's not working. |
@taras yeah totally! will ping u on ember slack |
Alex and I paired on this issue and it turns out that you're using JSONP which doesn't trigger |
Hey @hhff I updated |
@taras ahhhhhhh bingo @alexlafroscia a PR would be amazing!! awesome work guys 👍 |
Just updated to
v2.0.0-beta.1
in an addon project to test whether #28 was fixed - unfortunately the problem persists.As mentioned there, Testing code (component integration test) like this...
...won't actually wait for the Ember Ajax request to return.
Will do a bit of investigating now - but just wanted to reopen this. Thank you~ ❤️
The text was updated successfully, but these errors were encountered: