Skip to content

Commit

Permalink
[Stats] Removed comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Valdez authored and Andy Valdez committed Mar 1, 2024
1 parent 375a15f commit 6c461e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import dagger.hilt.android.testing.HiltAndroidTest
import org.junit.After
import org.junit.Assume.assumeTrue
import org.junit.Before
import org.junit.Ignore
import org.junit.Test
import org.wordpress.android.BuildConfig
import org.wordpress.android.R
Expand All @@ -22,8 +21,6 @@ import org.wordpress.android.util.StatsVisitsData
class StatsTests : BaseTest() {
@Before
fun setUp() {
// We're not running Stats tests for JP.
// See https://github.com/wordpress-mobile/WordPress-Android/issues/18065
assumeTrue(BuildConfig.IS_JETPACK_APP)
ComposeEspressoLink().unregister()
logoutIfNecessary()
Expand All @@ -38,8 +35,7 @@ class StatsTests : BaseTest() {
Espresso.pressBack()
}
}

// @Ignore("Will be taken care of in a future PR - scrollToPosts is not working")

@Test
fun e2eAllDayStatsLoad() {
val todayVisits = StatsVisitsData("97", "28", "14", "11")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ class StatsPage {
Espresso.onView(Matchers.allOf(
ViewMatchers.withTagValue(Matchers.`is`(section.name))
)).perform(
RecyclerViewActions.scrollToPosition<ViewHolder>(viewholderPosition) // This works
RecyclerViewActions.scrollToPosition<ViewHolder>(viewholderPosition)
)
WPSupportUtils.idleFor(2000)
}
Expand Down

0 comments on commit 6c461e5

Please sign in to comment.