Skip to content

Commit

Permalink
fix: workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
kobenguyent committed Feb 15, 2024
1 parent dd72a40 commit 34f52bd
Show file tree
Hide file tree
Showing 2,401 changed files with 32 additions and 418,479 deletions.
Binary file modified .DS_Store
Binary file not shown.
74 changes: 0 additions & 74 deletions .detoxrc.js

This file was deleted.

6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,9 @@ test/output
test/Gemfile.lock

test/android/.gradle
/test/android/local.properties
/test/android/app/src/main/assets/index.android.bundle
/test/android/app/build/generated
/test/android/app/build/intermediates

test/vendor
18 changes: 12 additions & 6 deletions test/Detox_Acceptance_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,21 @@ const {I} = inject();
Feature('Acceptance Tests');

Scenario('App started', () => {
I.see('Welcome to\nReact Native');
I.see('Welcome');
})

Scenario('Get platform', async () => {
const platform = await I.grabPlatform();
I.expectEqual(platform, 'ios');
I.expectEqual(platform, 'android');
})

Scenario('Scroll up', async () => {
I.swipeUp('~Debug');
I.dontSee('Welcome to\nReact Native');
})
Scenario('Show hello screen after tap', () => {
I.dontSee('Hello!!!');
I.click('#hello_button');
I.see('Hello!!!');
});

Scenario('Show world screen after tap', () => {
I.click('#world_button');
I.see('World!!!');
});
101 changes: 0 additions & 101 deletions test/Gemfile.lock

This file was deleted.

Binary file added test/android/.DS_Store
Binary file not shown.
Binary file added test/android/app/.DS_Store
Binary file not shown.
Binary file removed test/android/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
6 changes: 0 additions & 6 deletions test/android/gradle/wrapper/gradle-wrapper.properties

This file was deleted.

2 changes: 1 addition & 1 deletion test/codecept.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export const config = {
helpers: {
Detox: {
require: '../Detox.js',
configuration: 'android.emu.debug',
configuration: 'android.emu.release',
reloadReactNative: true,
reuse: true,
},
Expand Down
14 changes: 13 additions & 1 deletion test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@
"author": "",
"license": "ISC",
"dependencies": {
"@react-native/metro-config": "^0.73.5",
"codeceptjs": "^3.5.12",
"detox": "20.18.1",
"metro-react-native-babel-preset": "^0.77.0",
"react": "^18.2.0",
"react-native": "^0.73.4"
},
"devDependencies": {
Expand All @@ -30,6 +33,10 @@
"android.emu.debug": {
"device": "emulator",
"app": "android.debug"
},
"android.emu.release": {
"device": "emulator",
"app": "android.release"
}
},
"apps": {
Expand All @@ -40,8 +47,13 @@
},
"android.debug": {
"type": "android.apk",
"binaryPath": "android/app/build/outputs/apk/debug/app-debug.apk",
"binaryPath": "../test/android/app/build/outputs/apk/debug/app-debug.apk",
"build": "cd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug"
},
"android.release": {
"type": "android.apk",
"binaryPath": "../test/android/app/build/outputs/apk/release/app-release.apk",
"build": "cd android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release"
}
},
"devices": {
Expand Down
27 changes: 0 additions & 27 deletions test/vendor/bundle/ruby/2.6.0/bin/fuzzy_match

This file was deleted.

27 changes: 0 additions & 27 deletions test/vendor/bundle/ruby/2.6.0/bin/httpclient

This file was deleted.

27 changes: 0 additions & 27 deletions test/vendor/bundle/ruby/2.6.0/bin/pod

This file was deleted.

27 changes: 0 additions & 27 deletions test/vendor/bundle/ruby/2.6.0/bin/sandbox-pod

This file was deleted.

Loading

0 comments on commit 34f52bd

Please sign in to comment.