Skip to content

Commit

Permalink
Disable robolectric runs as drag and drop interaction won't work, as …
Browse files Browse the repository at this point in the history
…documented in #1612
  • Loading branch information
adhiamboperes committed Mar 13, 2024
1 parent d750e56 commit 152d157
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4230,6 +4230,7 @@ class StateFragmentTest {
}

@Test
@RunOn(TestPlatform.ESPRESSO) // TODO(#1612): Enable for Robolectric.
fun testFinishChapter_lateNight_isPastGracePeriod_minimumAggregateTimeMet_noSurveyPopup() {
setUpTestWithSurveyFeatureOn()
oppiaClock.setFakeTimeMode(FakeOppiaClock.FakeTimeMode.MODE_FIXED_FAKE_TIME)
Expand Down Expand Up @@ -4259,6 +4260,7 @@ class StateFragmentTest {
}

@Test
@RunOn(TestPlatform.ESPRESSO) // TODO(#1612): Enable for Robolectric.
fun testFinishChapter_earlyMorning_isPastGracePeriod_minimumAggregateTimeMet_noSurveyPopup() {
setUpTestWithSurveyFeatureOn()
oppiaClock.setFakeTimeMode(FakeOppiaClock.FakeTimeMode.MODE_FIXED_FAKE_TIME)
Expand Down Expand Up @@ -4288,6 +4290,7 @@ class StateFragmentTest {
}

@Test
@RunOn(TestPlatform.ESPRESSO) // TODO(#1612): Enable for Robolectric.
fun testFinishChapter_midMorning_isPastGracePeriod_minimumAggregateTimeMet_surveyPopupShown() {
setUpTestWithSurveyFeatureOn()
oppiaClock.setFakeTimeMode(FakeOppiaClock.FakeTimeMode.MODE_FIXED_FAKE_TIME)
Expand Down Expand Up @@ -4315,6 +4318,7 @@ class StateFragmentTest {
}

@Test
@RunOn(TestPlatform.ESPRESSO) // TODO(#1612): Enable for Robolectric.
fun testFinishChapter_afternoon_isPastGracePeriod_minimumAggregateTimeMet_surveyPopupShown() {
setUpTestWithSurveyFeatureOn()
oppiaClock.setFakeTimeMode(FakeOppiaClock.FakeTimeMode.MODE_FIXED_FAKE_TIME)
Expand Down Expand Up @@ -4342,6 +4346,7 @@ class StateFragmentTest {
}

@Test
@RunOn(TestPlatform.ESPRESSO) // TODO(#1612): Enable for Robolectric.
fun testFinishChapter_evening_isPastGracePeriod_minimumAggregateTimeMet_surveyPopupShown() {
setUpTestWithSurveyFeatureOn()
oppiaClock.setFakeTimeMode(FakeOppiaClock.FakeTimeMode.MODE_FIXED_FAKE_TIME)
Expand Down Expand Up @@ -4369,6 +4374,7 @@ class StateFragmentTest {
}

@Test
@RunOn(TestPlatform.ESPRESSO) // TODO(#1612): Enable for Robolectric.
fun testFinishChapter_surveyFeatureOff_allGatingConditionsMet_noSurveyPopup() {
// Survey Gating conditions are: isPastGracePeriod, has achieved minimum aggregate exploration
// time of 5min in a topic, and is within the hours of 9am and 10pm in the user's local time.
Expand Down

0 comments on commit 152d157

Please sign in to comment.