-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Experimental detox based tests (#145)
* Experimenting with detox e2e tests * WIP * Working TS tests * Upgrades detox to 7.3.7 * Updates detox config and readme * Tentative ios e2e build step * fixes typo * Install required tools * Updated Detox config to use iPhone 6, iOS 11.2 see available sims: https://circle-macos-docs.s3.amazonaws.com/image-manifest/build-419/index.html * Sets test timeout to 5mins * verbose pod install * Upgrades detox to 7.4.0 * Upgrades to detox@7.4.3 * Prestart ios simulator, collect logs * Install ios-sim * Tentative storing simulator logs * Upgrades detox to 8.0.0 * Run Detox on release build * Removes detox types (conflicts with jest) * Adds articacts recording * Register Jest adapter as Jasmine reporter * Tentative fix for native-base Utils issue * Splits detox build from running tests * Install detox and sim utils before running tests * Tentative fix for https://circleci.com/gh/teamdigitale/italia-app/3843 * Attempts to avoid flacky e2e tests by waiting for login button to appear * Removes match on idp grid * Refactored tests * Disables synchronization, increase log verbosity * Disable video recording of tests, requires hardware acceleration * Skip storing (non existing) simulator logs * A few fixes and make tests continue previous one * Removes unused var * Tentatively made app start faster
- Loading branch information
Showing
11 changed files
with
1,050 additions
and
196 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"modulePaths": [ | ||
"<rootDir>" | ||
], | ||
"moduleFileExtensions": [ | ||
"ts", | ||
"tsx", | ||
"js" | ||
], | ||
"transform": { | ||
"^.+\\.(ts|tsx)$": "<rootDir>/node_modules/ts-jest/preprocessor.js" | ||
}, | ||
"testMatch": [ | ||
"**/__e2e__/*.e2e.ts?(x)" | ||
], | ||
"forceExit": true, | ||
"verbose": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.