AgtLucas / android-test-kit

Automatically exported from code.google.com/p/android-test-kit
0 stars 0 forks source link

IdlingDrawerListener never goes idle after screen rotation #67

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Here is an example test:

    public void testRotateWithDrawerOpenAAA() {
        openDrawer(R.id.drawer_layout);
        getActivity().setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
        onView(withId(R.id.title)).check(matches(withText("Title"));
    }

What is the expected output? What do you see instead?

I expect to be able to continue on with my test, but instead I see:

com.google.android.apps.common.testing.ui.espresso.IdlingResourceTimeoutExceptio
n: Wait for [IdlingDrawerListener] to become idle timed out

What version of the product are you using? On what operating system?

The error occurs on an x86 emulator running 4.4.2, a Nexus 4 running 4.4, and a 
Nexus 5 running 4.4.2

Original issue reported on code.google.com by tah...@gmail.com on 22 Apr 2014 at 8:38

GoogleCodeExporter commented 9 years ago

Original comment by vale...@google.com on 7 May 2014 at 7:14

GoogleCodeExporter commented 9 years ago

Original comment by vale...@google.com on 7 May 2014 at 7:14

GoogleCodeExporter commented 9 years ago

Original comment by vale...@google.com on 7 May 2014 at 7:14