diff --git a/FAQ/opening-drawer-from-espresso.md b/FAQ/opening-drawer-from-espresso.md index 56be2d54c..b3e1d8e40 100644 --- a/FAQ/opening-drawer-from-espresso.md +++ b/FAQ/opening-drawer-from-espresso.md @@ -7,4 +7,4 @@ First, you need a add `espresso-contrib` to your project. It has the needed `Dra Then, you need to open the drawer with his `openDrawer()` method and the drawer layout ID. The generated one is `R.id.material_drawer_layout` -`onView(withId(R.id.material_drawer_layout)).perform(DrawerActions.open(Gravity.START));` +`onView(withId(R.id.material_drawer_layout)).perform(DrawerActions.open());`