@@ -38,7 +38,6 @@ import okhttp3.mockwebserver.MockResponse
3838import okhttp3.mockwebserver.RecordedRequest
3939import org.eclipse.angus.mail.imap.IMAPFolder
4040import org.junit.Assert.assertTrue
41- import org.junit.Ignore
4241import org.junit.Rule
4342import org.junit.Test
4443import org.junit.rules.RuleChain
@@ -63,7 +62,8 @@ class SubmitPublicKeyAfterCreationNonGoogleAccountFlowTest : BaseSignTest() {
6362 private val userWithoutBackups = AccountDaoManager .getUserWithoutBackup()
6463 private var isSubmitPubKeyCalled = false
6564
66- val mockWebServerRule = FlowCryptMockWebServerRule (TestConstants .MOCK_WEB_SERVER_PORT ,
65+ val mockWebServerRule = FlowCryptMockWebServerRule (
66+ TestConstants .MOCK_WEB_SERVER_PORT ,
6767 object : okhttp3.mockwebserver.Dispatcher () {
6868 override fun dispatch (request : RecordedRequest ): MockResponse {
6969 if (request.path?.startsWith(" /attester/pub" , ignoreCase = true ) == true ) {
@@ -108,7 +108,10 @@ class SubmitPublicKeyAfterCreationNonGoogleAccountFlowTest : BaseSignTest() {
108108 .check(matches(isDisplayed()))
109109 .perform(click())
110110
111- waitForObjectWithText(getResString(R .string.create_a_new_key).uppercase(), TimeUnit .SECONDS .toMillis(5 ))
111+ waitForObjectWithText(
112+ getResString(R .string.create_a_new_key).uppercase(),
113+ TimeUnit .SECONDS .toMillis(5 )
114+ )
112115
113116 onView(withId(R .id.buttonCreateNewKey))
114117 .check(matches(isDisplayed()))
@@ -117,14 +120,14 @@ class SubmitPublicKeyAfterCreationNonGoogleAccountFlowTest : BaseSignTest() {
117120 val passphrase = UUID .randomUUID().toString() + UUID .randomUUID().toString()
118121 onView(withId(R .id.editTextKeyPassword))
119122 .check(matches(isDisplayed()))
120- .perform(replaceText(passphrase), closeSoftKeyboard() )
123+ .perform(replaceText(passphrase))
121124 Thread .sleep(TimeUnit .SECONDS .toMillis(1 ))
122125 onView(withId(R .id.buttonSetPassPhrase))
123126 .check(matches(isDisplayed()))
124127 .perform(click())
125128 onView(withId(R .id.editTextKeyPasswordSecond))
126129 .check(matches(isDisplayed()))
127- .perform(replaceText(passphrase), closeSoftKeyboard() )
130+ .perform(replaceText(passphrase))
128131 onView(withId(R .id.buttonConfirmPassPhrases))
129132 .check(matches(isDisplayed()))
130133 .perform(click())
0 commit comments