Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .woodpecker/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ steps:
- java -jar adbserver-desktop.jar &
- sleep 3
- adb logcat -c
- trap 'adb logcat -d -s RetryRule:W | tee retries.log' EXIT; ./gradlew :opencloudApp:connectedOriginalDebugAndroidTest -Pandroid.testInstrumentationRunnerArguments.annotation=eu.opencloud.android.IntegrationTest -Pandroid.testInstrumentationRunnerArguments.retries=1 --console=plain
- trap 'rc=$$?; adb logcat -d -s RetryRule:W | tee retries.log; if [ $$rc -ne 0 ]; then echo "--- full logcat ---"; adb logcat -d -v threadtime; fi' EXIT; ./gradlew :opencloudApp:connectedOriginalDebugAndroidTest -Pandroid.testInstrumentationRunnerArguments.annotation=eu.opencloud.android.IntegrationTest -Pandroid.testInstrumentationRunnerArguments.retries=1 --console=plain

- name: instrumented data tests
image: *android_image
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ class LoginTest : TestCase(
}
step("check personal space") {
MainScreen {
avatarButton.isVisible()
flakySafely(timeoutMs = ACCOUNT_DISCOVERY_TIMEOUT_MS) {
avatarButton.isVisible()
}
avatarButton.isClickable()
avatarButton.click()
}
Expand All @@ -87,4 +89,8 @@ class LoginTest : TestCase(
}
}
}

companion object {
private const val ACCOUNT_DISCOVERY_TIMEOUT_MS = 60_000L
}
}
Loading