Skip to content

Run UI tests on API 34 #3723

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Run UI tests on API 34 #3723

wants to merge 1 commit into from

Conversation

AndiAJ
Copy link
Contributor

@AndiAJ AndiAJ commented Jul 21, 2025

Notes

All UI tests successfully passed 2x on Firebase ✅

Pull Request checklist

@AndiAJ AndiAJ changed the title Status check UI tests on API 34 Run UI tests on API 34 Jul 21, 2025
@AndiAJ AndiAJ marked this pull request as ready for review July 21, 2025 13:16
@AndiAJ AndiAJ requested a review from AaronMT July 21, 2025 13:16
@AndiAJ AndiAJ self-assigned this Jul 21, 2025
@AndiAJ AndiAJ added the eng:ui-test UI Tests label Jul 21, 2025
@@ -32,11 +34,21 @@ class ContextMenusTest {
dispatcher = AndroidAssetDispatcher()
start()
}

// Prevent the System UI from reading the clipboard content
if (Build.VERSION.SDK_INT == Build.VERSION_CODES.UPSIDE_DOWN_CAKE) {
Copy link
Contributor

@AaronMT AaronMT Jul 21, 2025

Choose a reason for hiding this comment

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

Should these checks be >= if not because we don't know, we should add a comment as the known tested version up to Android 14

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not sure, since we didn't verify all APIs and it was only required for 34 we are only checking for it.

fun clickSystemHomeScreenShortcutAddButton() {
when (Build.VERSION.SDK_INT) {
in Build.VERSION_CODES.O..Build.VERSION_CODES.R -> clickAddAutomaticallyButton()
in Build.VERSION_CODES.S..Build.VERSION_CODES.UPSIDE_DOWN_CAKE -> clickAddToHomeScreenButton()
Copy link
Contributor

@AaronMT AaronMT Jul 21, 2025

Choose a reason for hiding this comment

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

I would just add a comment stating that this is up to Android 14 as a known tested version unless we know Android 15 is the same, we could just extend to VANILLA_ICE_CREAM

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done !

@AndiAJ AndiAJ force-pushed the API34 branch 2 times, most recently from 25053b5 to dfb912a Compare July 21, 2025 15:00
@AndiAJ AndiAJ requested a review from AaronMT July 21, 2025 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
eng:ui-test UI Tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants