| Index: ios/chrome/browser/ui/webui/web_ui_egtest.mm
|
| diff --git a/ios/chrome/browser/ui/webui/web_ui_egtest.mm b/ios/chrome/browser/ui/webui/web_ui_egtest.mm
|
| index 948fca8d2cb8d40835b5846f647acfec56a4d3d0..972666dd5e614b9910f88030d4e3713e388f754d 100644
|
| --- a/ios/chrome/browser/ui/webui/web_ui_egtest.mm
|
| +++ b/ios/chrome/browser/ui/webui/web_ui_egtest.mm
|
| @@ -29,7 +29,6 @@
|
|
|
| using chrome_test_util::BackButton;
|
| using chrome_test_util::ForwardButton;
|
| -using chrome_test_util::StaticHtmlViewContainingText;
|
| using chrome_test_util::TapWebViewElementWithId;
|
| using chrome_test_util::WebViewContainingText;
|
|
|
| @@ -122,8 +121,7 @@ id<GREYMatcher> WaitForOmniboxText(std::string text) {
|
| [[EarlGrey selectElementWithMatcher:WaitForOmniboxText("chrome://terms")]
|
| assertWithMatcher:grey_sufficientlyVisible()];
|
| NSString* kTermsText = @"Google Chrome Terms of Service";
|
| - [[EarlGrey selectElementWithMatcher:StaticHtmlViewContainingText(kTermsText)]
|
| - assertWithMatcher:grey_notNil()];
|
| + [ChromeEarlGrey waitForStaticHTMLViewContainingText:kTermsText];
|
| }
|
|
|
| // Tests that back navigation functions properly after navigation via anchor
|
|
|