diff --git a/FlowCrypt/src/androidTest/java/com/flowcrypt/email/ui/ComposeScreenFlowTest.kt b/FlowCrypt/src/androidTest/java/com/flowcrypt/email/ui/ComposeScreenFlowTest.kt index 1d71bce2c..d4539eff6 100644 --- a/FlowCrypt/src/androidTest/java/com/flowcrypt/email/ui/ComposeScreenFlowTest.kt +++ b/FlowCrypt/src/androidTest/java/com/flowcrypt/email/ui/ComposeScreenFlowTest.kt @@ -360,7 +360,6 @@ class ComposeScreenFlowTest : BaseComposeScreenTest() { } @Test - @Ignore("temporary disabled") fun testSelectImportPublicKeyFromPopUp() { activeActivityRule?.launch(intent) intending(hasComponent(ComponentName(getTargetContext(), MainActivity::class.java))) @@ -419,6 +418,8 @@ class ComposeScreenFlowTest : BaseComposeScreenTest() { .check(matches(isDisplayed())) .perform(click()) + waitForObjectWithText(email, TimeUnit.SECONDS.toMillis(10)) + onView(withId(R.id.recyclerViewChipsTo)) .perform( RecyclerViewActions.scrollTo( diff --git a/FlowCrypt/src/androidTest/java/com/flowcrypt/email/ui/fragment/isolation/incontainer/CreateMessageFragmentInIsolationTest.kt b/FlowCrypt/src/androidTest/java/com/flowcrypt/email/ui/fragment/isolation/incontainer/CreateMessageFragmentInIsolationTest.kt index 9d7a220ff..fc0fb5002 100644 --- a/FlowCrypt/src/androidTest/java/com/flowcrypt/email/ui/fragment/isolation/incontainer/CreateMessageFragmentInIsolationTest.kt +++ b/FlowCrypt/src/androidTest/java/com/flowcrypt/email/ui/fragment/isolation/incontainer/CreateMessageFragmentInIsolationTest.kt @@ -1,6 +1,6 @@ /* * © 2016-present FlowCrypt a.s. Limitations apply. Contact human@flowcrypt.com - * Contributors: DenBond7 + * Contributors: denbond7 */ package com.flowcrypt.email.ui.fragment.isolation.incontainer @@ -42,6 +42,7 @@ import org.junit.rules.RuleChain import org.junit.rules.TestRule import org.junit.runner.RunWith import java.net.HttpURLConnection +import java.util.concurrent.TimeUnit /** * @author Denys Bondarenko @@ -125,6 +126,8 @@ class CreateMessageFragmentInIsolationTest : BaseComposeScreenTest() { .perform(typeText(char.toString())) typedChars.add(char) + waitForObjectWithText(String(typedChars.toCharArray()), TimeUnit.SECONDS.toMillis(10)) + onView(withId(R.id.recyclerViewAutocompleteTo)) .perform( scrollTo( @@ -140,7 +143,8 @@ class CreateMessageFragmentInIsolationTest : BaseComposeScreenTest() { companion object { @get:ClassRule @JvmStatic - val mockWebServerRule = FlowCryptMockWebServerRule(TestConstants.MOCK_WEB_SERVER_PORT, + val mockWebServerRule = FlowCryptMockWebServerRule( + TestConstants.MOCK_WEB_SERVER_PORT, object : Dispatcher() { override fun dispatch(request: RecordedRequest): MockResponse { if (request.path?.startsWith("/attester/pub", ignoreCase = true) == true) { diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 8749a79c6..b3af95b55 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -4,6 +4,6 @@ # distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-9.3.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.1-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists