Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Upgrade AndroidX Espresso Deps and support API 30 #23904

Merged
merged 1 commit into from
Apr 27, 2022

Conversation

AaronMT
Copy link
Contributor

@AaronMT AaronMT commented Feb 22, 2022

For #23676. Opening as draft to shake out test issues and fix them as they come.

@AaronMT AaronMT added the eng:ui-test UI Tests label Feb 22, 2022
@AaronMT AaronMT self-assigned this Feb 22, 2022
@AaronMT AaronMT force-pushed the androidx-dep-UI-test-upgrade branch 3 times, most recently from 93a5d9b to e4ef7e9 Compare February 23, 2022 17:49
@AaronMT AaronMT force-pushed the androidx-dep-UI-test-upgrade branch 16 times, most recently from 930457f to 1d5fe0b Compare March 2, 2022 18:57
@AaronMT AaronMT closed this Mar 2, 2022
@AaronMT AaronMT reopened this Mar 2, 2022
@AaronMT AaronMT force-pushed the androidx-dep-UI-test-upgrade branch from 1d5fe0b to 08d2a12 Compare March 3, 2022 19:14
@AaronMT AaronMT closed this Mar 3, 2022
@AaronMT AaronMT reopened this Mar 3, 2022
@AaronMT AaronMT force-pushed the androidx-dep-UI-test-upgrade branch 3 times, most recently from e3d137c to 3779745 Compare March 9, 2022 18:43
@AaronMT AaronMT force-pushed the androidx-dep-UI-test-upgrade branch 7 times, most recently from 5c8bf13 to d13c496 Compare April 20, 2022 21:02
@AaronMT AaronMT force-pushed the androidx-dep-UI-test-upgrade branch 6 times, most recently from 8cd8333 to e964d3b Compare April 25, 2022 20:52
// allow app to record video
clickAppPermissionButton(false)
// allow app to record audio
clickAppPermissionButton(false)
Copy link
Contributor

Choose a reason for hiding this comment

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

can we keep this test for full coverage by using the clickDenyAppPermissionButton() method? I see there's a rule to grant camera and mic permissions by default, so maybe this is feasible only in a separate test class?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note: Re-visit after landing as is

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Tracking in: #23298

navigationToolbar {
}.enterURLAndEnterToBrowser(testPage.toUri()) {
}.clickStartMicrophoneButton {
clickAppPermissionButton(false)
Copy link
Contributor

Choose a reason for hiding this comment

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

same as above, can we keep this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note: Re-visit after landing as is

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Tracking in: #23298

}

fun clickDenyAppPermissionButton() {
TestHelper.denyPermission()
Copy link
Contributor

Choose a reason for hiding this comment

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

See my comments about using this method to keep two tests. Otherwise, this is not used anywhere and in that case, could be deleted?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note: Re-visit after landing as is

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Tracking in: #23298

@AaronMT AaronMT force-pushed the androidx-dep-UI-test-upgrade branch 5 times, most recently from 9440094 to a6db976 Compare April 26, 2022 21:05
@AaronMT AaronMT marked this pull request as ready for review April 26, 2022 22:22
@AaronMT AaronMT requested review from a team as code owners April 26, 2022 22:22
@AaronMT AaronMT force-pushed the androidx-dep-UI-test-upgrade branch from a6db976 to 27e4d2b Compare April 27, 2022 12:53
@AaronMT AaronMT merged commit 04daad8 into mozilla-mobile:main Apr 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
eng:ui-test UI Tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants