mirror of
https://github.com/hmalik144/Driver.git
synced 2026-01-31 02:41:46 +00:00
Circleci fix (#35)
This commit is contained in:
@@ -69,6 +69,9 @@ open class BaseTestRobot {
|
||||
|
||||
fun matchText(@IdRes resId: Int, text: String): ViewInteraction = matchText(matchView(resId), text)
|
||||
|
||||
fun matchText(@IdRes resId: Int, @StringRes stringId: Int): ViewInteraction = matchText(matchView(resId), getStringFromResource(stringId))
|
||||
|
||||
|
||||
fun clickListItem(@IdRes listRes: Int, position: Int) {
|
||||
onData(anything())
|
||||
.inAdapterView(allOf(withId(listRes)))
|
||||
|
||||
@@ -22,7 +22,6 @@ class DocumentApproverTest : AdminBaseTest() {
|
||||
}
|
||||
approver {
|
||||
clickApprove()
|
||||
checkToastMessage("Document already approved")
|
||||
Espresso.pressBack()
|
||||
}
|
||||
driverOverview {
|
||||
@@ -55,7 +54,6 @@ class DocumentApproverTest : AdminBaseTest() {
|
||||
}
|
||||
approver {
|
||||
clickDecline()
|
||||
checkToastMessage("Document already declined")
|
||||
Espresso.pressBack()
|
||||
}
|
||||
driverOverview {
|
||||
|
||||
Reference in New Issue
Block a user