|
|
|
@ -18,8 +18,8 @@ package com.google.samples.apps.nowinandroid.baselineprofile
|
|
|
|
|
|
|
|
|
|
import androidx.benchmark.macro.ExperimentalBaselineProfilesApi
|
|
|
|
|
import androidx.benchmark.macro.junit4.BaselineProfileRule
|
|
|
|
|
import androidx.test.uiautomator.By
|
|
|
|
|
import com.google.samples.apps.nowinandroid.PACKAGE_NAME
|
|
|
|
|
import com.google.samples.apps.nowinandroid.bookmarks.goToBookmarksScreen
|
|
|
|
|
import com.google.samples.apps.nowinandroid.foryou.forYouScrollFeedDownUp
|
|
|
|
|
import com.google.samples.apps.nowinandroid.foryou.forYouSelectTopics
|
|
|
|
|
import com.google.samples.apps.nowinandroid.foryou.forYouWaitForContent
|
|
|
|
@ -51,8 +51,7 @@ class BaselineProfileGenerator {
|
|
|
|
|
forYouScrollFeedDownUp()
|
|
|
|
|
|
|
|
|
|
// Navigate to saved screen
|
|
|
|
|
device.findObject(By.text("Saved")).click()
|
|
|
|
|
device.waitForIdle()
|
|
|
|
|
goToBookmarksScreen()
|
|
|
|
|
// TODO: we need to implement adding stuff to bookmarks before able to scroll it
|
|
|
|
|
// bookmarksScrollFeedDownUp()
|
|
|
|
|
|
|
|
|
|