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.

Espresso Test failing in TopicPracticeFragmentTest

See original GitHub issue

testTopicPracticeFragment_loadFragment_selectSubtopics_clickStartButton_skillListTransferSuccessfully is failing

Screenshot 2021-07-06 at 1 08 25 AM

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
rt4914commented, Aug 23, 2021

@anandwana001 @BenHenning Can you please look into this?

0reactions
anandwana001commented, Aug 24, 2021

The actual error here is:

Caused by: androidx.test.espresso.IdlingResourceTimeoutException: Wait for [TestCoroutineDispatcherIdlingResource] to become idle timed out
at androidx.test.espresso.IdlingPolicy.handleTimeout(IdlingPolicy.java:61)

If you see in the emulator when running the test, it did all the steps, the QuestionPlayerActivity is also opening, but for idling resource, before the execution comes to intended and check the activity, the time out thing occurs and it throws THROW_IDLE_TIMEOUT.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Espresso test fails with NoActivityResumedException often
I have a strange error that occur many times when running espresso tests. After a couple of successful test runs the tests starts...
Read more >
Espresso Tests fail on Android 11 · Issue #751 - GitHub
I have integration tests running from API 21 to API 29. I've been trying to update our app to target API 30 but...
Read more >
This will FAIL your Espresso Tests - YouTube
Learn Android Development: https://codingwithmitch.com/A weird issue I encountered that will cause your Espresso tests to fail even if the ...
Read more >
Create UI tests with Espresso Test Recorder
Learn how the Espresso Test Recorder tool lets you create UI tests for your app without writing any test code.
Read more >
Android user interface testing with Espresso - Tutorial
Espresso is a testing framework for Android to make it easy to write reliable ... use preconditions to fail fast when a test...
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