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

Unified Diff: content/public/android/javatests/src/org/chromium/content/browser/AddressDetectionTest.java

Issue 2231433002: Revert of Remove unnecessary page loading in ContentShellActivity (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 | content/public/android/javatests/src/org/chromium/content/browser/ClickListenerTest.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"));
« no previous file with comments | « no previous file | content/public/android/javatests/src/org/chromium/content/browser/ClickListenerTest.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698