Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

Commit

Permalink
Merge branch 'fix/contact_robot_test_fix' into 'develop'
Browse files Browse the repository at this point in the history
Remove delay on ContactRobot

See merge request android/mail/proton-mail-android!1168
  • Loading branch information
ZoricaStojchevska committed Sep 1, 2022
2 parents 0591ad9 + 446846a commit 7bdef95
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,15 @@ package ch.protonmail.android.uitests.robots.contacts
import androidx.appcompat.widget.ActionMenuView
import androidx.appcompat.widget.AppCompatImageButton
import androidx.appcompat.widget.AppCompatImageView
import androidx.test.espresso.matcher.ViewMatchers
import ch.protonmail.android.R
import ch.protonmail.android.uitests.robots.contacts.ContactsMatchers.withContactEmail
import ch.protonmail.android.uitests.robots.contacts.ContactsMatchers.withContactGroupName
import ch.protonmail.android.uitests.robots.contacts.ContactsMatchers.withContactGroupNameAndMembersCount
import ch.protonmail.android.uitests.robots.contacts.ContactsMatchers.withContactNameAndEmail
import ch.protonmail.android.uitests.robots.mailbox.composer.ComposerRobot
import ch.protonmail.android.uitests.robots.mailbox.inbox.InboxRobot
import com.google.android.material.floatingactionbutton.FloatingActionButton
import me.proton.fusion.Fusion
import me.proton.fusion.utils.StringUtils.stringFromResource
import org.hamcrest.CoreMatchers.containsString

/**
* [ContactsRobot] class contains actions and verifications for Contacts functionality.
Expand Down Expand Up @@ -80,7 +77,6 @@ class ContactsRobot : Fusion {
}

fun clickContactByEmail(email: String): ContactDetailsRobot {
view.withText(email).waitForDisplayed()
recyclerView
.withId(contactsRecyclerView)
.onHolderItem(withContactEmail(email))
Expand Down

0 comments on commit 7bdef95

Please sign in to comment.