Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ksyeo1010 committed Aug 15, 2023
1 parent f28b54b commit fa6e7a0
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ public void perform(UiController uiController, View view) {
@RunWith(AndroidJUnit4.class)
public class IntegrationTest {

@Rule
public ReportHelper reportHelper = Factory.getReportHelper();

@Rule
public ActivityScenarioRule<MainActivity> activityScenarioRule =
new ActivityScenarioRule<>(MainActivity.class);
Expand All @@ -85,6 +88,11 @@ public void intentsTeardown() {
Intents.release();
}

@After
public void TearDown() {
reportHelper.label("Stopping App");
}

@Test
public void testRhino() {
onView(withId(R.id.testButton)).perform(click());
Expand Down

0 comments on commit fa6e7a0

Please sign in to comment.