summaryrefslogtreecommitdiffstats
path: root/chrome/test/webdriver
diff options
context:
space:
mode:
authorkkania@chromium.org <kkania@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-15 22:28:13 +0000
committerkkania@chromium.org <kkania@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-15 22:28:13 +0000
commitf063eaacf2b78e7a57b7e503e9eceeffd327e4e9 (patch)
tree21f66299906a5bbaa9b5b1d9ca93185ed23c5488 /chrome/test/webdriver
parentd5675ee0b6c3e1690527344c4b8a99eb79575e4c (diff)
downloadchromium_src-f063eaacf2b78e7a57b7e503e9eceeffd327e4e9.zip
chromium_src-f063eaacf2b78e7a57b7e503e9eceeffd327e4e9.tar.gz
chromium_src-f063eaacf2b78e7a57b7e503e9eceeffd327e4e9.tar.bz2
Add script for running all chromedriver2 e2e tests.
Also, fix pythonpaths for old chromedriver tests by prepending instead of appending 'chrome/test/pylib'. Otherwise the buildbot 'common' module is picked up. BUG=none NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11293191 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168062 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/webdriver')
-rwxr-xr-xchrome/test/webdriver/test/run_chromedriver_tests.py2
-rwxr-xr-xchrome/test/webdriver/test/run_webdriver_java_tests.py2
-rwxr-xr-xchrome/test/webdriver/test/run_webdriver_tests.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/chrome/test/webdriver/test/run_chromedriver_tests.py b/chrome/test/webdriver/test/run_chromedriver_tests.py
index 76e4809..aa55c8b 100755
--- a/chrome/test/webdriver/test/run_chromedriver_tests.py
+++ b/chrome/test/webdriver/test/run_chromedriver_tests.py
@@ -16,7 +16,7 @@ import unittest
import test_paths
sys.path += [test_paths.PYTHON_BINDINGS]
-sys.path.append(os.path.join(
+sys.path.insert(0, os.path.join(
os.path.dirname(__file__), os.pardir, os.pardir, 'pylib'))
from chromedriver_test import ChromeDriverTest
diff --git a/chrome/test/webdriver/test/run_webdriver_java_tests.py b/chrome/test/webdriver/test/run_webdriver_java_tests.py
index 6234adf..fe358dd 100755
--- a/chrome/test/webdriver/test/run_webdriver_java_tests.py
+++ b/chrome/test/webdriver/test/run_webdriver_java_tests.py
@@ -15,7 +15,7 @@ import optparse
import os
import sys
-sys.path.append(os.path.join(
+sys.path.insert(0, os.path.join(
os.path.dirname(__file__), os.pardir, os.pardir, 'pylib'))
from common import chrome_paths
diff --git a/chrome/test/webdriver/test/run_webdriver_tests.py b/chrome/test/webdriver/test/run_webdriver_tests.py
index 16f9f53..e930a27 100755
--- a/chrome/test/webdriver/test/run_webdriver_tests.py
+++ b/chrome/test/webdriver/test/run_webdriver_tests.py
@@ -10,7 +10,7 @@ import sys
import types
import unittest
-sys.path.append(os.path.join(
+sys.path.insert(0, os.path.join(
os.path.dirname(__file__), os.pardir, os.pardir, 'pylib'))
from chromedriver_launcher import ChromeDriverLauncher