Fix tests for #778
And this is why you rebase your PRs before merging :^) Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
90750b976d
commit
d034da8d01
1 changed files with 2 additions and 3 deletions
|
@ -6,7 +6,6 @@
|
||||||
package com.zeapo.pwdstore.git
|
package com.zeapo.pwdstore.git
|
||||||
|
|
||||||
import android.view.View
|
import android.view.View
|
||||||
import android.widget.RadioGroup
|
|
||||||
import androidx.test.espresso.Espresso.onView
|
import androidx.test.espresso.Espresso.onView
|
||||||
import androidx.test.espresso.UiController
|
import androidx.test.espresso.UiController
|
||||||
import androidx.test.espresso.ViewAction
|
import androidx.test.espresso.ViewAction
|
||||||
|
@ -103,7 +102,7 @@ class GitServerConfigActivityTest {
|
||||||
onView(withId(R.id.clone_protocol_group)).perform(callMethod<MaterialButtonToggleGroup> {
|
onView(withId(R.id.clone_protocol_group)).perform(callMethod<MaterialButtonToggleGroup> {
|
||||||
it.check(R.id.clone_protocol_https)
|
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)
|
it.check(R.id.connection_mode_password)
|
||||||
})
|
})
|
||||||
onView(withId(R.id.server_path)).perform(replaceText("john_doe/my_secret_repository"))
|
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> {
|
onView(withId(R.id.clone_protocol_group)).perform(callMethod<MaterialButtonToggleGroup> {
|
||||||
it.check(R.id.clone_protocol_ssh)
|
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)
|
it.check(R.id.connection_mode_ssh_key)
|
||||||
})
|
})
|
||||||
onView(withId(R.id.server_path)).perform(replaceText("john_doe/my_secret_repository"))
|
onView(withId(R.id.server_path)).perform(replaceText("john_doe/my_secret_repository"))
|
||||||
|
|
Loading…
Reference in a new issue