Skip to content

Commit

Permalink
Add markSpotlightSeen
Browse files Browse the repository at this point in the history
  • Loading branch information
XichengSpencer committed Sep 6, 2023
1 parent e999e5b commit d7fdc5e
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@ class TopicFragmentTest {
@Test
fun testTopicFragment_toolbarTitle_readerOff_marqueeInRtl_isDisplayedCorrectly() {
initializeApplicationComponent(false)
markSpotlightSeen(TOPIC_LESSON_TAB)
fakeAccessibilityService.setScreenReaderEnabled(false)
activityTestRule.launchActivity(
createTopicActivityIntent(
Expand All @@ -356,6 +357,7 @@ class TopicFragmentTest {
@Test
fun testTopicFragment_toolbarTitle_readerOn_marqueeInRtl_isDisplayedCorrectly() {
initializeApplicationComponent(false)
markSpotlightSeen(TOPIC_LESSON_TAB)
fakeAccessibilityService.setScreenReaderEnabled(true)
activityTestRule.launchActivity(
createTopicActivityIntent(
Expand All @@ -377,6 +379,7 @@ class TopicFragmentTest {
@Test
fun testTopicFragment_toolbarTitle_readerOff_marqueeInLtr_isDisplayedCorrectly() {
initializeApplicationComponent(false)
markSpotlightSeen(TOPIC_LESSON_TAB)
fakeAccessibilityService.setScreenReaderEnabled(false)
activityTestRule.launchActivity(
createTopicActivityIntent(
Expand All @@ -397,6 +400,7 @@ class TopicFragmentTest {
@Test
fun testTopicFragment_toolbarTitle_readerOn_marqueeInLtr_isDisplayedCorrectly() {
initializeApplicationComponent(false)
markSpotlightSeen(TOPIC_LESSON_TAB)
fakeAccessibilityService.setScreenReaderEnabled(true)
activityTestRule.launchActivity(
createTopicActivityIntent(
Expand Down

0 comments on commit d7fdc5e

Please sign in to comment.