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

Unified Diff: tools/telemetry/unittest_data/page_with_swipeables.html

Issue 337643002: Add SwipePage/SwipeElement API to action_runner, wrapping over (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Guard test execution so that test doesn't fail in browser that doesn't support touch. Created 6 years, 6 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 | « tools/telemetry/telemetry/page/actions/swipe.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/unittest_data/page_with_swipeables.html
diff --git a/tools/telemetry/unittest_data/page_with_swipeables.html b/tools/telemetry/unittest_data/page_with_swipeables.html
new file mode 100644
index 0000000000000000000000000000000000000000..bd209dcfb2f26969c2f85f8da6ab0cf9217ad11a
--- /dev/null
+++ b/tools/telemetry/unittest_data/page_with_swipeables.html
@@ -0,0 +1,52 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+<style>
+.swipeable {
+ overflow: scroll;
+ height: 200px;
+ width: 200px;
+}
+.left-right-item,
+.top-bottom-item {
+ height: 100px;
+ width: 100px;
+}
+.left-right-item {
+ display: inline-block;
+}
+.red-bg {
+ background-color: red;
+}
+.blue-bg {
+ background-color: blue;
+}
+.tall-and-wide {
+ background-color: grey;
+ height: 5000px;
+ width: 5000px;
+}
+</style>
+</head>
+<body>
+
+<div id="left-right" class="swipeable">
+ <div style="width: 1000px;">
+ <div class="left-right-item red-bg">Test</div>
+ <div class="left-right-item blue-bg">Test</div>
+ <div class="left-right-item red-bg">Test</div>
+ <div class="left-right-item blue-bg">Test</div>
+ </div>
+</div>
+
+<div id="top-bottom" class="swipeable">
+ <div class="top-bottom-item red-bg">Test</div>
+ <div class="top-bottom-item blue-bg">Test</div>
+ <div class="top-bottom-item red-bg">Test</div>
+ <div class="top-bottom-item blue-bg">Test</div>
+</div>
+
+<div class="tall-and-wide"></div>
+
+</body>
+</html>
« no previous file with comments | « tools/telemetry/telemetry/page/actions/swipe.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698