| Index: ios/chrome/browser/ui/history/history_ui_egtest.mm
|
| diff --git a/ios/chrome/browser/ui/history/history_ui_egtest.mm b/ios/chrome/browser/ui/history/history_ui_egtest.mm
|
| index e86fa3d56e60a3014aa63aee9a42a5bfb8caed39..014dfa30474ce6307686f3576a378d59d31f47b9 100644
|
| --- a/ios/chrome/browser/ui/history/history_ui_egtest.mm
|
| +++ b/ios/chrome/browser/ui/history/history_ui_egtest.mm
|
| @@ -391,9 +391,9 @@ void MockSignIn() {
|
| // Include sufficientlyVisible condition for the case of the clear browsing
|
| // dialog, which also has a "Done" button and is displayed over the history
|
| // panel.
|
| - id<GREYMatcher> visibleDoneButton = grey_allOf(
|
| - ButtonWithAccessibilityLabelId(IDS_IOS_NAVIGATION_BAR_DONE_BUTTON),
|
| - grey_sufficientlyVisible(), nil);
|
| + id<GREYMatcher> visibleDoneButton =
|
| + grey_allOf(chrome_test_util::NavigationBarDoneButton(),
|
| + grey_sufficientlyVisible(), nil);
|
| [[EarlGrey selectElementWithMatcher:visibleDoneButton]
|
| performAction:grey_tap()];
|
|
|
|
|