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

feat: Try testTagsAsResourceId to improve UI tests: RC [WPB-9284] #3594

Conversation

borichellow
Copy link
Contributor

@borichellow borichellow commented Nov 6, 2024

TaskWPB-9284 Try out `testTagsAsResourceIds` using Compose 1.2

RC cherry-pick of #3588

What's new in this PR?

Add testTagsAsResourceId to WireActivity. So the ui elements become accessible to UI tests by testTag.

Copy link
Contributor

github-actions bot commented Nov 6, 2024

Built wire-android-staging-compat-pr-3594.apk is available for download

@@ -203,6 +207,7 @@ class WireActivity : AppCompatActivity() {
}
}

@Suppress("LongMethod")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please extract CommonTopAppBar call to separate function instead.

Copy link

sonarqubecloud bot commented Nov 6, 2024

Copy link
Contributor

github-actions bot commented Nov 6, 2024

Built wire-android-staging-compat-pr-3594.apk is available for download

@borichellow borichellow added this pull request to the merge queue Nov 6, 2024
Merged via the queue into release/candidate with commit 5225e02 Nov 6, 2024
12 of 13 checks passed
@borichellow borichellow deleted the feat/try_test_tags_as_resource_id_to_improve_ui_tests_rc branch November 6, 2024 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants