Skip to content
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

Remove usage of deprecated ActivityTestRule #3134

Open
d4vidi opened this issue Dec 12, 2021 · 2 comments
Open

Remove usage of deprecated ActivityTestRule #3134

d4vidi opened this issue Dec 12, 2021 · 2 comments

Comments

@d4vidi
Copy link
Collaborator

d4vidi commented Dec 12, 2021

Is your feature request related to a problem? Please describe.
Introducing #2817 would officially make the users' code in DetoxTest.java use a deprecated AndroidX-Test API (i.e. the ActivityTestRule class), which is undesired and in a sense can be considered a tech debt.

Associated with this discussion: #2838

Describe the solution you'd like
Don't use ActivityTestRule. Instead, introduce a Detox encapsulation which implements an Espresso rule under the covers. Most likely, should be done using ActivityScenarioRule.

Describe alternatives you’ve considered
N/A

Additional context
N/A

@stale
Copy link

stale bot commented Jan 12, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you believe the issue is still relevant, please test on the latest Detox and report back.

Thank you for your contributions!

For more information on bots in this reporsitory, read this discussion.

@stale stale bot added the 🏚 stale label Jan 12, 2022
@stale
Copy link

stale bot commented Jan 19, 2022

The issue has been closed for inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants