-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Detox 20] feat: new global lifecycle for Detox #3333
Merged
Merged
Conversation
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
noomorph
force-pushed
the
breaking/new-global-lifecycle
branch
3 times, most recently
from
April 21, 2022 14:42
9e10195
to
de932ac
Compare
noomorph
force-pushed
the
breaking/new-global-lifecycle
branch
2 times, most recently
from
April 26, 2022 14:00
7c7f480
to
2daa216
Compare
noomorph
force-pushed
the
breaking/new-global-lifecycle
branch
from
May 13, 2022 11:23
2daa216
to
505114a
Compare
@noomorph can this be changed to draft? |
noomorph
force-pushed
the
breaking/new-global-lifecycle
branch
from
May 17, 2022 15:34
505114a
to
3c77315
Compare
noomorph
changed the title
feat: new global lifecycle for Detox
[WiP] feat: new global lifecycle for Detox
May 18, 2022
@d4vidi , no, GitHub does not allow changing back to drafts. |
noomorph
force-pushed
the
breaking/new-global-lifecycle
branch
2 times, most recently
from
May 27, 2022 16:23
37be973
to
2806d31
Compare
noomorph
force-pushed
the
breaking/new-global-lifecycle
branch
from
May 27, 2022 16:37
2806d31
to
1379f6a
Compare
noomorph
force-pushed
the
breaking/new-global-lifecycle
branch
from
August 10, 2022 06:26
5c9f55d
to
e2c5a03
Compare
noomorph
force-pushed
the
breaking/new-global-lifecycle
branch
from
August 15, 2022 07:42
f4a3885
to
b0d1f2e
Compare
noomorph
force-pushed
the
breaking/new-global-lifecycle
branch
from
August 18, 2022 07:31
29ae52f
to
3e1b22b
Compare
noomorph
force-pushed
the
breaking/new-global-lifecycle
branch
from
August 23, 2022 09:36
3e1b22b
to
e7acceb
Compare
noomorph
changed the title
[Detox 20] (WiP) feat: new global lifecycle for Detox
[Detox 20] feat: new global lifecycle for Detox
Sep 5, 2022
noomorph
added a commit
that referenced
this pull request
Nov 10, 2022
* feat: set minimal Node requirement to 14.5.x * feat: drop old Jest integrations BREAKING CHANGE: please upgrade to jest-circus https://wix.github.io/Detox/docs/guide/jest/ * feat(config): drop default "e2e" value for specs (#3289) BREAKING CHANGE: Detox won't be appending "e2e" glob to the test runner if it is not explicitly configured to do so via "specs" property in the config. * feat(config): drop skipLegacyWorkersInjection (#3286) BREAKING CHANGE: Detox will no longer be injecting "-w 1" to Jest as CLI arguments * feat(android): boot read-only emulators by default * feat(iOS): support --headless config (#3304) BREAKING: opens Simulator app by default unless the headless mode is enabled * feat: drop Mocha support (#3310) BREAKING: Detox users should migrate to Jest * feat(android): remove deprecated native IdlePolicyConfig (#3332) BREAKING CHANGE * feat: drop device.appLaunchArgs [options] argument (#3360) BREAKING: use device.appLaunchArgs.shared for permanent operations * feat: remove ios.none device type (#3361) * feat: undeprecate device.relaunchApp() (#3362) * feat(config): remove legacy dash-based props (#3371) BREAKING: removes test-runner and runner-config props from Detox global config. Use testRunner and runnerConfig instead. * feat(config): drop support for the all-in-one configuration format (#3386) BREAKING: please migrate to the new { apps, devices, configurations } schema that Detox has been already using for more than a year. * feat: drop jest<27.2.5 support (#3392) BREAKING: please migrate your projects to Jest 28.x or 27.x * fix(ios): headless mode * feat: new global lifecycle for Detox (#3333) * fix(cli): forward env overrides anyway * feat(config): add testRunner.forwardEnv Also, fixes --inspect-brk debugging experience. Now the entire debug happens in a single test runner process. * feat(api): detoxInternals.tracing.createEventStream * feat(config): add reversePorts to app config (#3610) * fix(Android): pass `headless` config param to the AVD validator. (#3614) * feat(cli): add reset-lock-file command * website: add Showcase page * website: homepage changes * feat(cli): drop --device-launch-args arg (#3665) BREAKING: use --device-boot-args instead Co-authored-by: Asaf Korem <asaf.korem@gmail.com> Co-authored-by: d4vidi <amit.d4vidi@gmail.com> Co-authored-by: jasonbariwix <jasonba@wix.com> Co-authored-by: Yevheniia Hlovatska <33955728+evgeniyaglovatskaya@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Resolves #3354
Reasoning
Why did I touch logs?
Because the global context now allows merging the logs in a cleaner way after the test session ends.
Why did I touch trace/traceCall?
Not sure, maybe just for fun. I consider it to be smart to use a logging mechanism to produce timelines. That might be optional – maybe I'll revert most of the change.