Skip to content

Commit

Permalink
Fixes test
Browse files Browse the repository at this point in the history
  • Loading branch information
theMr17 committed Oct 17, 2023
1 parent d9c3f77 commit 0d2dcbf
Showing 1 changed file with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1080,12 +1080,8 @@ class ExplorationActivityTest {

@Test
fun testAudioWifi_ratioExp_audioIcon_audioFragHasDefaultLangAndAutoPlays() {
getApplicationDependencies(
internalProfileId,
RATIOS_TOPIC_ID,
RATIOS_STORY_ID_0,
RATIOS_EXPLORATION_ID_0
)
markAllSpotlightsSeen()
setUpAudio()
launch<ExplorationActivity>(
createExplorationActivityIntent(
internalProfileId,
Expand All @@ -1095,7 +1091,13 @@ class ExplorationActivityTest {
shouldSavePartialProgress = false
)
).use {
waitForTheView(withText("What is a Ratio?"))
explorationDataController.startPlayingNewExploration(
internalProfileId,
RATIOS_TOPIC_ID,
RATIOS_STORY_ID_0,
RATIOS_EXPLORATION_ID_0
)
// waitForTheView(withText("What is a Ratio?"))
networkConnectionUtil.setCurrentConnectionStatus(ProdConnectionStatus.LOCAL)
testCoroutineDispatchers.runCurrent()
onView(withId(R.id.action_audio_player)).perform(click())
Expand Down

0 comments on commit 0d2dcbf

Please sign in to comment.