remove duplicate stuff
This commit is contained in:
parent
ff16491a23
commit
83a2e74e57
@ -67,9 +67,6 @@ class HomeFeedTest {
|
|||||||
//Wait for the feed to load
|
//Wait for the feed to load
|
||||||
waitForView(R.id.postPager)
|
waitForView(R.id.postPager)
|
||||||
|
|
||||||
|
|
||||||
onView(withId(R.id.list)).perform(scrollToPosition<StatusViewHolder>(0))
|
|
||||||
|
|
||||||
activityScenario.onActivity {
|
activityScenario.onActivity {
|
||||||
a -> run {
|
a -> run {
|
||||||
//Pick the second photo
|
//Pick the second photo
|
||||||
@ -143,8 +140,6 @@ class HomeFeedTest {
|
|||||||
fun clickingUsernameOpensProfile() {
|
fun clickingUsernameOpensProfile() {
|
||||||
waitForView(R.id.username)
|
waitForView(R.id.username)
|
||||||
|
|
||||||
onView(withId(R.id.list)).perform(scrollToPosition<StatusViewHolder>(0))
|
|
||||||
|
|
||||||
onView(withId(R.id.list)).perform(
|
onView(withId(R.id.list)).perform(
|
||||||
actionOnItemAtPosition<StatusViewHolder>(0, clickChildViewWithId(R.id.username))
|
actionOnItemAtPosition<StatusViewHolder>(0, clickChildViewWithId(R.id.username))
|
||||||
)
|
)
|
||||||
@ -156,8 +151,6 @@ class HomeFeedTest {
|
|||||||
fun clickingProfilePicOpensProfile() {
|
fun clickingProfilePicOpensProfile() {
|
||||||
waitForView(R.id.profilePic)
|
waitForView(R.id.profilePic)
|
||||||
|
|
||||||
onView(withId(R.id.list)).perform(scrollToPosition<StatusViewHolder>(0))
|
|
||||||
|
|
||||||
onView(withId(R.id.list)).perform(
|
onView(withId(R.id.list)).perform(
|
||||||
actionOnItemAtPosition<StatusViewHolder>(0, clickChildViewWithId(R.id.profilePic))
|
actionOnItemAtPosition<StatusViewHolder>(0, clickChildViewWithId(R.id.profilePic))
|
||||||
)
|
)
|
||||||
@ -169,8 +162,6 @@ class HomeFeedTest {
|
|||||||
fun clickingMentionOpensProfile() {
|
fun clickingMentionOpensProfile() {
|
||||||
waitForView(R.id.description)
|
waitForView(R.id.description)
|
||||||
|
|
||||||
onView(withId(R.id.list)).perform(scrollToPosition<StatusViewHolder>(0))
|
|
||||||
|
|
||||||
onView(withId(R.id.list)).perform(
|
onView(withId(R.id.list)).perform(
|
||||||
actionOnItemAtPosition<StatusViewHolder>(0, clickChildViewWithId(R.id.description))
|
actionOnItemAtPosition<StatusViewHolder>(0, clickChildViewWithId(R.id.description))
|
||||||
)
|
)
|
||||||
@ -258,8 +249,6 @@ class HomeFeedTest {
|
|||||||
fun performClickOnSensitiveWarningTabs() {
|
fun performClickOnSensitiveWarningTabs() {
|
||||||
waitForView(R.id.username)
|
waitForView(R.id.username)
|
||||||
|
|
||||||
onView(withId(R.id.list)).perform(scrollToPosition<StatusViewHolder>(0))
|
|
||||||
|
|
||||||
onView(first(withId(R.id.sensitiveWarning))).check(matches(withEffectiveVisibility(Visibility.VISIBLE)))
|
onView(first(withId(R.id.sensitiveWarning))).check(matches(withEffectiveVisibility(Visibility.VISIBLE)))
|
||||||
|
|
||||||
onView(withId(R.id.list))
|
onView(withId(R.id.list))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user