| Index: ios/chrome/browser/ui/toolbar/toolbar_egtest.mm
|
| diff --git a/ios/chrome/browser/ui/toolbar/toolbar_egtest.mm b/ios/chrome/browser/ui/toolbar/toolbar_egtest.mm
|
| index 0c4d4f182bffbd456b06277a28cc3da0c2a27445..f8fa90d490b69e5c9d60866cef37ec30a8542a98 100644
|
| --- a/ios/chrome/browser/ui/toolbar/toolbar_egtest.mm
|
| +++ b/ios/chrome/browser/ui/toolbar/toolbar_egtest.mm
|
| @@ -32,7 +32,6 @@
|
|
|
| using chrome_test_util::ButtonWithAccessibilityLabelId;
|
| using chrome_test_util::OmniboxText;
|
| -using chrome_test_util::WebViewContainingText;
|
|
|
| // Toolbar integration tests for Chrome.
|
| @interface ToolbarTestCase : ChromeTestCase
|
| @@ -78,8 +77,7 @@ void SelectNewTabPagePanel(NewTabPage::PanelIdentifier panel_type) {
|
| [ChromeEarlGrey loadURL:URL];
|
| [[EarlGrey selectElementWithMatcher:OmniboxText(URL.GetContent())]
|
| assertWithMatcher:grey_notNil()];
|
| - [[EarlGrey selectElementWithMatcher:WebViewContainingText("You've arrived")]
|
| - assertWithMatcher:grey_notNil()];
|
| + [ChromeEarlGrey waitForWebViewContainingText:"You've arrived"];
|
| }
|
|
|
| // Verifies opening a new tab from the tools menu.
|
|
|