[iOS] Fix for NTP test failure on iOS 15 SDK simulator bot

testTapFakeOmniboxScroll and
NTPHomeTestCase/testTapFakeOmniboxScrollScrolled were failing on an
iPhone X because the test tries to bring the fake omnibox out of focus
but doesn't tap into the proper area to "unfocus" the omnibox.
We have changed logic so that we tap the "dismiss keyboard" button
instead to unfocus the omnibox.

Bug: 1326523, 1326875
Change-Id: Ic855ec038002c02130cc75cd3b0213a57da7cc6f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3652858
Commit-Queue: Joemer Ramos <joemerramos@chromium.org>
Reviewed-by: Chris Lu <thegreenfrog@chromium.org>
Reviewed-by: Justin Cohen <justincohen@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1007916}
GitOrigin-RevId: 5b6bb9c91ecdceff5e12990ce82b19970f63f738
1 file changed