test: fixed an ui test issue.
This commit is contained in:
parent
d524c30732
commit
28fe38aa17
@ -6,6 +6,7 @@ import androidx.test.espresso.Espresso.openActionBarOverflowOrOptionsMenu
|
|||||||
import androidx.test.espresso.action.ViewActions
|
import androidx.test.espresso.action.ViewActions
|
||||||
import androidx.test.espresso.action.ViewActions.click
|
import androidx.test.espresso.action.ViewActions.click
|
||||||
import androidx.test.espresso.action.ViewActions.replaceText
|
import androidx.test.espresso.action.ViewActions.replaceText
|
||||||
|
import androidx.test.espresso.action.ViewActions.swipeUp
|
||||||
import androidx.test.espresso.action.ViewActions.typeTextIntoFocusedView
|
import androidx.test.espresso.action.ViewActions.typeTextIntoFocusedView
|
||||||
import androidx.test.espresso.assertion.ViewAssertions.matches
|
import androidx.test.espresso.assertion.ViewAssertions.matches
|
||||||
import androidx.test.espresso.matcher.ViewMatchers.isChecked
|
import androidx.test.espresso.matcher.ViewMatchers.isChecked
|
||||||
@ -102,6 +103,7 @@ class SettingsActivityGeneralTest {
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
onView(withId(R.id.settings)).perform(swipeUp())
|
||||||
onView(withSettingsCheckboxWidget(R.string.display_all_counts_title)).check(
|
onView(withSettingsCheckboxWidget(R.string.display_all_counts_title)).check(
|
||||||
matches(
|
matches(
|
||||||
allOf(
|
allOf(
|
||||||
|
Loading…
Reference in New Issue
Block a user