Add missing `allowNotifications()` in `BaselineProfileGenerator.kt`

Closes #853
pull/858/head
Simon Marquis 11 months ago committed by GitHub
parent 48041fcaa4
commit 03a15958ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -18,6 +18,7 @@ package com.google.samples.apps.nowinandroid.baselineprofile
import androidx.benchmark.macro.junit4.BaselineProfileRule
import com.google.samples.apps.nowinandroid.PACKAGE_NAME
import com.google.samples.apps.nowinandroid.allowNotifications
import com.google.samples.apps.nowinandroid.bookmarks.goToBookmarksScreen
import com.google.samples.apps.nowinandroid.foryou.forYouScrollFeedDownUp
import com.google.samples.apps.nowinandroid.foryou.forYouSelectTopics
@ -43,6 +44,8 @@ class BaselineProfileGenerator {
pressHome()
startActivityAndWait()
allowNotifications()
// Scroll the feed critical user journey
forYouWaitForContent()
forYouSelectTopics(true)

Loading…
Cancel
Save