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

Unified Diff: ios/chrome/browser/web/browsing_egtest.mm

Issue 2793233004: Add wait to testBrowsingPostEntryWithKeyboard. (Closed)
Patch Set: edit comment 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/web/browsing_egtest.mm
diff --git a/ios/chrome/browser/web/browsing_egtest.mm b/ios/chrome/browser/web/browsing_egtest.mm
index a134f5b1983d82db9f3f647d9ebba49ee8968832..1e82fe6a8493e4fd0afb48c7242e9df1dc4ab6c6 100644
--- a/ios/chrome/browser/web/browsing_egtest.mm
+++ b/ios/chrome/browser/web/browsing_egtest.mm
@@ -627,6 +627,9 @@ id<GREYMatcher> GoButtonMatcher() {
[[GREYConfiguration sharedInstance]
setValue:@YES
forConfigKey:kGREYConfigKeySynchronizationEnabled];
+
+ // Ensure that the new page loaded before continuing.
+ [ChromeEarlGrey waitForPageToFinishLoading];
Eugene But (OOO till 7-30) 2017/04/05 04:52:41 According to API contract this method just enters
gchatz 2017/04/05 23:43:53 In order for Go to be in the keyboard, the textfie
Eugene But (OOO till 7-30) 2017/04/06 00:28:18 The method name is |openKeyboardAndTapGoButtonWith
}
// Tests that submitting a POST-based form by tapping the 'Go' button on the
« 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