| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
Cleanup files in /home/chronos not just /home/chronos/user
BUG=
TEST=
Review URL: http://codereview.chromium.org/6625073
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77231 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
A few sample PyAuto tests are included that exerise these new hooks.
Contributed by dennisjeffrey@chromium.org.
BUG=64271
TEST=None
Review URL: http://codereview.chromium.org/6610021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76787 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
TEST=chromeos_basic.ChromeosBasic.testRestart
BUG=chromium-os:12523
Review URL: http://codereview.chromium.org/6591020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76133 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Documentation for a few associated functions has also been revised to
explicitly state that app/theme/extension files must be specified with
absolute paths.
BUG=64271
TEST=None
Review URL: http://codereview.chromium.org/6580012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75813 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
pyauto-based chrome tests on ChromeOS.
This CL includes:
- enable_testing.py -- sends dbus call to session_manager to enable testing interface
- pyauto.py -- integration of named automation interface with PyAuto
- desktopui_PyAutoFunctionalTests.py -- setup to use named automation interface. Uses a suid-root binary (as discussed with cmasone) to dbus mesg to session_manager
- PYAUTO_TESTS -- a new suite called "PRIMARY_CHROME" which currently consists of a basic hello world test that controls the primary chrome
- chromeos_basic.py -- a basic test
All plumbing necessary to integrate the named automation interface with autotest and pyauto is included.
It's designed such that it's easy to work directly on a chromeos device while adding/editing a pyauto test, without having to run via autotest every time. Also, the existing pyauto tests (about 200 of them) will begin controlling the primary chrome.
Can be run with run_remote_tests.sh as:
$ ./run_remote_tests.sh --remote <IP> desktopui_PyAutoFunctionalTests
BUG=
TEST=
Review URL: http://codereview.chromium.org/6410134
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75797 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Several pyauto tests are included that exercise the new automation hook.
Contributed by dennisjeffrey@chromium.org.
BUG=64271
TEST=None
Review URL: http://codereview.chromium.org/6532067
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75783 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=23581
TEST=no visible changes; all tests pass
Review URL: http://codereview.chromium.org/6312154
TBR=avi@chromium.org
Review URL: http://codereview.chromium.org/6459002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74158 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=23581
TEST=no visible changes; all tests pass
Review URL: http://codereview.chromium.org/6312154
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74118 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Missing pyproto dir makes pyauto not able to launch the testserver for google
chrome builders. I have a solution under review. Disable testserver
meanwhile.
BUG=71976
TEST=
Review URL: http://codereview.chromium.org/6250165
TBR=nirnimesh@chromium.org
Review URL: http://codereview.chromium.org/6312181
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73962 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Missing pyproto dir makes pyauto not able to launch the testserver for google
chrome builders. I have a solution under review. Disable testserver
meanwhile.
BUG=71976
TEST=
Review URL: http://codereview.chromium.org/6250165
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73850 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Runs a local http server which serves data files over http:// for use in
tests. Uses TestServer.
BUG=50981
TEST=test_basic.SimpleTest.testHTTP
Review URL: http://codereview.chromium.org/6312036
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73674 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
These are pyauto directories.
Add myself to owners.
BUG=
TEST=
Review URL: http://codereview.chromium.org/6370018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72890 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
(This was a TODO for phajdan.jr).
BUG=None
TEST=trybots
Review URL: http://codereview.chromium.org/6277013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71945 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
(This was a TODO for phajdan.jr).
BUG=None
TEST=trybots
Review URL: http://codereview.chromium.org/6354005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71861 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
can be correctly targetted) and updating some surrounding test cases.
BUG=59259
Review URL: http://codereview.chromium.org/6159001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71856 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
instant feature.
BUG=66135
Review URL: http://codereview.chromium.org/6044004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70018 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Motivation: There are a category of tests which we do not want to run
continuously (ex: translate, which ends up DOSing the translate servers
thereby getting blacklisted).
Add support for dividing tests into suites. A suite is just a collection of
tests. The "FULL" suite includes "CONTINUOUS" suite and the translate tests.
BUG=61256
Review URL: http://codereview.chromium.org/6056004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69996 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
If you try to exclude a test that hasn't been included, pyauto will complain
and it won't run anything. Sometimes it's harder to add exclusions per
platform, and it'd be easier to ignore tests that need to be excluded but
haven't been included.
Review URL: http://codereview.chromium.org/5913003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69494 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
termination has been noticed by the browser before reloading the associated
tab.
BUG=64708
TEST=none
Review URL: http://codereview.chromium.org/5755003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69154 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=63816
TEST=none
Review URL: http://codereview.chromium.org/5255005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68268 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This change accommodates fetching 32bit and 64bit binaries for linux.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/5608002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68235 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
Need to pass abs path to .zip file
Review URL: http://codereview.chromium.org/5385001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67364 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/5342005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67193 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=49113
TEST=none
Review URL: http://codereview.chromium.org/5088001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66709 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/4985006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66575 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
immediately after creating a new window need to wait for it to be "ready" on
linux.
**remake of issue4838001 (nuked client, long story)
BUG=62783,44203
Review URL: http://codereview.chromium.org/4931001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66024 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
I was asked to rename "private" to "pyauto_private"
Review URL: http://codereview.chromium.org/4815002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65908 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move the automation message files from chrome/test/automation to
chrome/common/. This requires a temporary override to chrome/common/DEPS until
Part 3 lands.
BUG=51409
TEST=compiles
Review URL: http://codereview.chromium.org/4758001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65695 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=
TEST=
Review URL: http://codereview.chromium.org/4662006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65684 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
Fetch username/passwd from private data and use in sync tests.
BUG=60970
Review URL: http://codereview.chromium.org/4738004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65634 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
It was broken in r6545.
BUG=
TEST=
Review URL: http://codereview.chromium.org/4731001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65497 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This script makes it easy to fetch chrome and pyauto binaries from the
continuous build archives and setup to run pyauto.
Example usage (on Mac):
python fetch_prebuilt_pyauto.py -d xcodebuild/Release http://build.chromium.org/f/chromium/continuous/mac/LATEST
BUG=
TEST=
Review URL: http://codereview.chromium.org/4583002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65496 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
The name of this file is a leftover from Windows. Split the command
ids (which are used on all platforms) out, leaving just the
Windows-specific resource IDs in the original file.
TEST=compiles
Review URL: http://codereview.chromium.org/4710001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65453 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch exposes hooks for sync in TestingAutomationProvider that the chrome pyauto test suite can use. It contains the following changes:
- Partial revert of an earlier change to ProfileSyncServiceHarness. Some of its methods were made pure virtual, but this ended up being unnecessary. Also ripped out unnecessary code from LiveSyncTest.
- Minor refactor of ProfileSyncServiceHarness to allow for scenarios where the browser is restarted.
- A bunch of new methods in TestingAutomationProvider: SignInToSync, GetSyncInfo, AwaitSyncCycleCompletion, EnableSyncForDatatypes and DisableSyncForDatatypes.
- A new method in model_type.h/cc called ModelTypeFromString. Required for automation.
- New APIs in pyauto.py for sync.
- New test suite sync.py with sample tests.
BUG=53651, 60970, 56460, 61639
TEST=run pyauto sync tests
Review URL: http://codereview.chromium.org/4096004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64988 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=59379
TEST=none
Review URL: http://codereview.chromium.org/4223001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64746 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit c1c1fed998ee4d839bfe256150e5e59220ebc0ef (r64637).
TBR=nirnimesh@
BUG=51409
TEST=none
Review URL: http://codereview.chromium.org/4194007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64644 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
automation_messages used to live in chrome/test/automation, when it's needed by
browser and chrome_frame. When I started lifting code out of headers and into
implementation files, I was getting link errors and temporarily solved the
problem by compiling the cc files manually into libbrowser.a. Now this is part
of chrome/common/ which is included by all targets needed.
While doing this, discover that automation IPC redefines the ContextMenuParams struct. Rename it to MiniContextMenuParams.
BUG=51409
TEST=none
Review URL: http://codereview.chromium.org/4200007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64637 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=55125
TEST=none
Review URL: http://codereview.chromium.org/3822001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63935 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
The upcoming chromium pyauto bots build in src/build/Release. Add it to the
list of locations where pyauto looks for binaries.
BUG=
TEST=
Review URL: http://codereview.chromium.org/3963009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63785 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Move scoped_aedesc from base to base/mac
Use namespace and proper Google-style class naming.
TEST=it compiles
BUG=none
Review URL: http://codereview.chromium.org/3828009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62904 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add PyAuto automation hooks for fetching info about blocked popups in a tab,
and launching a blocked popup.
BUG=55889
TEST=popups.py
Review URL: http://codereview.chromium.org/3688004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62435 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make WaitForInfobarCount() robust to failures in the case of missing tabs or
windows.
BUG=
TEST=
Review URL: http://codereview.chromium.org/3529016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62307 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
Refactored automation hook for getting search engine info.
BUG=52009
Review URL: http://codereview.chromium.org/3581003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62248 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
(Committing on behalf of amolk. Originally reviewed and LGTM-ed at
http://codereview.chromium.org/3402021/show)
BUG=36177
TEST=find_in_page.py
Review URL: http://codereview.chromium.org/3590026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61898 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Enable the disabled pyauto test.
BUG=57189
TEST=crash_reporter.py on official build
Review URL: http://codereview.chromium.org/3530003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60971 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Also, match full phone number.
BUG=56844
TEST=python chrome/test/functional/autofill.py
Review URL: http://codereview.chromium.org/3437025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60843 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The command line arguments (argv) passed to the TestSuite are ignored in windows.
It tries to fetch the command line args by itself, for the current process.
Due to this, --dom-automation was not getting passed on win.
Fix this.
Also, enable execute_javascript.py
BUG=
TEST=python chrome/test/functional/execute_javascript.py
Review URL: http://codereview.chromium.org/3404022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60573 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
automation proxy interface.
BUG=52009
Review URL: http://codereview.chromium.org/3389016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59847 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PyAuto import tests copy over saved firefox profiles from data dir to the
location where firefox stores it profile. If intermediate dirs are missing
(when firefox has never been launched on the target machine), the test
crashes. This fixes it by creating intermediate dirs.
BUG=
TEST=
Review URL: http://codereview.chromium.org/3348018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59135 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
side."
BUG=
TEST=
Review URL: http://codereview.chromium.org/3341008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58386 0039d316-1c4b-4281-b951-d872f2087c98
|