Skip to content
This repository has been archived by the owner on Apr 26, 2020. It is now read-only.

Commit

Permalink
Tried to fix UI test
Browse files Browse the repository at this point in the history
  • Loading branch information
DreierF committed Oct 15, 2016
1 parent 44cacb9 commit cb34f6c
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
import static de.dreier.mytargets.fragments.EditTrainingFragment.FREE_TRAINING;
import static de.dreier.mytargets.fragments.EditTrainingFragment.TRAINING_TYPE;
import static de.dreier.mytargets.fragments.EditTrainingFragment.TRAINING_WITH_STANDARD_ROUND;
import static org.hamcrest.Matchers.allOf;
import static org.hamcrest.Matchers.endsWith;
import static org.hamcrest.CoreMatchers.allOf;
import static org.hamcrest.CoreMatchers.endsWith;

@RunWith(AndroidJUnit4.class)
public class MainActivityNavigationTest extends UITestBase {
Expand Down Expand Up @@ -112,5 +112,7 @@ public void addTraining() throws InterruptedException {
onView(isRoot()).perform(orientationLandscape(mActivityTestRule));
navigateUp();
onView(isRoot()).perform(orientationPortrait(mActivityTestRule));
pressBack();
pressBack();
}
}

0 comments on commit cb34f6c

Please sign in to comment.