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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchManagerTest.java

Issue 1436743002: Integrate new Reader Mode panel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scene-layer-changes
Patch Set: findbugs and low-end devices Created 5 years, 1 month 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/contextualsearch/ContextualSearchManagerTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchManagerTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchManagerTest.java
index 8fbe2963417602128861a89089dacea433a7eea5..78e8c44bae85454c677247e1bf45bbbac62c56f7 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchManagerTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchManagerTest.java
@@ -749,12 +749,12 @@ public class ContextualSearchManagerTest extends ChromeActivityTestCaseBase<Chro
// TODO(pedrosimonetti): This is not reliable. Find a better approach.
// We use the far right side (x == 0.9f) to prevent simulating a tap on top of an
// existing long-press selection (the pins are a tap target). This might not work on RTL.
- // We are using y == 0.2f because otherwise it will fail for long press cases.
+ // We are using y == 0.35f because otherwise it will fail for long press cases.
// It might be better to get the position of the Panel and tap just about outside
// the Panel. I suspect some Flaky tests are caused by this problem (ones involving
// long press and trying to close with the bar peeking, with a long press selection
// established).
- tapBasePage(0.9f, 0.2f);
+ tapBasePage(0.9f, 0.35f);
waitForPanelToCloseAndAssert();
}

Powered by Google App Engine
This is Rietveld 408576698