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

Always explicitly start test activity #214

Conversation

KovalevAndrey
Copy link
Collaborator

@KovalevAndrey KovalevAndrey commented Oct 12, 2022

Description

Fixes #213

AppyxViewTestRule merges composeTestRule and ActivityTestRule to make it easier to use for the clients. However if we automatically start activity we see the crash with stacktrace:

(3) setContent was called before the ComposeTestRule ran. If setContent is called by the Activity, make sure the Activity is launched after the ComposeTestRule runs

To avoid this instead automatic activity launching we could start activity explicitly.

Check list

  • I have updated CHANGELOG.md if required.
  • I have updated documentation if required.

@CherryPerry CherryPerry linked an issue Oct 12, 2022 that may be closed by this pull request
@KovalevAndrey KovalevAndrey merged commit 9a2b3ed into bumble-tech:1.x Oct 12, 2022
@KovalevAndrey KovalevAndrey deleted the always-start-test-activity-explicitly branch October 12, 2022 16:02
@KovalevAndrey KovalevAndrey added this to the 1.0 milestone Oct 19, 2022
@KovalevAndrey KovalevAndrey added the bug Something isn't working label Oct 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AppyxViewTestRule.launchActivity inconsistency
2 participants