Skip to content

Commit

Permalink
Write test report
Browse files Browse the repository at this point in the history
  • Loading branch information
tvanlaerhoven committed Oct 31, 2024
1 parent aae4aa8 commit d4c859e
Show file tree
Hide file tree
Showing 8 changed files with 472 additions and 12 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/pr_android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,7 @@ jobs:
force-avd-creation: true
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: true
script: npm run test:e2e:android:release
script: |
npm run test:e2e:android
cat cavy_results.md >> $GITHUB_STEP_SUMMARY
working-directory: e2e
4 changes: 3 additions & 1 deletion .github/workflows/pr_ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,7 @@ jobs:

- name: Run e2e tests
working-directory: e2e
run: npm run test:e2e:ios
run: |
npm run test:e2e:ios
cat cavy_results.md >> $GITHUB_STEP_SUMMARY
5 changes: 1 addition & 4 deletions e2e/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
import { AppRegistry } from 'react-native';
import { TestableApp } from './src/TestableApp';

AppRegistry.registerComponent('ReactNativeTHEOplayerE2E', () => TestableApp);
console.error('This app can only be used with cavy-cli');
4 changes: 4 additions & 0 deletions e2e/index.test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { AppRegistry } from 'react-native';
import { TestableApp } from './src/TestableApp';

AppRegistry.registerComponent('ReactNativeTHEOplayerE2E', () => TestableApp);
Loading

0 comments on commit d4c859e

Please sign in to comment.