Skip to content

Commit 1ae828b

Browse files
authored
Get test-butler from maven-central, upgrade to v2.2.1 (wix#2751)
1 parent 76d323c commit 1ae828b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

detox/test/android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ dependencies {
9797
implementation project(':react-native-webview')
9898

9999
androidTestImplementation(project(path: ':detox'))
100-
androidTestImplementation 'com.linkedin.testbutler:test-butler-library:2.1.0'
101-
androidTestUtil 'com.linkedin.testbutler:test-butler-app:2.1.0'
100+
androidTestImplementation 'com.linkedin.testbutler:test-butler-library:2.2.1'
101+
androidTestUtil 'com.linkedin.testbutler:test-butler-app:2.2.1'
102102
}
103103

104104
if (rnInfo.isRN60OrHigher) {

detox/test/e2e/global-setup.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ function resolveSelectedConfiguration() {
88
}
99

1010
function downloadTestButlerAPKIfNeeded() {
11-
const version = '2.1.0';
12-
const artifactUrl = `https://linkedin.bintray.com/maven/com/linkedin/testbutler/test-butler-app/${version}/test-butler-app-${version}.apk`;
13-
const filePath = './cache/test-butler-app.apk';
11+
const version = '2.2.1';
12+
const artifactUrl = `https://repo1.maven.org/maven2/com/linkedin/testbutler/test-butler-app/${version}/test-butler-app-${version}.apk`;
13+
const filePath = `./cache/test-butler-app.apk`;
1414
fs.ensureDirSync('./cache');
1515
if (!fs.existsSync(filePath)) {
16-
console.log('\nDownloading Test-Butler APK...');
16+
console.log(`\nDownloading Test-Butler APK v${version}...`);
1717
execSync(`curl -f -o ${filePath} ${artifactUrl}`);
1818
}
1919
}

0 commit comments

Comments
 (0)