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

Unified Diff: chrome/test/chromedriver/test/run_py_tests.py

Issue 1166633003: [chromedriver] Use hasTouchScreen capability to test for synthetic gestures in test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/test/run_py_tests.py
diff --git a/chrome/test/chromedriver/test/run_py_tests.py b/chrome/test/chromedriver/test/run_py_tests.py
index b63b926a9466796fcb90f011177654cdc0e187da..13b9bce6b8a0504434b2ddb4b496beb867b9e9b3 100755
--- a/chrome/test/chromedriver/test/run_py_tests.py
+++ b/chrome/test/chromedriver/test/run_py_tests.py
@@ -1045,9 +1045,7 @@ class ChromeDriverTest(ChromeDriverBaseTest):
if _ANDROID_PACKAGE_KEY:
packages = ['chrome_stable', 'chrome_beta', 'chromedriver_webview_shell']
if _ANDROID_PACKAGE_KEY in packages:
- self.assertRaisesRegexp(RuntimeError,
- 'Server returned error: Not Implemented',
- self._driver.TouchPinch, 1, 2, 3.0)
+ self.assertFalse(self._driver.capabilities['hasTouchScreen'])
def testHasTouchScreen(self):
self.assertIn('hasTouchScreen', self._driver.capabilities)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698