aboutsummaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2020-05-23 16:00:03 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2020-05-23 16:00:03 +0530
commitd034da8d01f67cfd0869a73795f0e1fc5ac4f2ca (patch)
treea131e70cb6ca2601d04247978f52b66a2cd517e8 /app/src
parent90750b976d4fd89a344ef921d53a3ed1e0cce80f (diff)
Fix tests for #778
And this is why you rebase your PRs before merging :^) Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'app/src')
-rw-r--r--app/src/androidTest/java/com/zeapo/pwdstore/git/GitServerConfigActivityTest.kt5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/src/androidTest/java/com/zeapo/pwdstore/git/GitServerConfigActivityTest.kt b/app/src/androidTest/java/com/zeapo/pwdstore/git/GitServerConfigActivityTest.kt
index 8bfd759c..143cfe1b 100644
--- a/app/src/androidTest/java/com/zeapo/pwdstore/git/GitServerConfigActivityTest.kt
+++ b/app/src/androidTest/java/com/zeapo/pwdstore/git/GitServerConfigActivityTest.kt
@@ -6,7 +6,6 @@
package com.zeapo.pwdstore.git
import android.view.View
-import android.widget.RadioGroup
import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.UiController
import androidx.test.espresso.ViewAction
@@ -103,7 +102,7 @@ class GitServerConfigActivityTest {
onView(withId(R.id.clone_protocol_group)).perform(callMethod<MaterialButtonToggleGroup> {
it.check(R.id.clone_protocol_https)
})
- onView(withId(R.id.connection_mode_group)).perform(callMethod<RadioGroup> {
+ onView(withId(R.id.connection_mode_group)).perform(callMethod<MaterialButtonToggleGroup> {
it.check(R.id.connection_mode_password)
})
onView(withId(R.id.server_path)).perform(replaceText("john_doe/my_secret_repository"))
@@ -116,7 +115,7 @@ class GitServerConfigActivityTest {
onView(withId(R.id.clone_protocol_group)).perform(callMethod<MaterialButtonToggleGroup> {
it.check(R.id.clone_protocol_ssh)
})
- onView(withId(R.id.connection_mode_group)).perform(callMethod<RadioGroup> {
+ onView(withId(R.id.connection_mode_group)).perform(callMethod<MaterialButtonToggleGroup> {
it.check(R.id.connection_mode_ssh_key)
})
onView(withId(R.id.server_path)).perform(replaceText("john_doe/my_secret_repository"))