| Index: ios/chrome/browser/ui/ntp/recent_tabs/recent_tabs_panel_controller_egtest.mm
|
| diff --git a/ios/chrome/browser/ui/ntp/recent_tabs/recent_tabs_panel_controller_egtest.mm b/ios/chrome/browser/ui/ntp/recent_tabs/recent_tabs_panel_controller_egtest.mm
|
| index a062b2123038bed6b5f690b423f41b1fa3072940..03b720efcb0bc4ab377be6d59f96c47749f532e4 100644
|
| --- a/ios/chrome/browser/ui/ntp/recent_tabs/recent_tabs_panel_controller_egtest.mm
|
| +++ b/ios/chrome/browser/ui/ntp/recent_tabs/recent_tabs_panel_controller_egtest.mm
|
| @@ -107,10 +107,7 @@ id<GREYMatcher> RecentlyClosedLabelMatcher() {
|
|
|
| // Open the test page in a new tab.
|
| [ChromeEarlGrey loadURL:testPageURL];
|
| - id<GREYMatcher> webViewMatcher =
|
| - chrome_test_util::WebViewContainingText("hello");
|
| - [[EarlGrey selectElementWithMatcher:webViewMatcher]
|
| - assertWithMatcher:grey_notNil()];
|
| + [ChromeEarlGrey waitForWebViewContainingText:"hello"];
|
|
|
| // Open the Recent Tabs panel, check that the test page is not
|
| // present.
|
|
|