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

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

Issue 2617393003: [ios] EarlGrey tests for HTTP Authentication. (Closed)
Patch Set: Actually disabled tests on iPad Created 3 years, 11 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/web/forms_egtest.mm
diff --git a/ios/chrome/browser/web/forms_egtest.mm b/ios/chrome/browser/web/forms_egtest.mm
index 00ce6b3531fc6ee59782068b2043873993949e0e..1ae8a936e8a9891f1abf28d70f9c36e03ab23b4c 100644
--- a/ios/chrome/browser/web/forms_egtest.mm
+++ b/ios/chrome/browser/web/forms_egtest.mm
@@ -259,9 +259,8 @@ const char kExpectedPostData[] = "POST Data=Unicorn";
performAction:grey_tapAtPoint(CGPointMake(50.0f, 50.0f))];
} else {
// On handset, dismiss via the cancel button.
- id<GREYMatcher> cancel =
- chrome_test_util::buttonWithAccessibilityLabelId(IDS_CANCEL);
- [[EarlGrey selectElementWithMatcher:cancel] performAction:grey_tap()];
+ [[EarlGrey selectElementWithMatcher:chrome_test_util::cancelButton()]
+ performAction:grey_tap()];
}
// Check that the POST is changed to a GET
[self waitForExpectedResponse:"GET"];

Powered by Google App Engine
This is Rietveld 408576698