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

Unified Diff: ios/chrome/browser/ui/error_page_egtest.mm

Issue 2798033003: Fix ErrorPageTestCase to not wait for a matcher with grey_nil() (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/error_page_egtest.mm
diff --git a/ios/chrome/browser/ui/error_page_egtest.mm b/ios/chrome/browser/ui/error_page_egtest.mm
index 0651839806daa22ef27d638e86bed19f9a50db9c..52fe6f1f38a2f70f69dd3062d6c6c2d34a8fdfcd 100644
--- a/ios/chrome/browser/ui/error_page_egtest.mm
+++ b/ios/chrome/browser/ui/error_page_egtest.mm
@@ -25,6 +25,7 @@
using chrome_test_util::OmniboxText;
using chrome_test_util::TapWebViewElementWithId;
using chrome_test_util::WebViewContainingText;
+using chrome_test_util::WebViewNotContainingText;
using web::test::HttpServer;
@@ -49,8 +50,8 @@ using web::test::HttpServer;
assertWithMatcher:grey_notNil()];
const std::string kError =
l10n_util::GetStringUTF8(IDS_ERRORPAGES_HEADING_NOT_AVAILABLE);
- [[EarlGrey selectElementWithMatcher:WebViewContainingText(kError)]
- assertWithMatcher:grey_nil()];
+ [[EarlGrey selectElementWithMatcher:WebViewNotContainingText(kError)]
+ assertWithMatcher:grey_notNil()];
}
#pragma mark - tests
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698