[ios] fix badgetextview EGTest

The TextBadgeView need to be explicitly accessible. In addition,
it is better to use an identifier instead of label to validate.

Bug: 1100811
Change-Id: I5e4a58d177d62a0f69fb85d84d16bad60f444cc5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2283900
Commit-Queue: Chris Lu <thegreenfrog@chromium.org>
Reviewed-by: Gauthier Ambard <gambard@chromium.org>
Reviewed-by: edchin <edchin@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#787463}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 65940718cea625c4a251fefe98cd9b908bc5b5b5
3 files changed