Index: content/public/android/javatests/src/org/chromium/content/browser/AddressDetectionTest.java |
diff --git a/content/public/android/javatests/src/org/chromium/content/browser/AddressDetectionTest.java b/content/public/android/javatests/src/org/chromium/content/browser/AddressDetectionTest.java |
index efc8f189cb5f72ec064de7b22ce5a42a8955c75f..cdb2c53967c00ffb03fd17513a9af2275b60afbb 100644 |
--- a/content/public/android/javatests/src/org/chromium/content/browser/AddressDetectionTest.java |
+++ b/content/public/android/javatests/src/org/chromium/content/browser/AddressDetectionTest.java |
@@ -26,6 +26,7 @@ |
public void testMultipleAddressesInText() throws Throwable { |
startActivityWithTestUrl( |
"content/test/data/android/content_detection/geo_address_multiple.html"); |
+ assertWaitForPageScaleFactorMatch(1.0f); |
assertTrue(isExpectedGeoIntent(scrollAndTapExpectingIntent("test1"), |
"1600 Amphitheatre Parkway Mountain View, CA 94043")); |
@@ -39,6 +40,7 @@ |
public void testSplitAddresses() throws Throwable { |
startActivityWithTestUrl( |
"content/test/data/android/content_detection/geo_address_split.html"); |
+ assertWaitForPageScaleFactorMatch(1.0f); |
assertTrue(isExpectedGeoIntent(scrollAndTapExpectingIntent("test1"), |
"9606 North MoPac Expressway Suite 400 Austin, TX 78759")); |
@@ -58,6 +60,7 @@ |
public void testAddressLimits() throws Throwable { |
startActivityWithTestUrl( |
"content/test/data/android/content_detection/geo_address_limits.html"); |
+ assertWaitForPageScaleFactorMatch(1.0f); |
assertTrue(isExpectedGeoIntent(scrollAndTapExpectingIntent("test1"), |
"2590 Pearl Street Suite 100 Boulder, CO 80302")); |
@@ -77,6 +80,7 @@ |
public void testRealAddresses() throws Throwable { |
startActivityWithTestUrl( |
"content/test/data/android/content_detection/geo_address_real.html"); |
+ assertWaitForPageScaleFactorMatch(1.0f); |
assertTrue(isExpectedGeoIntent(scrollAndTapExpectingIntent("test1"), |
"57th Street and Lake Shore Drive Chicago, IL 60637")); |
@@ -96,6 +100,7 @@ |
public void testSpecialChars() throws Throwable { |
startActivityWithTestUrl( |
"content/test/data/android/content_detection/geo_address_special_chars.html"); |
+ assertWaitForPageScaleFactorMatch(1.0f); |
assertTrue(isExpectedGeoIntent(scrollAndTapExpectingIntent("test1"), |
"100 34th Avenue , San Francisco, CA 94121")); |