chromium/src/chrome/test/pyautolib.git
10 days agochrome: Use base::MessageLoop. (Part 1) master
xhwang@chromium.org [Fri, 10 May 2013 21:33:26 +0000 (21:33 +0000)]
chrome: Use base::MessageLoop. (Part 1)

chrome/browser/* will be updated in another CL

BUG=236029
R=sky@chromium.org

Review URL: https://codereview.chromium.org/14314025

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@199547 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

13 days agoFix build after https://codereview.chromium.org/14691006
phajdan.jr@chromium.org [Tue, 7 May 2013 20:55:37 +0000 (20:55 +0000)]
Fix build after https://codereview.chromium.org/14691006

TBR=rch

BUG=96594

Review URL: https://codereview.chromium.org/15039011

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@198794 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 weeks agoGTTF: rename net::TestServer -> net::SpawnedTestServer
phajdan.jr@chromium.org [Fri, 3 May 2013 18:57:22 +0000 (18:57 +0000)]
GTTF: rename net::TestServer -> net::SpawnedTestServer

This is a part of replacing most usages of the Python test server
with an in-process C++ test server that should be easier to debug.

BUG=96594
R=rch@chromium.org

Review URL: https://codereview.chromium.org/14702004

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@198151 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

3 weeks agoRemove unused |first_run| parameter in ImporterHost::CheckForFirefoxLock() which...
gab@chromium.org [Wed, 24 Apr 2013 19:54:37 +0000 (19:54 +0000)]
Remove unused |first_run| parameter in ImporterHost::CheckForFirefoxLock() which results in a cascade of unused parameter removal.

This is a precursor CL to https://codereview.chromium.org/12670013/

TBR=ben@chromium.org
BUG=219419

Review URL: https://chromiumcodereview.appspot.com/14316007

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@196209 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

4 weeks agoCategory group support/Renamings.
rubentopo@gmail.com [Fri, 19 Apr 2013 08:49:03 +0000 (08:49 +0000)]
Category group support/Renamings.

Related review:
https://codereview.chromium.org/11823016/

BUG=168284
TEST=TraceEventTestFixture.Categories, TraceEventTestFixture.CategoryFilter
R=nduca

Review URL: https://chromiumcodereview.appspot.com/12150004

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@195109 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

4 weeks agoFix minor bug in remote_inspector_client.py that broke it.
dennisjeffrey@google.com [Tue, 16 Apr 2013 23:24:53 +0000 (23:24 +0000)]
Fix minor bug in remote_inspector_client.py that broke it.

In https://codereview.chromium.org/14058002, the function named
_IsWebkitVersionNotOlderThan was changed to
_IsContentVersionNotOlderThan.  There was one more reference to the
old function name in the file that needed to be updated.  That is
done here.  Without this fix, the Chrome Endure tests are broken.

BUG=None
TEST=Verified that a basic run of a Chrome Endure test failed before
this change, but passed after this change.

Review URL: https://codereview.chromium.org/14272005

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@194482 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

5 weeks agoKeep remote_inspector_client in sync with the latest changes in Blink.
loislo@chromium.org [Thu, 11 Apr 2013 12:09:51 +0000 (12:09 +0000)]
Keep remote_inspector_client in sync with the latest changes in Blink.

We have extracted HeapProfiler domain from Profiler domain.
So the client has to use new agent with fresh version of the browser.

TEST=endurance
BUG=none
R=yurys@chromium.org, dennisjeffrey@chromium.org

Review URL: https://codereview.chromium.org/14058002

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@193626 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

7 weeks agonet: extract net/cert out of net/base
phajdan.jr@chromium.org [Fri, 29 Mar 2013 21:48:11 +0000 (21:48 +0000)]
net: extract net/cert out of net/base

This introduces the following dependency of net/base on things outside:

net/base/openssl_client_key_store.cc:#include "net/cert/x509_certificate.h"

BUG=70818

Review URL: https://codereview.chromium.org/13006020

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@191450 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 months ago[Cleanup] Remove StringPrintf from global namespace
groby@chromium.org [Mon, 18 Mar 2013 22:33:04 +0000 (22:33 +0000)]
[Cleanup] Remove StringPrintf from global namespace

use of StringPrintf now requires prefixing with base:: or a per-scope using directive

TBR'd:
abodenha: chrome/service
brettw: content, third_party, webkit
darin: base, chrome/browser, chrome/renderer
dgarret: courgette
enne: cc
fischmann: media
gbillock: sql
joi: google_apis,components
rsleevi: net, crypto
sky: chrome/test
thestig: printing, chrome/common,
tsepez: ipc
wez: remoting
yfriedman: testing/android

NOTRY=true
R=brettw@chromium.org
TBR=joi@chromium.org, rsleevi@chromium.org, enne@chromium.org, thestig@chromium.org, darin@chromium.org, abodenha@chromium.org, sky@chromium.org, dgarret@chromium.org, tsepez@chromium.org, fishman@chromium.org, wez@chromium.org, gbillock@chromium.org, yfriedman@chromium.org
BUG=

Review URL: https://codereview.chromium.org/12767006

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@188857 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 months agoUpdate asan_stub in accordance with asan API.
glotov@chromium.org [Sun, 10 Mar 2013 14:53:17 +0000 (14:53 +0000)]
Update asan_stub in accordance with asan API.

BUG=none
TEST=none
TBR=dennisjeffrey@chromium.org

Review URL: https://chromiumcodereview.appspot.com/12717006

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@187207 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 months agoUpdate asan_stub in accordance with asan API.
glotov@chromium.org [Wed, 6 Mar 2013 21:44:08 +0000 (21:44 +0000)]
Update asan_stub in accordance with asan API.

BUG=none
TEST=none
TBR=dennisjeffrey@chromium.org

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=186461

Review URL: https://codereview.chromium.org/12475006

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@186506 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 months agoUpdate asan_stub in accordance with asan API.
glotov@chromium.org [Wed, 6 Mar 2013 18:02:29 +0000 (18:02 +0000)]
Update asan_stub in accordance with asan API.

BUG=none
TEST=none
TBR=dennisjeffrey@chromium.org

Review URL: https://chromiumcodereview.appspot.com/12475006

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@186461 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 months agoUpdate asan_stub in accordance with asan API.
glotov@chromium.org [Tue, 5 Mar 2013 12:20:51 +0000 (12:20 +0000)]
Update asan_stub in accordance with asan API.

BUG=none
TEST=none
TBR=dennisjeffrey@chromium.org

Review URL: https://chromiumcodereview.appspot.com/12413006

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@186159 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 months agoRevert 184352
brettw@chromium.org [Sun, 24 Feb 2013 21:14:53 +0000 (21:14 +0000)]
Revert 184352
> Add utf_string_conversions to base namespace.
>
> This adds "using"s for all functions so those can be fixed in a separate pass.
>
> This converts the "Wide" versions of the functions in the Chrome directory as a first pass on the changeover.
>
> BUG=
>
> Review URL: https://codereview.chromium.org/12314090

TBR=brettw@chromium.org
Review URL: https://codereview.chromium.org/12315071

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@184355 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 months agoAdd utf_string_conversions to base namespace.
brettw@chromium.org [Sun, 24 Feb 2013 20:27:04 +0000 (20:27 +0000)]
Add utf_string_conversions to base namespace.

This adds "using"s for all functions so those can be fixed in a separate pass.

This converts the "Wide" versions of the functions in the Chrome directory as a first pass on the changeover.

BUG=

Review URL: https://codereview.chromium.org/12314090

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@184352 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

3 months agoDisable "using base::FilePath" on Linux since it now compiles.
brettw@chromium.org [Sun, 17 Feb 2013 19:36:03 +0000 (19:36 +0000)]
Disable "using base::FilePath" on Linux since it now compiles.

This keeps the using for other platforms temporarily. This patch is to "stop
the bleeding" since new conflicts are added every day. The other platforms will
be fixed in followup patches.

This also adds an exception for the MTPD code which has a circular dependency
on FilePath.

Review URL: https://codereview.chromium.org/12282019

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@183043 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

3 months agoDelete Instant pyauto tests.
sreeram@chromium.org [Wed, 13 Feb 2013 22:10:38 +0000 (22:10 +0000)]
Delete Instant pyauto tests.

Pyauto is deprecated. We'll add some of these tests back as browser
tests. Some don't make sense because they are very specific to Google
and not Chrome Instant generally (such as the case insensitivity test).

We're not losing much test coverage here because many of these tests
already exist as browser tests (e.g.: testing that Instant doesn't
preview URLs, testing a non-Instant supporting engine).

BUG=165843,168809
R=phajdan.jr@chromium.org
TEST=none

Review URL: https://chromiumcodereview.appspot.com/12223125

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@182319 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

3 months agoRename FilePath to base::FilePath and use new location of string_number_conversions...
brettw@chromium.org [Fri, 8 Feb 2013 22:38:41 +0000 (22:38 +0000)]
Rename FilePath to base::FilePath and use new location of string_number_conversions in some chrome subdirectories.

Review URL: https://codereview.chromium.org/12218065

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@181564 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

3 months agoSwitch remote_inspector_client.py from Memory.getDOMNodeCount to more simple Memory...
yurys@chromium.org [Wed, 6 Feb 2013 08:41:41 +0000 (08:41 +0000)]
Switch remote_inspector_client.py from Memory.getDOMNodeCount to more simple Memory.getDOMCounters command. Memory.getDOMNodeCount is going to be removed from the protocol soon.

Related WebKit bugs:
https://bugs.webkit.org/show_bug.cgi?id=108821
https://bugs.webkit.org/show_bug.cgi?id=108822

BUG=

Review URL: https://codereview.chromium.org/12197010

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@180937 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

3 months agoRemove old cloud policy code.
mnissler@chromium.org [Wed, 23 Jan 2013 12:15:27 +0000 (12:15 +0000)]
Remove old cloud policy code.

The old framework has been abandoned in favor of a more flexible rewrite
which is already being used for the desktop cloud policy implementation.
Chrome OS has switched over with M25, so it's time to remove the old
code.

BUG=chromium:108928
TEST=Still compiles and passes tests.

Review URL: https://chromiumcodereview.appspot.com/11946017

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@178283 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

3 months ago[sync] Divorce python sync test server chromiumsync.py from testserver.py
rsimha@chromium.org [Sun, 20 Jan 2013 01:10:24 +0000 (01:10 +0000)]
[sync] Divorce python sync test server chromiumsync.py from testserver.py

Various chrome test suites use the infrastructure in net::LocalTestServer and net/tools/testserver.py to create local test server instances against which to run automated tests. Sync tests use reference implementations of sync and xmpp servers, which build on the testserver infrastructure in net/. In the past, the sync testserver was small enough that it made sense for it to be a part of the testserver in net/. This, however, resulted in an unwanted dependency from net/ onto sync/, due to the sync proto modules needed to run a python sync server. Now that the sync testserver has grown considerably in scope, it is time to separate it out from net/ while reusing base testserver code, and eliminate the dependency from net/ onto sync/. This work also provides us with the opportunity to remove a whole bunch of dead pyauto sync test code in chrome/test/functional.

This patch does the following:

- Moves the native class LocalSyncTestServer from net/test/ to sync/test/.
- Moves chromiumsync{_test}.py and xmppserver{_test}.py from net/tools/testserver/ to sync/tools/testserver/.
- Removes all sync server specific code from net/.
- Adds a new sync_testserver.py runner script for the python sync test.
- Moves some base classes from testserver.py to testserver_base.py so they can be reused by sync_testserver.py.
- Audits all the python imports in testserver.py, testserver_base.py and sync_testserver.py to make sure there are no unnecessary / missing imports.
- Adds a new run_sync_testserver runner executable to launch a sync testserver.
- Removes a couple of static methods from LocalTestServer, that were being used by run_testserver, and refactors run_sync_testserver to use their non-static versions.
- Adds the ability to run both chromiumsync_test.py and xmppserver_test.py from run_sync_testserver.
- Fixes chromiumsync.py to undo / rectify some older changes that broke tests in chromiumsync_test.py.
- Adds a new test target called test_support_sync_testserver to sync.gyp.
- Removes the hacky dependency on sync_proto from net.gyp:net_test_support.
- Updates various gyp files across chrome to use the new sync testserver target.
- Audits dependencies of net_test_support, run_testserver, and the newly added targets.
- Fixes the android chrome testserver spawner script to account for the above changes.
- Removes all mentions of TYPE_SYNC from the pyauto TestServer shim.
- Deletes all (deprecated) pyauto sync tests. (They had all become broken over time, gotten disabled, and were all redundant due to their equivalent sync integration tests.)
- Removes all sync related pyauto hooks from TestingAutomationProvider, since they are no longer going to be used.
- Takes care of a TODO in safe_browser_testserver.py to remove an unnecessary code block.

Note: A majority of the bugs listed below are for individual pyauto sync tests. Deleting the sync pyauto test script fixes all these bugs in one fell swoop.

TBR=mattm@chromium.org
BUG=117559, 119403, 159731, 15016, 80329, 49378, 87642, 86949, 88679, 104227, 88593, 124913
TEST=run_testserver, run_sync_testserver, sync_integration_tests, sync_performance_tests. All chrome tests that use a testserver should continue to work.

Review URL: https://codereview.chromium.org/11971025

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@177864 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

4 months agoAdopt inspector protocol changes.
eustas@chromium.org [Fri, 18 Jan 2013 15:17:26 +0000 (15:17 +0000)]
Adopt inspector protocol changes.
Add backward compatibility to pyautolib.
See https://bugs.webkit.org/show_bug.cgi?id=104545

BUG=166160

Review URL: https://chromiumcodereview.appspot.com/11615021

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@177677 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

4 months agoMerge DownloadItem::SafetyState and DownloadDangerType
rdsmith@chromium.org [Thu, 17 Jan 2013 01:50:52 +0000 (01:50 +0000)]
Merge DownloadItem::SafetyState and DownloadDangerType

R=asanka@chromium.org
R=benjhayden@chromium.org

Review URL: https://chromiumcodereview.appspot.com/11693011

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@177304 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

4 months agoReplace OncNetworkParser by the new ONC translator.
pneubeck@chromium.org [Sat, 12 Jan 2013 09:13:23 +0000 (09:13 +0000)]
Replace OncNetworkParser by the new ONC translator.

BUG=162040
TBR=jochen@chromium.org (gypi changes), bartfab@chromium.org (minor policy change)

Review URL: https://chromiumcodereview.appspot.com/11578052

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@176520 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

4 months agoAllow platform apps to be leak checked by providing tab_filter to choose the tab...
scr@chromium.org [Wed, 9 Jan 2013 20:07:23 +0000 (20:07 +0000)]
Allow platform apps to be leak checked by providing tab_filter to choose the tab to inspect.

BUG=169021
R=nirnimesh@chromium.org,marja@chromium.org
CC=dennisjeffrey@chromium.org
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/11826027

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@175867 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

4 months agoRemove the DownloadItem::TogglePause() interface.
rdsmith@chromium.org [Mon, 7 Jan 2013 18:03:18 +0000 (18:03 +0000)]
Remove the DownloadItem::TogglePause() interface.

Replace it with explict Pause() and Resume() interfaces.

R=asanka@chromium.org
R=benjhayden@chromium.org

Review URL: https://chromiumcodereview.appspot.com/11711003

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@175357 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

4 months agoUpdating asan_stub to comply with ASAN.
glotov@chromium.org [Sat, 22 Dec 2012 17:25:11 +0000 (17:25 +0000)]
Updating asan_stub to comply with ASAN.

BUG=none
TEST=x86-generic-tot-asan-informational bot must go green
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/11661012

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@174532 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

5 months ago[Sync] Fix erroneous sync switch in pyauto.py
akalin@chromium.org [Tue, 18 Dec 2012 21:17:25 +0000 (21:17 +0000)]
[Sync] Fix erroneous sync switch in pyauto.py

I'm not sure if pyauto.py is even being used, but it has misled at least
one person, so I'm fixing it anyway.

BUG=

Review URL: https://codereview.chromium.org/11571039

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@173783 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

5 months agoRemove the protector service.
ivankr@chromium.org [Fri, 14 Dec 2012 17:00:58 +0000 (17:00 +0000)]
Remove the protector service.

BUG=165008
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/11493003

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@173169 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

5 months agoIncrease the ChromeOS login automation timeout.
craigdh@chromium.org [Mon, 10 Dec 2012 20:17:09 +0000 (20:17 +0000)]
Increase the ChromeOS login automation timeout.

TEST=Ran desktopui_UrlFetch
BUG=chromium-os:37086
NOTRY=True

Review URL: https://chromiumcodereview.appspot.com/11506005

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@172125 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

5 months ago[cros,rlz] Remove RLZ checkbox from OOBE UI.
ivankr@chromium.org [Mon, 10 Dec 2012 12:38:06 +0000 (12:38 +0000)]
[cros,rlz] Remove RLZ checkbox from OOBE UI.

BUG=160059
TBR=nirnimesh@chromium.org

Review URL: https://chromiumcodereview.appspot.com/11473019

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@172040 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

5 months ago[rlz,cros] RLZ glue for ChromeOS.
ivankr@chromium.org [Wed, 5 Dec 2012 16:02:24 +0000 (16:02 +0000)]
[rlz,cros] RLZ glue for ChromeOS.

BUG=157348,160059
TBR=nirnimesh,sky

Review URL: https://chromiumcodereview.appspot.com/11412067

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@171233 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

5 months agoClean up a few -faddress-sanitizer stragglers.
thakis@chromium.org [Tue, 27 Nov 2012 23:41:44 +0000 (23:41 +0000)]
Clean up a few -faddress-sanitizer stragglers.

BUG=159580
TBR=glider

Review URL: https://codereview.chromium.org/11418195

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@169797 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

5 months agoPyAuto: Check whether Instant is enabled correctly.
sreeram@chromium.org [Mon, 26 Nov 2012 20:55:12 +0000 (20:55 +0000)]
PyAuto: Check whether Instant is enabled correctly.

BUG=162339
R=nirnimesh@chromium.org,phajdan.jr@chromium.org
TEST=See bug.

Review URL: https://chromiumcodereview.appspot.com/11414149

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@169485 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

6 months ago[cros] Remove old pre-WebRTC avatar picker UI.
ivankr@chromium.org [Fri, 16 Nov 2012 14:59:46 +0000 (14:59 +0000)]
[cros] Remove old pre-WebRTC avatar picker UI.

BUG=161232
TEST=No user-visible change.

Review URL: https://chromiumcodereview.appspot.com/11415007

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@168205 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

6 months agoUpdating ASAN stub with new API
glotov@chromium.org [Wed, 14 Nov 2012 12:06:22 +0000 (12:06 +0000)]
Updating ASAN stub with new API

BUG=chromium-os:34523
TEST=manual

Review URL: https://chromiumcodereview.appspot.com/11275285

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@167656 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

6 months agoPrevented default apps from being installed in ChromeOS tests
zelidrag@chromium.org [Sat, 10 Nov 2012 01:31:41 +0000 (01:31 +0000)]
Prevented default apps from being installed in ChromeOS tests

BUG=chromium-os:36058
TEST=make sure pyauto BVTs are happy on chromeos bbots

Review URL: https://chromiumcodereview.appspot.com/11368129

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@167029 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

6 months ago[Chromoting PyAuto] Wait until the 'deny access' button is enabled before
simonmorris@chromium.org [Fri, 2 Nov 2012 22:16:23 +0000 (22:16 +0000)]
[Chromoting PyAuto] Wait until the 'deny access' button is enabled before
trying to click it.

This is a parallel CL to codereview.chromium.org/11312026 .

BUG=155292

Review URL: https://codereview.chromium.org/11364059

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@165768 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

6 months ago[Chromoting PyAuto] Wait until a button is enabled before trying to click it.
simonmorris@chromium.org [Thu, 1 Nov 2012 17:07:05 +0000 (17:07 +0000)]
[Chromoting PyAuto] Wait until a button is enabled before trying to click it.

BUG=155292

Review URL: https://codereview.chromium.org/11312026

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@165403 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

6 months agoHave ExtensionInstallPrompt take a WebContents
sail@chromium.org [Sun, 21 Oct 2012 23:03:05 +0000 (23:03 +0000)]
Have ExtensionInstallPrompt take a WebContents

This CL implements a long standing TODO to change ExtensionInstallPrompt to take WebContents instead of a Browser.

This also fixes bug 156248 which I caused in r161479.

BUG=156248

Review URL: https://codereview.chromium.org/11184029

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@163215 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

7 months ago[Chromoting] Increase a sleep time in chromoting PyAuto tests.
simonmorris@chromium.org [Thu, 18 Oct 2012 17:00:31 +0000 (17:00 +0000)]
[Chromoting] Increase a sleep time in chromoting PyAuto tests.

This is a follow-up to http://codereview.chromium.org/11187043/.
One test is still intermittently failing.

BUG=155292

Review URL: https://codereview.chromium.org/11198064

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@162721 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

7 months ago[Chromoting] Add a short sleep as a temporary fix for failing PyAuto tests.
simonmorris@chromium.org [Wed, 17 Oct 2012 21:43:04 +0000 (21:43 +0000)]
[Chromoting] Add a short sleep as a temporary fix for failing PyAuto tests.

BUG=155292

Review URL: https://codereview.chromium.org/11187043

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@162539 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

7 months agoA test framework for install/upgrade scenarios.
nkang@chromium.org [Mon, 8 Oct 2012 21:26:38 +0000 (21:26 +0000)]
A test framework for install/upgrade scenarios.

This framework is designed for Chrome 'Updater' tests. Any test that requires Chrome to be updated during testing can be classified as an Updater test. This framework allows users to install and update Chrome from within a test case. It also allows users to run browser tests using the installed version of Chrome, and because it uses the installed version, tests can be performed with user or system level installation. At the moment, it only supports Windows, but going forward, other platforms might also be supported.

BUG=none
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/10384104

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@160709 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

7 months agoExpand ownership of pyauto tests
nirnimesh@chromium.org [Fri, 5 Oct 2012 21:48:49 +0000 (21:48 +0000)]
Expand ownership of pyauto tests

BUG=None
TEST=None

Review URL: https://codereview.chromium.org/11068031

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@160490 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

7 months agoAdd a test for checking objects reported by DevTools memory instrumentation not alloc...
yurys@chromium.org [Fri, 5 Oct 2012 09:57:31 +0000 (09:57 +0000)]
Add a test for checking objects reported by DevTools memory instrumentation not allocated by tcmalloc

Added DevToolsInstrumentedObjectsCheck test that checks if all objects counted by DevTools memory instrumentation are actually allocated by tcmalloc. Ideally there shouldn't be other objects but at the moment about 3% of all reported objects are not allocated by tcmalloc.

BUG=None

Review URL: https://chromiumcodereview.appspot.com/11054014

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@160344 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

7 months agoCheck types in GetServicePath
stanleyw@chromium.org [Wed, 3 Oct 2012 23:35:52 +0000 (23:35 +0000)]
Check types in GetServicePath

The GetNetworkInfo method returns a dictionary with many types.  We
should check the types of the returned values to make sure they're
dictionaries with the correct kvp before continuing.

TEST=network_ONCServer autotest should pass.
BUG=None

Change-Id: I9a4c7756a0bbae15a06e481cb786be809906af04

Review URL: https://chromiumcodereview.appspot.com/11043030

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@160006 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

8 months ago- testSetTheme was already covered (after adding theme name verification).
nirnimesh@chromium.org [Tue, 18 Sep 2012 22:08:47 +0000 (22:08 +0000)]
- testSetTheme was already covered (after adding theme name verification).
- testThemeUndo was already covered
- testThemeOverInstall was already covered
- testThemeInFullScreen -> TestInstallThemeInFullScreen
- testThemeReset -> TestThemeReset
- Runner was not running by default and is missing data files so it doesn't
  look like it has run in a while.

Remove automation hooks: GetThemeInfo, ResetToDefaultTheme

BUG=143637
TEST=browser_tests --gtest_filter=ExtensionInstallUIBrowserTest.*

Review URL: https://chromiumcodereview.appspot.com/10916328

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@157427 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

8 months agoConverted policy_prefs_ui.py pyauto test to a browser_test.
joaodasilva@chromium.org [Tue, 18 Sep 2012 14:02:15 +0000 (14:02 +0000)]
Converted policy_prefs_ui.py pyauto test to a browser_test.

This is a reland of http://codereview.chromium.org/10905223/ after parameterizing the tests so they don't timeout on chromeos debug bots.

BUG=143637

Review URL: https://chromiumcodereview.appspot.com/10918263

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@157346 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

8 months agoEnables us to setproxysettings through the chromeos options UI and have it propogate...
beeps@chromium.org [Tue, 18 Sep 2012 04:35:38 +0000 (04:35 +0000)]
Enables us to setproxysettings through the chromeos options UI and have it propogate to the system.

TestingAutomationProvider Get/SetProxySettings:
1. uses profile on shell
2. handles shared proxy settings through internetoptionshandler
3. changed setproxysettings from a browserhandler call to handler call

Pyauto.py:
1. Gets servicepath and network type for sharedproxysettings call
2. uses network_type parameter (used to be windex) to get network information, since setproxysettings
   is now a handler call.

Chromeos_proxy.py:
1. changed to check value in result dictionary instead of presence of key
2. navigate to url and perform setup needed to setproxysettings

TEST=functional/chromeos_proxy.py
BUG=27040

Review URL: https://chromiumcodereview.appspot.com/10829388

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@157295 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

8 months ago[chromeos] Make Login() automation reliably work for relogin scenarios.
nirnimesh@chromium.org [Fri, 14 Sep 2012 00:32:14 +0000 (00:32 +0000)]
[chromeos] Make Login() automation reliably work for relogin scenarios.

NOTIFICATION_LOGIN_WEBUI_VISIBLE is the notification that gets emitted for all
cases of login webui. Use that. This also fixes the Login() automation
for relogin scenarios.

Also, fix the typo in the auth-ext path used in tests (in pyauto.py).

BUG=chromium:139166
TEST=None

Review URL: https://chromiumcodereview.appspot.com/10928168

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@156695 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

8 months agoRevert 156629 - Converted policy_prefs_ui.py pyauto test to a browser_test.
miket@chromium.org [Thu, 13 Sep 2012 23:05:32 +0000 (23:05 +0000)]
Revert 156629 - Converted policy_prefs_ui.py pyauto test to a browser_test.

BUG=143637

Review URL: https://chromiumcodereview.appspot.com/10905223

TBR=joaodasilva@chromium.org
Review URL: https://codereview.chromium.org/10918235

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@156662 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

8 months agoConverted policy_prefs_ui.py pyauto test to a browser_test.
joaodasilva@chromium.org [Thu, 13 Sep 2012 21:13:52 +0000 (21:13 +0000)]
Converted policy_prefs_ui.py pyauto test to a browser_test.

BUG=143637

Review URL: https://chromiumcodereview.appspot.com/10905223

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@156629 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

8 months agoFix the way the test gets dir for key and cert file
yihongg@chromium.org [Thu, 13 Sep 2012 19:12:19 +0000 (19:12 +0000)]
Fix the way the test gets dir for key and cert file

abspath of __file__ is changed after os.chdir() call. Made change to retrieve and save the abspath of __file__ before os.chdir().

NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/10908242

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@156595 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

8 months agoMade two changes to fix the failures on mac.
yihongg@chromium.org [Wed, 12 Sep 2012 20:19:00 +0000 (20:19 +0000)]
Made two changes to fix the failures on mac.
- "svn move" moved mock_pref_pane.py over to the new directory but the file is empty. Add the file content.
- Use abspath to get key files and mock_pref_pane.py.

NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/10928153

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@156364 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

8 months agoCurrently the test assumes that the current working dir is the src dir. This causes...
yihongg@chromium.org [Tue, 11 Sep 2012 19:19:12 +0000 (19:19 +0000)]
Currently the test assumes that the current working dir is the src dir. This causes failure when the test is run on bots. Made changes to move mock_pref_pane to pyautolib and use relative path to solve this.

NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/10918176

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@156094 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

8 months agoChanges to make chromoting_helper more robust.
yihongg@chromium.org [Mon, 10 Sep 2012 19:45:55 +0000 (19:45 +0000)]
Changes to make chromoting_helper more robust.
- Use detach instead of unmount. Unmount in certain situation will leave diskimage_helper process hanging there. Using detach solves that.
- Improve the way pref_pane and mock_pref_pane are cleaned up. Both pref_pane and mock_pref_pane could be either dir or non-dir. Use shutil.rmtree() for dir and use os.remove() for non-dir.

Review URL: https://chromiumcodereview.appspot.com/10919177

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@155802 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

8 months agoCatch authentication failures from the fake authserver without timing out.
craigdh@chromium.org [Fri, 7 Sep 2012 23:31:38 +0000 (23:31 +0000)]
Catch authentication failures from the fake authserver without timing out.

BUG=None
TEST=login_BadAuthentication, login_LoginSuccess

Change-Id: I5626547da9d0d44ef7b3d791ef619e5d34eaa592

Review URL: https://chromiumcodereview.appspot.com/10919140

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@155532 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

8 months agoA few changes to enable me2me related test cases on Windows and Mac.
yihongg@chromium.org [Fri, 7 Sep 2012 18:01:38 +0000 (18:01 +0000)]
A few changes to enable me2me related test cases on Windows and Mac.
- Updated to use Packages instead of Iceberg
- Updated no ui uninstall on mac
- Update PYAUTO_TESTS to enable me2me test cases
- Fixed a couple of timing related issues
- Added CleanupHostList to cleanup bogus host entries due to previous failure

NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/10824390

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@155423 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

8 months agoAdd test for DevTools native memory snapshots
yurys@chromium.org [Wed, 5 Sep 2012 21:02:56 +0000 (21:02 +0000)]
Add test for DevTools native memory snapshots

This patch adds a pyauto test that loads some sample pages to into the browser, connects to the browser over remote debugging protocol, takes native memory snapshot and then prints the render process total private memory size and the size of the memory not covered by the DevTools instrumentation. The results will be used to plot graphs that should allow tracking regressions in the memory instrumentation coverage.

BUG=None

Review URL: https://chromiumcodereview.appspot.com/10907027

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@155016 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

8 months agoConvert the popups pyauto test to browser_tests.
jam@chromium.org [Sat, 1 Sep 2012 05:50:22 +0000 (05:50 +0000)]
Convert the popups pyauto test to browser_tests.

testPopupBlockedEverySec: I didn't port this since it seemed redundant with other tests, and it's permanently disabled anyways.
testPopupBlockerEnabled is a duplicate of a subset of testLaunchBlockedPopup. same with the incognito version
testAllowPopupsFromExternalSite was really just testing that an exception works, not that it's going to an external networkw which we don't want for tests. I rewrote it to use a local url.
testBlockedPopupNotShowInHistory is testing something that's not the current behavior, which is why it's disabled. if this changes, someone can add a test for the new behavior then

BUG=143637,83827,47935
Review URL: https://chromiumcodereview.appspot.com/10913043

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@154602 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

8 months agoRevert 154464 - Revert 154453 - Remove the translate pyauto test to chrome tests...
jam@chromium.org [Fri, 31 Aug 2012 18:16:20 +0000 (18:16 +0000)]
Revert 154464 - Revert 154453 - Remove the translate pyauto test to chrome tests and all the supporting automation hooks. I've added new tests for the non-duplicate cases.

Most of the Chrome tests use a test harness to avoid network requests to the Translate server, which is inline with our testing phiolosophy (i.e. new bots don't even have network access). There is a browser_test in BrowserTest.PageLanguageDetection.

testTranslate is a duplicate of TranslateManagerTest.NormalTranslate
testNoTranslate is a duplicate of TranslateManagerTest.MultipleOnPageContents and TranslateManagerTest.DenyTranslateInPageNavigation
testNeverTranslateLanguage and testAlwaysTranslateLanguage are duplicates of TranslateManagerTest.BeforeTranslateExtraButtons
testNeverTranslateSite is a duplicate of TranslateManagerTest.NeverTranslateSitePref
testRevert is a duplicate of TranslateManagerTest.ServerReportsUnsupportedLanguage
testBarNotVisibleOnSSLErrorPage seems unnecessary, i.e. we don't check that infobar comes up for all of our internal pages
testBarNotVisibleOnEnglishPage is a duplicate of TranslateManagerTest.AutoTranslateOnNavigate
testTranslateDiffURLs, like in other pyauto test suites, seems unnecessary (i.e. we don't retest every feature across all schemes)
testNotranslateMetaTag is a duplicate of ChromeRenderViewTest.TranslatablePage
testToggleTranslateOption is a duplicate of TranslateManagerTest.AlwaysTranslateLanguagePref
testGoBackAndForwardToTranslatePage: the interesting bits are tested by ChromeRenderViewTest.BackToTranslatablePage
testForCrashedTab seems unnecessary, we don't verify that all infobars are gone when a page crashes
testTranslatePrefs is a duplicate of of TranslateManagerTest.TranslateEnabledPref
testAlwaysTranslateLanguageButton and testNeverTranslateLanguageButton are duplicates of TranslateManagerTest.BeforeTranslateExtraButtons
testChangeTargetLanguageAlwaysTranslate: I added a reload step to TranslateManagerTest.NormalTranslate to cover this
testHistoryNotTranslated and testDownloadsNotTranslated: I added a simple unittest for them
testSeveralLanguages is redundant with many of the above tests
testMultipleTabsAndWindows is not very useful
testAlwaysTranslateInIncognito is a duplicate of a subset of TranslateManagerTest.AlwaysTranslateLanguagePref
testNoTranslateInfobarAfterNeverTranslate is a duplicate of TranslateManagerTest.NeverTranslateLanguagePref
testGoBackAndForwardToTranslatePage is a duplicate of ChromeRenderViewTest.BackToTranslatablePage
testSessionRestore: I added a browser test for (BrowserTest.SessionRestore)

BUG=143637,95140,129802,12648,12639
Review URL: https://chromiumcodereview.appspot.com/10922002

TBR=jam@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10917042

TBR=dmazzoni@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10914041

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@154466 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

8 months agoRevert 154453 - Remove the translate pyauto test to chrome tests and all the supporti...
dmazzoni@chromium.org [Fri, 31 Aug 2012 18:05:29 +0000 (18:05 +0000)]
Revert 154453 - Remove the translate pyauto test to chrome tests and all the supporting automation hooks. I've added new tests for the non-duplicate cases.

Most of the Chrome tests use a test harness to avoid network requests to the Translate server, which is inline with our testing phiolosophy (i.e. new bots don't even have network access). There is a browser_test in BrowserTest.PageLanguageDetection.

testTranslate is a duplicate of TranslateManagerTest.NormalTranslate
testNoTranslate is a duplicate of TranslateManagerTest.MultipleOnPageContents and TranslateManagerTest.DenyTranslateInPageNavigation
testNeverTranslateLanguage and testAlwaysTranslateLanguage are duplicates of TranslateManagerTest.BeforeTranslateExtraButtons
testNeverTranslateSite is a duplicate of TranslateManagerTest.NeverTranslateSitePref
testRevert is a duplicate of TranslateManagerTest.ServerReportsUnsupportedLanguage
testBarNotVisibleOnSSLErrorPage seems unnecessary, i.e. we don't check that infobar comes up for all of our internal pages
testBarNotVisibleOnEnglishPage is a duplicate of TranslateManagerTest.AutoTranslateOnNavigate
testTranslateDiffURLs, like in other pyauto test suites, seems unnecessary (i.e. we don't retest every feature across all schemes)
testNotranslateMetaTag is a duplicate of ChromeRenderViewTest.TranslatablePage
testToggleTranslateOption is a duplicate of TranslateManagerTest.AlwaysTranslateLanguagePref
testGoBackAndForwardToTranslatePage: the interesting bits are tested by ChromeRenderViewTest.BackToTranslatablePage
testForCrashedTab seems unnecessary, we don't verify that all infobars are gone when a page crashes
testTranslatePrefs is a duplicate of of TranslateManagerTest.TranslateEnabledPref
testAlwaysTranslateLanguageButton and testNeverTranslateLanguageButton are duplicates of TranslateManagerTest.BeforeTranslateExtraButtons
testChangeTargetLanguageAlwaysTranslate: I added a reload step to TranslateManagerTest.NormalTranslate to cover this
testHistoryNotTranslated and testDownloadsNotTranslated: I added a simple unittest for them
testSeveralLanguages is redundant with many of the above tests
testMultipleTabsAndWindows is not very useful
testAlwaysTranslateInIncognito is a duplicate of a subset of TranslateManagerTest.AlwaysTranslateLanguagePref
testNoTranslateInfobarAfterNeverTranslate is a duplicate of TranslateManagerTest.NeverTranslateLanguagePref
testGoBackAndForwardToTranslatePage is a duplicate of ChromeRenderViewTest.BackToTranslatablePage
testSessionRestore: I added a browser test for (BrowserTest.SessionRestore)

BUG=143637,95140,129802,12648,12639
Review URL: https://chromiumcodereview.appspot.com/10922002

TBR=jam@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10917042

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@154464 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

8 months agoRemove the translate pyauto test to chrome tests and all the supporting automation...
jam@chromium.org [Fri, 31 Aug 2012 17:24:43 +0000 (17:24 +0000)]
Remove the translate pyauto test to chrome tests and all the supporting automation hooks. I've added new tests for the non-duplicate cases.

Most of the Chrome tests use a test harness to avoid network requests to the Translate server, which is inline with our testing phiolosophy (i.e. new bots don't even have network access). There is a browser_test in BrowserTest.PageLanguageDetection.

testTranslate is a duplicate of TranslateManagerTest.NormalTranslate
testNoTranslate is a duplicate of TranslateManagerTest.MultipleOnPageContents and TranslateManagerTest.DenyTranslateInPageNavigation
testNeverTranslateLanguage and testAlwaysTranslateLanguage are duplicates of TranslateManagerTest.BeforeTranslateExtraButtons
testNeverTranslateSite is a duplicate of TranslateManagerTest.NeverTranslateSitePref
testRevert is a duplicate of TranslateManagerTest.ServerReportsUnsupportedLanguage
testBarNotVisibleOnSSLErrorPage seems unnecessary, i.e. we don't check that infobar comes up for all of our internal pages
testBarNotVisibleOnEnglishPage is a duplicate of TranslateManagerTest.AutoTranslateOnNavigate
testTranslateDiffURLs, like in other pyauto test suites, seems unnecessary (i.e. we don't retest every feature across all schemes)
testNotranslateMetaTag is a duplicate of ChromeRenderViewTest.TranslatablePage
testToggleTranslateOption is a duplicate of TranslateManagerTest.AlwaysTranslateLanguagePref
testGoBackAndForwardToTranslatePage: the interesting bits are tested by ChromeRenderViewTest.BackToTranslatablePage
testForCrashedTab seems unnecessary, we don't verify that all infobars are gone when a page crashes
testTranslatePrefs is a duplicate of of TranslateManagerTest.TranslateEnabledPref
testAlwaysTranslateLanguageButton and testNeverTranslateLanguageButton are duplicates of TranslateManagerTest.BeforeTranslateExtraButtons
testChangeTargetLanguageAlwaysTranslate: I added a reload step to TranslateManagerTest.NormalTranslate to cover this
testHistoryNotTranslated and testDownloadsNotTranslated: I added a simple unittest for them
testSeveralLanguages is redundant with many of the above tests
testMultipleTabsAndWindows is not very useful
testAlwaysTranslateInIncognito is a duplicate of a subset of TranslateManagerTest.AlwaysTranslateLanguagePref
testNoTranslateInfobarAfterNeverTranslate is a duplicate of TranslateManagerTest.NeverTranslateLanguagePref
testGoBackAndForwardToTranslatePage is a duplicate of ChromeRenderViewTest.BackToTranslatablePage
testSessionRestore: I added a browser test for (BrowserTest.SessionRestore)

BUG=143637,95140,129802,12648,12639
Review URL: https://chromiumcodereview.appspot.com/10922002

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@154453 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

8 months agoFix pyauto ssl tests failures on all platforms
toyoshim@chromium.org [Fri, 24 Aug 2012 13:11:53 +0000 (13:11 +0000)]
Fix pyauto ssl tests failures on all platforms

This change will fix tests broken by r152902.

BUG=144429, 137639
TEST=http://www.chromium.org/developers/testing/pyauto
TBR=rsleevi@chromium.org, sky@chromium.org

Review URL: https://chromiumcodereview.appspot.com/10871057

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@153195 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

8 months agoRemoteInspectorClient: more debug prints.
marja@chromium.org [Thu, 23 Aug 2012 23:59:08 +0000 (23:59 +0000)]
RemoteInspectorClient: more debug prints.

Also print debug prints when a socket is closed and when there is an error.

BUG=NONE

Review URL: https://chromiumcodereview.appspot.com/10873030

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@153115 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

8 months agoRefactoring for merging WebSocket test server to net::TestServer
toyoshim@chromium.org [Thu, 23 Aug 2012 01:05:12 +0000 (01:05 +0000)]
Refactoring for merging WebSocket test server to net::TestServer

 - rename HTTPSOptions to SSLOptions
 - pass an argument for secure server to specify the service protocol type

BUG=137639

Review URL: https://chromiumcodereview.appspot.com/10878003

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@152902 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

8 months agoMove PyAuto's timeout variable from C++ to Python.
craigdh@chromium.org [Wed, 22 Aug 2012 21:51:03 +0000 (21:51 +0000)]
Move PyAuto's timeout variable from C++ to Python.

Re-commits the reverted https://chromiumcodereview.appspot.com/10872007/ after
removing a remaining use of large_test_timeout_ms().

BUG=143783
TEST=functional/test_pyauto.py, PyAuto CONTINUOUS suite

Review URL: https://chromiumcodereview.appspot.com/10879016

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@152831 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

8 months agoConvert the browsing_data pyauto tests to chrome tests. Remove the ClearBrowsingData...
jam@chromium.org [Wed, 22 Aug 2012 17:06:40 +0000 (17:06 +0000)]
Convert the browsing_data pyauto tests to chrome tests. Remove the ClearBrowsingData automation code since it's not used anymore.

-browsing_data.testClearAutofillData was flaky because it exposed an actual problem in BrowsingDataRemover (it didn't wait for autofill data to be deleted). Fixed BrowsingDataRemover and added a unittest for removing form data along with the other BrowsingDataRemover unit tests.
-browsing_data.testClearDownloads was hard to write as a unit test so I added a browser test
-database.testDeleteAndUpdateDatabase was also converted to a browser test
-the rest of the tests in browsing_data.py had equivalent unit tests in browsing_data_remover_unittest.cc
-the clear password calls in the passwords test aren't needed since each test has a fresh profile

Also fix a flake in the BrowsingDataRemoverTest harness. The end time needs to be pushed further into the future, since there could be pending writes.

BUG=143637,141443,95165,123419
Review URL: https://chromiumcodereview.appspot.com/10866013

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@152782 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

8 months agoRevert 152676 - Move PyAuto's timeout variable from C++ to Python.
ricow@chromium.org [Wed, 22 Aug 2012 06:55:57 +0000 (06:55 +0000)]
Revert 152676 - Move PyAuto's timeout variable from C++ to Python.

Also fixes a crashing bug when changing the timeout.

BUG=143783
TEST=functional/test_pyauto.py

This was causing test failures on:
http://build.chromium.org/p/chromium.chromiumos/builders/ChromiumOS%20%28amd64%29/builds/3637
http://build.chromium.org/p/chromium.chromiumos/builders/ChromiumOS%20%28x86%29/builds/7779/steps/VMTest/logs/stdio

Review URL: https://chromiumcodereview.appspot.com/10860051

TBR=craigdh@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10872007

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@152746 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

8 months agoMove PyAuto's timeout variable from C++ to Python.
craigdh@chromium.org [Tue, 21 Aug 2012 23:56:10 +0000 (23:56 +0000)]
Move PyAuto's timeout variable from C++ to Python.

Also fixes a crashing bug when changing the timeout.

BUG=143783
TEST=functional/test_pyauto.py

Review URL: https://chromiumcodereview.appspot.com/10860051

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@152676 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

8 months agoConvert the pyauto bookmark bar test into a browser test.
jam@chromium.org [Tue, 21 Aug 2012 21:09:17 +0000 (21:09 +0000)]
Convert the pyauto bookmark bar test into a browser test.

BUG=143637
Review URL: https://chromiumcodereview.appspot.com/10832420

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@152635 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

8 months agoConvert the autofill pyauto tests to browser tests, and remove all the supporting...
jam@chromium.org [Tue, 21 Aug 2012 15:19:20 +0000 (15:19 +0000)]
Convert the autofill pyauto tests to browser tests, and remove all the supporting automation hooks that are no longer necessary.

Tests I left:
-AutofillCrowdsourcing: this is a manual, non-automated test against the autofill server. I've been told it's not used, but I left it anyways. It was composed of two parts: testing chrome autofill works and sending the resulting form to the server. The former is tested in many tests already, so I took that out.
-autofill edit address dialog tests: these are using webdriver.

Also remove the autofill tests in sync.py since they used the same automation hooks. testAutofillProfileSync is redundant because many of the tests in two_client_autofill_sync_test.cc do this. For testNoCreditCardSync, I added a test case in two_client_autofill_sync_test.cc.

BUG=143637
Review URL: https://chromiumcodereview.appspot.com/10855253

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@152560 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

8 months agoFix passwords.PasswordTest.testInfoBarDisappearByNavigatingPage
nirnimesh@chromium.org [Mon, 20 Aug 2012 19:08:58 +0000 (19:08 +0000)]
Fix passwords.PasswordTest.testInfoBarDisappearByNavigatingPage

Revert to the old behavior of WaitUntil such that it returns True when the
callable succeeds (default). Provide a way for it to return the last return
value of the callable if required.

TBR=stanleyw@chromium.org
BUG=

Review URL: https://chromiumcodereview.appspot.com/10854229

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@152368 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

9 months agoGetServicePath should perform a scan
stanleyw@chromium.org [Fri, 17 Aug 2012 02:22:47 +0000 (02:22 +0000)]
GetServicePath should perform a scan

Sometimes the scan list is not updated. It makes sense
to perform a scan until we see the service path or until a timeout
period is hit.

TEST=run chromeos_wifi_functional
BUG=None

Change-Id: Ia1afd538618a79d10aaab2a0cec12377cc6477b9

Review URL: https://chromiumcodereview.appspot.com/10829203

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@152022 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

9 months agoAdded a timezone policy and pyauto tests for it.
pneubeck@chromium.org [Thu, 16 Aug 2012 13:42:37 +0000 (13:42 +0000)]
Added a timezone policy and pyauto tests for it.

Relanding this CL
  https://chromiumcodereview.appspot.com/10827050/
after a memory leak was fixed in the master.

TBR=darin@chromium.org
BUG=chromium-os:27206
TEST=
Test active policy:
1. Set the timezone policy to X.
2. Login, set timezone to Y (!= X)
3. Logout, check that the timezone is reset to X

Test inactive policy:
1. Set the timezone policy to X.
2. Login, set timezone to Y (!= X)
3. Logout, check that the timezone is still Y

Review URL: https://chromiumcodereview.appspot.com/10832222

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@151884 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

9 months agoImprove pyautolib errors.
craigdh@chromium.org [Thu, 16 Aug 2012 04:36:50 +0000 (04:36 +0000)]
Improve pyautolib errors.

Adds a new pyauto exception for failures caught by automation calls (inherits from JSONInterfaceError).
Improves the error messages generated for automation infrastructure failures.

TEST=Manually caused automation commands to fail and verified error messages.
BUG=132803

Review URL: https://chromiumcodereview.appspot.com/10855161

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@151853 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

9 months ago[pyauto] Fix ActionTimeoutChanger
nirnimesh@chromium.org [Thu, 16 Aug 2012 00:54:03 +0000 (00:54 +0000)]
[pyauto] Fix ActionTimeoutChanger

Add a test for it.

BUG=139926
TEST=testActionTimeoutChanger

Review URL: https://chromiumcodereview.appspot.com/10828335

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@151806 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

9 months agoMove up flimflam cleanup
krisr@chromium.org [Wed, 15 Aug 2012 22:37:03 +0000 (22:37 +0000)]
Move up flimflam cleanup

TEST=Ran it
BUG=None
Review URL: https://chromiumcodereview.appspot.com/10825374

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@151774 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

9 months agoInitial checkin of the me2me pyauto automation
yihongg@chromium.org [Wed, 15 Aug 2012 21:51:58 +0000 (21:51 +0000)]
Initial checkin of the me2me pyauto automation
- Modified chromoting.py to enable me2me automation
- Added chromoting_helper.py to handle install, uninstall, enable, disable, changepin which requires admin privilege
- Added chromoting.base.py as the base for all chromoting test cases
- Modified chromoting_basic, renamed it it2me_basic and moved it under chromoting dir
- Added auth, me2me_enable, me2me_connect test
- Added a cert and a private key for signing host on mac
- Added mock_pref_pane.* files to mock the pref pane for different scenarios

NOTRY=true

Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=151717

Review URL: https://chromiumcodereview.appspot.com/10821015

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@151760 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

9 months agoRevert 151717 - Initial checkin of the me2me pyauto automation
jhorwich@chromium.org [Wed, 15 Aug 2012 19:09:40 +0000 (19:09 +0000)]
Revert 151717 - Initial checkin of the me2me pyauto automation
- Modified chromoting.py to enable me2me automation
- Added chromoting_helper.py to handle install, uninstall, enable, disable, changepin which requires admin privilege
- Added chromoting.base.py as the base for all chromoting test cases
- Modified chromoting_basic, renamed it it2me_basic and moved it under chromoting dir
- Added auth, me2me_enable, me2me_connect test
- Added a cert and a private key for signing host on mac
- Added mock_pref_pane.* files to mock the pref pane for different scenarios

NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/10821015

TBR=yihongg@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10837266

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@151722 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

9 months agoInitial checkin of the me2me pyauto automation
yihongg@chromium.org [Wed, 15 Aug 2012 18:30:46 +0000 (18:30 +0000)]
Initial checkin of the me2me pyauto automation
- Modified chromoting.py to enable me2me automation
- Added chromoting_helper.py to handle install, uninstall, enable, disable, changepin which requires admin privilege
- Added chromoting.base.py as the base for all chromoting test cases
- Modified chromoting_basic, renamed it it2me_basic and moved it under chromoting dir
- Added auth, me2me_enable, me2me_connect test
- Added a cert and a private key for signing host on mac
- Added mock_pref_pane.* files to mock the pref pane for different scenarios

NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/10821015

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@151717 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

9 months agoFinal set of conversions of automation calls to the JSON interface.
craigdh@chromium.org [Mon, 13 Aug 2012 22:59:03 +0000 (22:59 +0000)]
Final set of conversions of automation calls to the JSON interface.

Converts the old bookmark automation commands.

TEST=PyAuto CONTINUOUS suite
BUG=132794

Review URL: https://chromiumcodereview.appspot.com/10828245

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@151380 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

9 months ago[chromeos] pyauto tests should auto login by default on chromeos
nirnimesh@chromium.org [Mon, 13 Aug 2012 18:10:34 +0000 (18:10 +0000)]
[chromeos] pyauto tests should auto login by default on chromeos

Tests should auto-login on chromeos by default, since most use cases
begin there. Provide a way to override it.

This helps with non-login pyauto functional tests on chromeos such that if (for
whatever reason) the device gets logged out in the middle of running
pyauto_functional.py, individual tests can still manage to carry on.

BUG=None
TEST=None

R=craigdh@chromium.org

Review URL: https://chromiumcodereview.appspot.com/10836187

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@151311 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

9 months agoFix a bug in pyauto.py where JavascriptRuntimeError is raised but not imported.
fdeng@chromium.org [Thu, 9 Aug 2012 17:42:17 +0000 (17:42 +0000)]
Fix a bug in pyauto.py where JavascriptRuntimeError is raised but not imported.

Import pyauto_errors.JavascriptRuntimeError so that
AddDomMutationObserver can raise it correctly.

BUG=None
TEST=
NOTRY=True

Review URL: https://chromiumcodereview.appspot.com/10824237

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@150837 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

9 months agoRevert r150536 - "Added a timezone policy and pyauto tests for it."
mnissler@chromium.org [Wed, 8 Aug 2012 12:19:33 +0000 (12:19 +0000)]
Revert r150536 - "Added a timezone policy and pyauto tests for it."

It broke unit tests on Chrome OS.

BUG=None
TBR=pneubeck@chromium.org

Review URL: https://chromiumcodereview.appspot.com/10829235

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@150540 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

9 months agoAdded a timezone policy and pyauto tests for it.
pneubeck@chromium.org [Wed, 8 Aug 2012 11:13:02 +0000 (11:13 +0000)]
Added a timezone policy and pyauto tests for it.

BUG=chromium-os:27206
TEST=See included tests.

Review URL: https://chromiumcodereview.appspot.com/10827050

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@150536 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

9 months agoRemove SWIGged use of BrowserProxy and TabProxy from PyAuto tests.
craigdh@chromium.org [Tue, 7 Aug 2012 22:37:48 +0000 (22:37 +0000)]
Remove SWIGged use of BrowserProxy and TabProxy from PyAuto tests.

BUG=132789, 132794
TEST=PyAuto CONTINUOUS suite

Review URL: https://chromiumcodereview.appspot.com/10830193

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@150434 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

9 months agoFixed a bug where pyautolib.cc did not log the automation error message.
craigdh@chromium.org [Fri, 3 Aug 2012 23:01:43 +0000 (23:01 +0000)]
Fixed a bug where pyautolib.cc did not log the automation error message.

BUG=None
TEST=functional/browser.py
R=nirnimesh@chromium.org

Review URL: https://chromiumcodereview.appspot.com/10852011

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@149956 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

9 months agoConvert more automation calls to the JSON interface.
craigdh@chromium.org [Wed, 1 Aug 2012 23:08:55 +0000 (23:08 +0000)]
Convert more automation calls to the JSON interface.

OpenFindInPage
IsFindInPageVisible
ResetToDefaultTheme
OpenNewBrowserWindow
CloseBrowserWindow
GetBrowserWindowCount

BUG=132794
TEST=PyAuto CONTINUOUS suite

Review URL: https://chromiumcodereview.appspot.com/10836015

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@149527 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

9 months ago[pyauto] Add ability to specify @SUITE_NAME on command line
nirnimesh@chromium.org [Wed, 1 Aug 2012 18:24:57 +0000 (18:24 +0000)]
[pyauto] Add ability to specify @SUITE_NAME on command line

Also, remove --list-missing-tests. It was not used much.

BUG=None
TEST=python pyauto_functional.py @CONTINUOUS

R=dennisjeffrey@chromium.org

Review URL: https://chromiumcodereview.appspot.com/10843021

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@149447 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

9 months agoAdd out dir to win32 for winja
ukai@chromium.org [Wed, 1 Aug 2012 01:03:08 +0000 (01:03 +0000)]
Add out dir to win32 for winja

R=nirnimesh@chromium.org
BUG=134540

Review URL: https://chromiumcodereview.appspot.com/10832091

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@149340 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

9 months agoRemove the newline from PyAuto login automation error message.
craigdh@chromium.org [Tue, 31 Jul 2012 16:47:25 +0000 (16:47 +0000)]
Remove the newline from PyAuto login automation error message.

BUG=None
TEST=functional/chromeos_login.py
R=nirnimesh@chromium.org
NOTRY=True

Review URL: https://chromiumcodereview.appspot.com/10824096

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@149205 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

9 months agoAdd Dennis to pyauto owners
nirnimesh@chromium.org [Mon, 30 Jul 2012 21:58:57 +0000 (21:58 +0000)]
Add Dennis to pyauto owners

R=dennisjeffrey@chromium.org
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/10828082

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@149040 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

9 months ago[chromeos] Simplify chromeos device policy tests
nirnimesh@chromium.org [Mon, 30 Jul 2012 20:35:38 +0000 (20:35 +0000)]
[chromeos] Simplify chromeos device policy tests

- Remove the hacks that were there to accommodate /root/.forget_usernames
- Make setUp() re-entrant. This is so that errors in a test's setup does
  not affect the next test. (DNS server and auth server start at a fixed
  port, so failure to clean them up would affect the next test)
- Work around crbug.com/139166

BUG=139166
TEST=chromeos_device_policy.py

R=bartfab@chromium.org

Review URL: https://chromiumcodereview.appspot.com/10830053

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@149012 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

9 months agoFix PyAuto breakage introduced by 148809.
craigdh@chromium.org [Fri, 27 Jul 2012 22:15:22 +0000 (22:15 +0000)]
Fix PyAuto breakage introduced by 148809.

BUG=None
TEST=policy.PolicyTest.testSetDownloadDirectory
NOTRY=True

Review URL: https://chromiumcodereview.appspot.com/10835023

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@148829 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

9 months agoConvert cookie and download automation commands to the JSON interface.
craigdh@chromium.org [Fri, 27 Jul 2012 21:14:54 +0000 (21:14 +0000)]
Convert cookie and download automation commands to the JSON interface.

GetCookie, SetCookie, DeleteCookie, SetDownloadShelfVisible,
IsDownloadShelfVisible, GetDownloadDirectory

BUG=132794
TEST=PyAuto CONTINUOUS suite

Review URL: https://chromiumcodereview.appspot.com/10804038

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@148809 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

9 months agoRevert 148465 - [cros] Fix tests: Reach the "Add user" screen before attempting to...
nirnimesh@chromium.org [Thu, 26 Jul 2012 06:42:18 +0000 (06:42 +0000)]
Revert 148465 - [cros] Fix tests: Reach the "Add user" screen before attempting to login

+++ REVERT NOTICE +++
Likely broke VMTest on ChromiumOS. Reverting to see if VMTest passes.

+++

When trying to re-login, we might be at the user pods screen.

R=ivankr@chromium.org
BUG=None
TEST=chromeos_login.ChromeosLogin.testLogoutWithNoWindows
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/10820021

TBR=nirnimesh@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10831029

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@148523 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

9 months ago[cros] Fix tests: Reach the "Add user" screen before attempting to login
nirnimesh@chromium.org [Thu, 26 Jul 2012 01:19:11 +0000 (01:19 +0000)]
[cros] Fix tests: Reach the "Add user" screen before attempting to login

When trying to re-login, we might be at the user pods screen.

R=ivankr@chromium.org
BUG=None
TEST=chromeos_login.ChromeosLogin.testLogoutWithNoWindows
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/10820021

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@148465 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

9 months agoUpdate pyauto tests to use content/test/data/plugin
nirnimesh@chromium.org [Wed, 25 Jul 2012 01:36:20 +0000 (01:36 +0000)]
Update pyauto tests to use content/test/data/plugin

chrome/test/data/plugin was moved to content/test/data/plugin
Update tests

BUG=138857
TEST=pyauto tests

R=jam@chromium.org

Review URL: https://chromiumcodereview.appspot.com/10825006

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@148275 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

9 months agoConvert more PyAuto proxy calls to the JSON interface.
craigdh@chromium.org [Tue, 24 Jul 2012 22:14:20 +0000 (22:14 +0000)]
Convert more PyAuto proxy calls to the JSON interface.

Converts: ActivateTab, GetTabCount, GetActiveTabTitle, GetActiveTabURL
Adds: BringBrowserToFront, GetTabInfo

BUG=132794
TEST=PyAuto CONTINUOUS suite

Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=147748

Review URL: https://chromiumcodereview.appspot.com/10790055

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@148222 4ff67af0-8c30-449e-8e8b-ad334ec8d88c