Skip to content

Commit 0aa6729

Browse files
Disable quarantine
1 parent f9c617b commit 0aa6729

4 files changed

Lines changed: 28 additions & 28 deletions

File tree

build-configuration/instrumentation-test-init.gradle

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,27 @@ apply from: new File(gradle.startParameter.currentDir, "build-configuration/quar
22

33
def load = gradle.ext.quarantinedTestsLoad
44

5-
allprojects { project ->
6-
if (load.status != 'OK') {
7-
return
8-
}
5+
// allprojects { project ->
6+
// if (load.status != 'OK') {
7+
// return
8+
// }
99

10-
def excludedInstrumentationTestClasses = load.cases
11-
.collect { testCase -> "${testCase.className}#${testCase.testCaseName}" }
12-
.join(",")
10+
// def excludedInstrumentationTestClasses = load.cases
11+
// .collect { testCase -> "${testCase.className}#${testCase.testCaseName}" }
12+
// .join(",")
1313

14-
if (excludedInstrumentationTestClasses.isEmpty()) {
15-
return
16-
}
14+
// if (excludedInstrumentationTestClasses.isEmpty()) {
15+
// return
16+
// }
1717

18-
def configureAndroidTestExclusions = {
19-
project.android.defaultConfig.testInstrumentationRunnerArguments.put(
20-
'notClass',
21-
excludedInstrumentationTestClasses
22-
)
23-
}
18+
// def configureAndroidTestExclusions = {
19+
// project.android.defaultConfig.testInstrumentationRunnerArguments.put(
20+
// 'notClass',
21+
// excludedInstrumentationTestClasses
22+
// )
23+
// }
2424

25-
project.plugins.withId("com.android.application", configureAndroidTestExclusions)
26-
project.plugins.withId("com.android.library", configureAndroidTestExclusions)
27-
project.plugins.withId("com.android.test", configureAndroidTestExclusions)
28-
}
25+
// project.plugins.withId("com.android.application", configureAndroidTestExclusions)
26+
// project.plugins.withId("com.android.library", configureAndroidTestExclusions)
27+
// project.plugins.withId("com.android.test", configureAndroidTestExclusions)
28+
// }

build-configuration/unit-test-init.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ allprojects {
88
return
99
}
1010

11-
load.cases.each { testCase ->
12-
task.filter.excludeTestsMatching("${testCase.className}.${testCase.testCaseName}")
13-
}
11+
// load.cases.each { testCase ->
12+
// task.filter.excludeTestsMatching("${testCase.className}.${testCase.testCaseName}")
13+
// }
1414
}
1515
}

scripts/browserstack.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# These need to be set in environment variables.
1515
user = os.getenv("BROWSERSTACK_USERNAME")
1616
authKey = os.getenv("BROWSERSTACK_ACCESS_KEY")
17-
bitriseQuarantinedTests = os.getenv("BITRISE_QUARANTINED_TESTS_JSON")
17+
bitriseQuarantinedTests = "" # os.getenv("BITRISE_QUARANTINED_TESTS_JSON")
1818

1919
PROJECT_NAME = "Mobile Payments"
2020

scripts/execute_maestro_tests.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,10 @@ for TEST_FILE_PATH in "$TEST_DIR_PATH"/*.yaml; do
9595
# Just run the test if it's tagged as edge, if on an edge environment
9696
if [ "$test_environment" != "edge" ] || contains_tag "$TEST_FILE_PATH" "edge"; then
9797
TEST_NAME=$(basename "$TEST_FILE_PATH" .yaml)
98-
if python3 "${SCRIPT_DIR}/is_maestro_flow_quarantined.py" "$TEST_NAME"; then
99-
echo "Skipping quarantined Maestro flow: $TEST_NAME"
100-
continue
101-
fi
98+
# if python3 "${SCRIPT_DIR}/is_maestro_flow_quarantined.py" "$TEST_NAME"; then
99+
# echo "Skipping quarantined Maestro flow: $TEST_NAME"
100+
# continue
101+
# fi
102102
ATTEMPT=0
103103
# Execute Maestro test flow and retry if failed (each try writes a distinct JUnit file).
104104
while [ "$ATTEMPT" -lt "$MAX_RETRIES" ]; do

0 commit comments

Comments
 (0)