Skip to content

test: Add detox with a simple e2e test#396

Merged
amaury1093 merged 20 commits intomasterfrom
am-detox
Apr 10, 2020
Merged

test: Add detox with a simple e2e test#396
amaury1093 merged 20 commits intomasterfrom
am-detox

Conversation

@amaury1093
Copy link
Copy Markdown
Member

@amaury1093 amaury1093 commented Jan 10, 2020

fixes #19

blocked by the same issue as yaron1m/expo-detox-typescript-example#5

Quickstart:

  1. run ./e2e/dl_expo_bins.sh
  2. run yarn start, spawn up the ios simulator
  3. in another terminal, run yarn test:e2e

@amaury1093 amaury1093 added help wanted Extra attention is needed WIP Work in Progress labels Jan 10, 2020
@frankcalise
Copy link
Copy Markdown

Any luck with this lately?

@amaury1093
Copy link
Copy Markdown
Member Author

No, still blocked... Would appreciate help on this one

@frankcalise
Copy link
Copy Markdown

frankcalise commented Feb 25, 2020

Yeah I'm struggling with it also. What have you tried? Latest detox as well? Are you trying Android emulator or iOS sim?

I have managed to get Appium to run for an Android emulator.

@amaury1093
Copy link
Copy Markdown
Member Author

What I tried is in this PR: latest detox (or almost latest, not sure) + ios simulator

@frankcalise
Copy link
Copy Markdown

Any success?

@amaury1093 amaury1093 merged commit b45bd83 into master Apr 10, 2020
@amaury1093 amaury1093 deleted the am-detox branch April 10, 2020 19:31
amaury1093 added a commit that referenced this pull request Apr 28, 2020
* test: Add detox with a simple e2e test (#396)

* Try with latest detox

* Try on Github action

* Fix syntax

* Generate app.json

* Remove test

* Show yarn start output

* Try tunnel

* Correct start command

* No tunnel

* Give some buffer

* Record videos

* Fix command

* Always upload artifact

* Update version

* Add a waitFor

* Timeout 3min

* 30 min timeout

* Add timeout for 1st test

* Add console

* reloadApp beforeAll

* ci: Use only one job for production (#537)

* chore(deps): Bump @apollo/client from 3.0.0-beta.41 to 3.0.0-beta.43 (#539)

Bumps [@apollo/client](https://github.com/apollographql/apollo-client) from 3.0.0-beta.41 to 3.0.0-beta.43.
- [Release notes](https://github.com/apollographql/apollo-client/releases)
- [Changelog](https://github.com/apollographql/apollo-client/blob/master/CHANGELOG.md)
- [Commits](apollographql/apollo-client@v3.0.0-beta.41...v3.0.0-beta.43)

Signed-off-by: dependabot-preview[bot] <[email protected]>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* chore(deps): Bump expo-font from 8.1.0 to 8.1.1 (#542)

Bumps [expo-font](https://github.com/expo/expo/tree/HEAD/packages/expo-font) from 8.1.0 to 8.1.1.
- [Release notes](https://github.com/expo/expo/releases)
- [Changelog](https://github.com/expo/expo/blob/master/packages/expo-font/CHANGELOG.md)
- [Commits](https://github.com/expo/expo/commits/HEAD/packages/expo-font)

Signed-off-by: dependabot-preview[bot] <[email protected]>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* chore(deps): Bump date-fns from 2.11.1 to 2.12.0 (#538)

Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.11.1 to 2.12.0.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/master/CHANGELOG.md)
- [Commits](date-fns/date-fns@v2.11.1...v2.12.0)

Signed-off-by: dependabot-preview[bot] <[email protected]>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* chore(deps): Bump @types/react-native from 0.62.1 to 0.62.2 (#545)

Bumps [@types/react-native](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-native) from 0.62.1 to 0.62.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-native)

Signed-off-by: dependabot-preview[bot] <[email protected]>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* chore(deps): Bump @types/i18n-js from 3.0.1 to 3.0.2 (#540)

Bumps [@types/i18n-js](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/i18n-js) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/i18n-js)

Signed-off-by: dependabot-preview[bot] <[email protected]>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* fix(deps): Update Expo to 37.0.7 (#548)

* chore(deps): Bump @apollo/react-hooks from 3.1.4 to 3.1.5 (#553)

Bumps [@apollo/react-hooks](https://github.com/apollographql/react-apollo) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/apollographql/react-apollo/releases)
- [Changelog](https://github.com/apollographql/react-apollo/blob/@apollo/[email protected]/Changelog.md)
- [Commits](https://github.com/apollographql/react-apollo/compare/@apollo/[email protected]...@apollo/[email protected])

Signed-off-by: dependabot-preview[bot] <[email protected]>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* chore(deps): Bump detox from 16.1.1 to 16.2.1 (#555)

Bumps [detox](https://github.com/wix/Detox) from 16.1.1 to 16.2.1.
- [Release notes](https://github.com/wix/Detox/releases)
- [Commits](wix/Detox@16.1.1...16.2.1)

Signed-off-by: dependabot-preview[bot] <[email protected]>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* fix: Improve translations slightly (#556)

* chore(release): 1.6.3

* fix: Fix production.yml not running on CI (#557)

* Try GITHB)REF

* try

* Try with set-env

* Remove id vars

* Should work

* chore(release): 1.6.4

* fix: Remove Apollo warning about cache (#558)

* fix: Remove Apollo warning about cache

* Update Apollo Client

* Lint all files

* Regenerate yarn

* chore(release): 1.6.5

* chore(deps): Bump @types/react-native from 0.60.31 to 0.62.4 (#566)

Bumps [@types/react-native](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-native) from 0.60.31 to 0.62.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-native)

Signed-off-by: dependabot-preview[bot] <[email protected]>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* chore(deps): Bump detox from 16.2.1 to 16.3.0 (#559)

Bumps [detox](https://github.com/wix/Detox) from 16.2.1 to 16.3.0.
- [Release notes](https://github.com/wix/Detox/releases)
- [Commits](wix/Detox@16.2.1...16.3.0)

Signed-off-by: dependabot-preview[bot] <[email protected]>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* fix(deps): Bump expo to 37.0.8 (#567)

* fix: Use our own FCM credentials (#568)

* fix: Use our own FCM credentials

* Only add googleServicesFile if necessary

* timeout 10s

* chore(release): 1.6.6

* fix: Fix production build (#569)

* Try

* Fix generate script

* chore(release): 1.6.7

* fix: Fix using staging URL in prod (#570)

* chore(release): 1.6.8

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

help wanted Extra attention is needed WIP Work in Progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add E2E tests using some automated simulator

2 participants