Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
romtsn committed Dec 13, 2024
1 parent 6a3c673 commit 6ede0ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ android {
// This doesn't work on some devices with Android 11+. Clearing package data resets permissions.
// Check the readme for more info.
testInstrumentationRunnerArguments["clearPackageData"] = "true"
buildConfigField("String", "ENVIRONMENT", "\"${System.getProperty("environment", "")}\"")
}

testOptions {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ class ReplayTest : BaseUiTest() {
@Before
fun setup() {
// we can't run on GH actions emulator, because they don't allow capturing screenshots properly
@Suppress("KotlinConstantConditions")
assumeThat(
System.getProperty("environment") != "github",
BuildConfig.ENVIRONMENT != "github",
`is`(true)
)
}
Expand Down

0 comments on commit 6ede0ae

Please sign in to comment.