summaryrefslogtreecommitdiffstats
path: root/chrome/test/chromedriver
diff options
context:
space:
mode:
authorsamuong <samuong@chromium.org>2015-07-22 12:47:12 -0700
committerCommit bot <commit-bot@chromium.org>2015-07-22 19:48:15 +0000
commit0508456c6daa0785b5f9a65d4b91b931953d4a65 (patch)
tree64e62bec34f13a804638180db828849ec8060a39 /chrome/test/chromedriver
parent78406baf2210d015caa04c59918e77142a487193 (diff)
downloadchromium_src-0508456c6daa0785b5f9a65d4b91b931953d4a65.zip
chromium_src-0508456c6daa0785b5f9a65d4b91b931953d4a65.tar.gz
chromium_src-0508456c6daa0785b5f9a65d4b91b931953d4a65.tar.bz2
[chromedriver] Enable synthetic touch tests for chrome_beta on Android.
BUG=448182 TBR=jbudorick@chromium.org Review URL: https://codereview.chromium.org/1244813007 Cr-Commit-Position: refs/heads/master@{#339938}
Diffstat (limited to 'chrome/test/chromedriver')
-rwxr-xr-xchrome/test/chromedriver/test/run_py_tests.py19
1 files changed, 5 insertions, 14 deletions
diff --git a/chrome/test/chromedriver/test/run_py_tests.py b/chrome/test/chromedriver/test/run_py_tests.py
index 927669d..ea80ee4 100755
--- a/chrome/test/chromedriver/test/run_py_tests.py
+++ b/chrome/test/chromedriver/test/run_py_tests.py
@@ -158,16 +158,7 @@ _ANDROID_NEGATIVE_FILTER['chrome_stable'] = (
'ChromeDriverTest.testTouchPinch',
])
_ANDROID_NEGATIVE_FILTER['chrome_beta'] = (
- _ANDROID_NEGATIVE_FILTER['chrome'] + [
- # The beta channel Chrome for Android does not yet support Synthetic
- # Gesture DevTools commands.
- # TODO(samuong): reenable when it does.
- 'ChromeDriverTest.testHasTouchScreen',
- 'ChromeDriverTest.testTouchScrollElement',
- 'ChromeDriverTest.testTouchDoubleTapElement',
- 'ChromeDriverTest.testTouchLongPressElement',
- 'ChromeDriverTest.testTouchPinch',
- ])
+ _ANDROID_NEGATIVE_FILTER['chrome'])
_ANDROID_NEGATIVE_FILTER['chrome_shell'] = (
_ANDROID_NEGATIVE_FILTER['chrome'] + [
# ChromeShell doesn't support multiple tabs.
@@ -1050,13 +1041,13 @@ class ChromeDriverTest(ChromeDriverBaseTest):
self.assertAlmostEqual(2.0, float(width_before_pinch) / width_after_pinch)
def testBrowserDoesntSupportSyntheticGestures(self):
- # Current versions of stable and beta channel Chrome for Android do not
- # support synthetic gesture commands in DevTools, so touch action tests have
- # been disabled for chrome_stable and chrome_beta.
+ # The current stable channel Chrome for Android does not support synthetic
+ # gesture commands in DevTools, so touch action tests have been disabled for
+ # chrome_stable and chromedriver_webview_shell.
# TODO(samuong): when this test starts failing, re-enable touch tests and
# delete this test.
if _ANDROID_PACKAGE_KEY:
- packages = ['chrome_stable', 'chrome_beta', 'chromedriver_webview_shell']
+ packages = ['chrome_stable', 'chromedriver_webview_shell']
if _ANDROID_PACKAGE_KEY in packages:
self.assertFalse(self._driver.capabilities['hasTouchScreen'])