Chromium Code Reviews
DescriptionUse named automation interface to control the primary chrome to run 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=
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=75797
Patch Set 1 #Patch Set 2 : can login #Patch Set 3 : use autotest $default account #Patch Set 4 : nit #
Total comments: 6
Patch Set 5 : cmasone #Patch Set 6 : ws #Patch Set 7 : ws #Patch Set 8 : nit #Messages
Total messages: 8 (0 generated)
|