Skip to content

Commit

Permalink
added some delays for slow connectivity
Browse files Browse the repository at this point in the history
  • Loading branch information
wojta committed Mar 8, 2018
1 parent 76f69a1 commit 80a751f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sdk-e2e/build.gradle
Expand Up @@ -26,7 +26,7 @@ apply plugin: 'de.fuerstenau.buildconfig'
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
testCompile "org.jetbrains.kotlin:kotlin-test"
testCompile "cz.sazel:akow-lib:0.0.6"
testCompile "cz.sazel:akow-lib:0.0.7"
testCompile "io.appium:java-client:$appium_version"
testCompile "junit:junit:$junit4_version"
}
Expand Down
Expand Up @@ -13,6 +13,7 @@ import org.junit.Before
import org.junit.Test
import org.junit.runner.RunWith
import org.junit.runners.Parameterized
import java.lang.Thread.sleep
import kotlin.test.assertEquals

/**
Expand Down Expand Up @@ -44,13 +45,15 @@ class AuthTest : BaseTest() {

androidOnly {
maybeOn<ChromeIntroScreen> { acceptNoThanks() }
sleep(5000)
maybeOn<SetPINDialogScreen> { cancel() }
}

sleep(5000)
on<KeycloakLoginScreen> {
login(USERNAME, PASSWORD)
}

sleep(5000)
on<AuthenticatedScreen> {
assertEquals("User 1", userNameTextBox.text)
}
Expand Down

0 comments on commit 80a751f

Please sign in to comment.