Skip to content

Commit

Permalink
Re-enable previously failing skipped tests (Espresso only): (#2683)
Browse files Browse the repository at this point in the history
* testStateFragment_loadExp_continueToEndExploration_hasReturnToTopicButton()

* testStateFragment_loadExp_changeConfiguration_continueToEnd_hasReturnToTopicButton()

Leaving TODOs for #1612 to fix them for Robolectric - similar TODOs are present for the parallel portrait tests.
  • Loading branch information
yurilev authored Feb 11, 2021
1 parent f8f068d commit 8cbd6a2
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ import org.hamcrest.Matcher
import org.hamcrest.TypeSafeMatcher
import org.junit.After
import org.junit.Before
import org.junit.Ignore
import org.junit.Rule
import org.junit.Test
import org.junit.runner.RunWith
Expand Down Expand Up @@ -810,7 +809,7 @@ class StateFragmentTest {
}

@Test
@Ignore("Currently failing due to a regression") // TODO(#1769): Re-enable.
@RunOn(TestPlatform.ESPRESSO) // TODO(#1612): Enable for Robolectric.
fun testStateFragment_loadExp_changeConfiguration_continueToEnd_hasReturnToTopicButton() {
launchForExploration(TEST_EXPLORATION_ID_2).use {
startPlayingExploration()
Expand Down Expand Up @@ -841,7 +840,7 @@ class StateFragmentTest {
}

@Test
@Ignore("Currently failing due to a regression") // TODO(#1769): Re-enable.
@RunOn(TestPlatform.ESPRESSO) // TODO(#1612): Enable for Robolectric.
fun testStateFragment_loadExp_changeConfig_continueToEnd_clickReturnToTopic_destroysActivity() {
launchForExploration(TEST_EXPLORATION_ID_2).use {
startPlayingExploration()
Expand Down

0 comments on commit 8cbd6a2

Please sign in to comment.