-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Updating some native mobile UI tests #26691
Conversation
Size Change: 0 B Total Size: 1.21 MB ℹ️ View Unchanged
|
004fe98
to
d9e55fb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for these changes @hypest The code looks good! The tests have been successful on Android so far but I haven't been able to reproduce the auto-suggestions pop up on my emulator. Is there a setting I might need to enable?
Ah, not sure @jd-alexander. I've only noticed this on my physical Pixel 2XL, haven't tried an Android 10 emulator, although I did try an Android 8 emulator to make sure the "trick" is not breaking the tests on other Android versions. I'll try to spin up an Android 10 emulator on my side to check. Edit: can't make the Android 10 emulator do it, perhaps it's a feature only on the Pixel phones 🤔. |
Also, let me know what you think about optimistically merging this since it doesn't seem to break the existing tests, and it's not a functional change anyway. |
I'm totally fine with this 🙏🏾 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All tests pass on Android and iOS. LGTM 🚢
Description
PR to update some native mobile UI tests that fail locally.
How has this been tested?
Locally on an Android 10 device (Pixel 2 XL) via issuing
npm run test:e2e:android:local
and on an iOS v14.1 simulator vianpm run test:e2e:ios:local
.Types of changes

The updated code is dismissing the popup by looking for the `Dismiss Smart Suggestion` content-description and tapping on it.Checklist: