Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Unified Diff: ios/chrome/browser/ui/webui/web_ui_egtest.mm

Issue 2784943002: Remove matcher to wait for static HTML view. (Closed)
Patch Set: typo Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698