Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kobenguyent committed Feb 15, 2024
1 parent 76471c6 commit 6aa7696
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 0 additions & 1 deletion Detox.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ class Detox extends Helper {
process.argv.push('--artifacts-location');
process.argv.push(global.output_dir + '/');
}
process.argv.push('--headless')
}

_useDetoxFunctions() {
Expand Down
5 changes: 5 additions & 0 deletions test/Detox_Acceptance_test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
const {I} = inject();
Feature('Acceptance Tests');

Before(() => {
I.launchApp();
I.wait(15);
})

Scenario('App started', () => {
I.see('Welcome');
})
Expand Down
1 change: 0 additions & 1 deletion test/codecept.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ export const config = {
Detox: {
require: '../Detox.js',
configuration: 'android.emu.release',
reloadReactNative: true,
reuse: true,
},
Expect: {}
Expand Down

0 comments on commit 6aa7696

Please sign in to comment.