question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hi, I’ve started with acceptance tests in Ember.js and wrote simple test

test('visit teacher', async function(assert) {
        await visit('/teacher/6');
        assert.ok(find('h1.name'), 'Ричард_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

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
nlfurnisscommented, May 2, 2018

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

0reactions
NetFreak26commented, Nov 11, 2021

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

Hey, can u also tell where we can mock the response like in which directory or file?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Test timed out. When does it happen? - Stack Overflow
I've been coding and testing it by JUnit on Eclipse, and some of the tests are failing with the error messege: timed out...
Read more >
What does 'Timed Out' mean? - BrowserStack
If the screenshot is not generated within limit, you will receive a 'Timed Out' error for that screenshot. Did this answer your question?...
Read more >
JUnit 4 Test Timeout - HowToDoInJava
Learn to write JUnit tests with timeout behavior. If a test does not complete execution in a given time limit then its execution...
Read more >
[Migrated] Test or Test Run timed out | App Center Help Center
Time out errors occur when individual tests, or a test run on a device exceeds execution time-limits in App Center. These limits are...
Read more >
Test target: Timed out waiting for simulator to boot
Error: Uncategorized: Test target Tests encountered an error (Timed out waiting 120 seconds for simulator to boot, current state is 1.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found