-
-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test timed out. #327
Comments
Are you mocking the response? If not, the promise created in your route to fetch data will not resolve, the test can't move on, and it will time out |
So do you have any idea on how to modify the timeout - my ember-qunit also runns into this when using the It would be useful to disable or set the timeout to a very high value via the commandline to adjust. One (in my view) valid use-case of ember-quit is also to help as a interaction script when doing tdd - I'd like to test something which is several steps away (click button, fill form, …) from my route entry, which are steps I do not want to always redo manually after a file change. |
@chris-aeviator I usually run a specific test in |
@devdemi check the redefine of so, to resolve this issue we can temporarily change this value into default:
|
@BobrImperator it seems like you using the updated version of ember-qunit-cli that why it works for you in dev mode: @devdemi so, before upgrade we can you the same approach here:
|
ah 😄 sorry, the main goal of this issue was completely different 😃 I was surfed and looked at the last comments only, so decided that the issue is that the test crashes with so this response is totally correct:
Thanks to @nlfurniss
check the mock of get requests in your mirage server config, you probably have so, just add it, btw, it probably should be |
Hey, can u also tell where we can mock the response like in which directory or file? |
Hi,
I've started with acceptance tests in Ember.js and wrote simple test
And when I start test I get error:
Test took longer than 60000ms; test timed out.@ 60099 ms
This route requests data from server. But when I try to create test of visiting route without data requests then test runs well.
I use Ember 3.1 and ember-qunit 3.4.0
The text was updated successfully, but these errors were encountered: