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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillKeyboardAccessoryTest.java

Issue 2126213002: [Payments] Record use of profiles and credit cards in Payment Request. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed temp card bug + nits Created 4 years, 5 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: chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillKeyboardAccessoryTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillKeyboardAccessoryTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillKeyboardAccessoryTest.java
index 88d92e743b090393e7411e59f1567d49f48449f6..8421a411df2979096c9677615c2bb9113be2d317 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillKeyboardAccessoryTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillKeyboardAccessoryTest.java
@@ -49,7 +49,8 @@ public class AutofillKeyboardAccessoryTest extends ChromeActivityTestCaseBase<Ch
@Override
public void startMainActivity() throws InterruptedException {}
- private void loadTestPage(boolean isRtl) throws InterruptedException, ExecutionException {
+ private void loadTestPage(boolean isRtl) throws InterruptedException, ExecutionException,
+ TimeoutException {
startMainActivityWithURL(UrlUtils.encodeHtmlDataUri("<html"
+ (isRtl ? " dir=\"rtl\"" : "")
+ "><head>"
@@ -101,7 +102,7 @@ public class AutofillKeyboardAccessoryTest extends ChromeActivityTestCaseBase<Ch
@MediumTest
@Feature({"keyboard-accessory"})
public void testAutofocusedFieldDoesNotShowKeyboardAccessory() throws InterruptedException,
- ExecutionException {
+ ExecutionException, TimeoutException {
loadTestPage(false);
assertTrue("Keyboard accessory should be hidden.",
ThreadUtils.runOnUiThreadBlocking(new Callable<Boolean>() {

Powered by Google App Engine
This is Rietveld 408576698