Update espresso and AndroidX test dependencies#16170
Conversation
|
You can trigger optional UI/connected tests for these changes by visiting CircleCI here. |
|
You can test the changes on this Pull Request by downloading the APKs: |
|
Marking it as ready for review. However, the optional connected tests have failed -> I tried running them on the "drop jetifier" PR and they failed there too with the same error. Asked about it on Slack p1648194352405879-slack-CC7L49W13 |
|
👋 @malinajirka ! Thank you lots for opening this PR and making the effort to update some of the testing dependencies! 🙇
🥇
The only interesting diff I am seeing that we might consider updating in this or a subsequent PR is the
Yeap, a very long changelist indeed. 😅 What if take this opportunity and step back here. We can remove PS.1: As for the |
|
Thanks so much for the review @ParaskP7! I'm not a fan of Robolectric so I'll be more than happy to remove it from the app module. The other proposed change regarding deprecation of |
|
👋 @malinajirka !
😅 Yea, let's do it then! 💯
Great, thank you! 🙇
Doing those changes in this PR sounds reasonable, so I am good if you implement these changes in this PR, if you are okay with that too. 👍 |
|
@ParaskP7 I've made the changes we agreed on. One thing to note is that the documentation recommends wrapping |
|
👋 @malinajirka !
👍 I did check on the changes and everything looks good, thank you so much for applying those changes! 🙇 PS: One minor suggestion (💡) from my part would be to move the
Yes, I agree, it might be just okay for the time being to not do this |
|
@ParaskP7 It seems all the tests are green now. It's ready for another round, thanks! |
ParaskP7
left a comment
There was a problem hiding this comment.
👋 @malinajirka !
Thank you so much for working on this and all the improvements you did, including fixing the ReaderTests, all LGTM, I re-triggered CI because it was failing on the dependency tree diff job and as soon as it gets 🟢 we can merge this!
🎉 🙇 🥇
Merged 🎉 |
Updates Espresso, AndroidX Test and Robolectric dependencies. The main reason for this change is to "unblock" drop jetifier PR -> these changes are actually not necessary for us to be able to drop jetifier since it seems we are not using the parts of espresso that actually use the support dependencies, however, it's cleaner to update them since we can.
Diff of dependencies changes for
wordpressVanillaReleaseRuntimeClasspathis empty.I checked the release notes and haven't noticed any changes which should affect us - https://github.com/android/android-test/releases?page=4.
The changelist for Robolectric is extremely long with no info about behavioral changes vs new apis etc. Since it's a testing dependency I think if our tests are passing it's a good enough check, wdyt?
To test:
Green CI should be enough + I manually started the optional UI tests.
Regression Notes
Potential unintended areas of impact
Tests
What I did to test those areas of impact (or what existing automated tests I relied on)
What automated tests I added (or what prevented me from doing so)
PR submission checklist:
RELEASE-NOTES.txtif necessary.