Commit b254b11c authored by Javier Ernesto Flores Robles's avatar Javier Ernesto Flores Robles Committed by Commit Bot

[iOS][MF] Test Use Other Password

Integration test for other password in Manual Fallback. Should fail
before the fix (crrev.com/c/1784614) is merged.

Bug: 997632
Change-Id: I1c9ea719c85e8ba56fe3a6ca50a1d600e8ad2f26
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1783446Reviewed-by: default avatarMark Cogan <marq@chromium.org>
Commit-Queue: Javier Ernesto Flores Robles <javierrobles@chromium.org>
Cr-Commit-Position: refs/heads/master@{#694250}
parent ed7327b5
......@@ -303,6 +303,25 @@ BOOL WaitForJavaScriptCondition(NSString* java_script_condition) {
assertWithMatcher:grey_sufficientlyVisible()];
}
// Tests that the "Use Other Password..." action works.
- (void)testUseOtherPasswordActionOpens {
// Bring up the keyboard.
[[EarlGrey selectElementWithMatcher:chrome_test_util::WebViewMatcher()]
performAction:chrome_test_util::TapWebElement(kFormElementUsername)];
// Tap on the passwords icon.
[[EarlGrey selectElementWithMatcher:PasswordIconMatcher()]
performAction:grey_tap()];
// Tap the "Manage Passwords..." action.
[[EarlGrey selectElementWithMatcher:OtherPasswordsMatcher()]
performAction:grey_tap()];
// Verify the use other passwords opened.
[[EarlGrey selectElementWithMatcher:OtherPasswordsDismissMatcher()]
assertWithMatcher:grey_sufficientlyVisible()];
}
// Tests that the Password View Controller is not present when presenting UI.
- (void)testPasswordControllerPauses {
// Bring up the keyboard.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment