Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[android] - make a singular FragmentBackStack test
Browse files Browse the repository at this point in the history
  • Loading branch information
tobrun committed Mar 25, 2019
1 parent 702212f commit e7c9d3c
Showing 1 changed file with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,6 @@ class FragmentBackStackTest : BaseIntegrationTest() {
openFeature("Backstack Map Fragment")
}

@Test
@LargeTest
fun backPressedOnBackStack() {
device.waitForIdle()
clickReplaceFragmentButton()
device.waitForIdle()
backPressBackStack()
}

@Test
@LargeTest
fun backPressedOnBackStackResumed(){
Expand All @@ -39,15 +30,6 @@ class FragmentBackStackTest : BaseIntegrationTest() {
backPressBackStack()
}

@Test
@LargeTest
fun finishOnBackStack() {
device.waitForIdle()
clickReplaceFragmentButton()
device.waitForIdle()
device.findObject(UiSelector().description("Navigate up")).click()
}

private fun clickReplaceFragmentButton(){
device.findObject(UiSelector().text("REPLACE WITH EMPTY FRAGMENT")).click()
}
Expand Down

0 comments on commit e7c9d3c

Please sign in to comment.