Skip to content

Commit

Permalink
chore: remove detox leftovers (#817)
Browse files Browse the repository at this point in the history
* chore: migrate wheel order test from detox to maestro

* fix

* fix

* add locale buttons

* uncomment

* chore: remove detox leftovers
  • Loading branch information
henninghall authored May 17, 2024
1 parent a554625 commit dd9e362
Show file tree
Hide file tree
Showing 86 changed files with 11 additions and 9,283 deletions.
50 changes: 0 additions & 50 deletions examples/Rn069/.detoxrc.json

This file was deleted.

3 changes: 1 addition & 2 deletions examples/Rn069/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
module.exports = {
root: true,
extends: '@react-native-community',
plugins: ['detox'],
plugins: [],
overrides: [
{
files: ['**/*.spec.js', '**/*.spec.jsx', '*.js'],
env: {
'detox/detox': true,
jest: true,
'jest/globals': true,
},
Expand Down
Empty file removed examples/Rn069/DetoxTest.java
Empty file.
5 changes: 0 additions & 5 deletions examples/Rn069/README.md

This file was deleted.

4 changes: 0 additions & 4 deletions examples/Rn069/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ android {
defaultConfig {
testBuildType System.getProperty('testBuildType', 'debug') // This will later be used to control the test apk build type
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
missingDimensionStrategy 'detox', 'full'

applicationId "com.rn069"
minSdkVersion rootProject.ext.minSdkVersion
Expand Down Expand Up @@ -289,9 +288,6 @@ dependencies {
implementation jscFlavor
}

androidTestImplementation(project(path: ":detox"))
// androidTestImplementation('com.wix:detox:+')
androidTestImplementation 'com.linkedin.testbutler:test-butler-library:2.2.1'
// implementation 'androidx.appcompat:appcompat:1.1.0' // (check what the latest version is!)
testImplementation 'junit:junit:4.13.2'
}
Expand Down

This file was deleted.

This file was deleted.

5 changes: 1 addition & 4 deletions examples/Rn069/android/settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,4 @@ if (settings.hasProperty("newArchEnabled") && settings.newArchEnabled == "true")
project(":ReactAndroid").projectDir = file('../node_modules/react-native/ReactAndroid')
include(":ReactAndroid:hermes-engine")
project(":ReactAndroid:hermes-engine").projectDir = file('../node_modules/react-native/ReactAndroid/hermes-engine')
}

include ':detox'
project(':detox').projectDir = new File(rootProject.projectDir, '../node_modules/detox/android/detox')
}
9 changes: 0 additions & 9 deletions examples/Rn069/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,11 @@
"test": "jest",
"lint": "eslint .",
"set-time-format": "adb shell settings put system time_12_24",
"build:ios": "yarn detox build --configuration ios.debug",
"build:android:debug": "yarn detox build --configuration android.debug",
"build:android:ci": "yarn detox build --configuration android.ci",
"test:android-24h-mode": "yarn set-time-format 24 && yarn detox test --configuration android.debug e2e/tests/24h-mode/*.spec.js",
"test:android-24h-mode:ci": "yarn set-time-format 24 && yarn detox test --configuration android.ci e2e/tests/24h-mode/*.spec.js --record-logs failing --record-videos failing --take-screenshots failing",
"test:android-12h-mode": "yarn set-time-format 12 && yarn detox test --configuration android.debug e2e/tests/*.spec.js",
"test:android-12h-mode:ci": "yarn set-time-format 12 && yarn detox test --configuration android.ci e2e/tests/*.spec.js --record-logs failing --record-videos failing --take-screenshots failing",
"test:android": "yarn test:android-12h-mode && yarn test:android-24h-mode",
"test:android:ci": "yarn test:android-12h-mode:ci && yarn test:android-24h-mode:ci",
"emulator": "scripts/start-android-emulator.sh"
},
"dependencies": {
"detox": "^19.7.1",
"react": "18.0.0",
"react-native": "0.69.0"
},
Expand All @@ -34,7 +26,6 @@
"babel-jest": "^28.1.2",
"babel-plugin-module-resolver": "^4.1.0",
"eslint": "^7.32.0",
"eslint-plugin-detox": "^1.0.0",
"jest": "^28.1.2",
"metro-react-native-babel-preset": "^0.70.3",
"react-test-renderer": "18.0.0"
Expand Down
11 changes: 0 additions & 11 deletions examples/Rn069/scripts/available-android-emulator.sh

This file was deleted.

16 changes: 0 additions & 16 deletions examples/Rn069/scripts/butler.sh

This file was deleted.

18 changes: 0 additions & 18 deletions examples/Rn069/scripts/config.sh

This file was deleted.

9 changes: 0 additions & 9 deletions examples/Rn069/scripts/kill.sh

This file was deleted.

16 changes: 0 additions & 16 deletions examples/Rn069/scripts/launch.sh

This file was deleted.

11 changes: 0 additions & 11 deletions examples/Rn069/scripts/launch2.sh

This file was deleted.

4 changes: 0 additions & 4 deletions examples/Rn069/scripts/start-android-emulator.sh

This file was deleted.

Loading

0 comments on commit dd9e362

Please sign in to comment.