e0b08e6170b57f90262726eb7f04e059cb47419c |
|
11-Aug-2015 |
Hsinyu Chao <hychao@chromium.org> |
Revert "autotest: move constants to common_lib" This reverts commit a4ac7a8f67d61f8a616724f9426dbc0fce71ce69. BUG=chromium:519353 Change-Id: Iec2873ad22b5bb90e46a9e5b323f9626a2c07d9b Reviewed-on: https://chromium-review.googlesource.com/292347 Reviewed-by: Hsinyu Chao <hychao@chromium.org> Commit-Queue: Hsinyu Chao <hychao@chromium.org> Tested-by: Hsinyu Chao <hychao@chromium.org> Reviewed-by: Sonny Rao <sonnyrao@chromium.org> Commit-Queue: Sonny Rao <sonnyrao@chromium.org> Tested-by: Sonny Rao <sonnyrao@chromium.org>
/external/autotest/client/site_tests/login_ChromeProfileSanitary/login_ChromeProfileSanitary.py
|
a4ac7a8f67d61f8a616724f9426dbc0fce71ce69 |
|
06-Aug-2015 |
Eric Caruso <ejcaruso@chromium.org> |
autotest: move constants to common_lib This file gets imported from lots of server-side tests and infrastructure so it shouldn't be hiding in client/cros. This moves the file and fixes all imports. BUG=chromium:485834 TEST=run many tests, make sure there are no problems importing constants Change-Id: I5c2b2a0bef6ebc998e62f40162a6ec9cc4436480 Reviewed-on: https://chromium-review.googlesource.com/291302 Trybot-Ready: Eric Caruso <ejcaruso@chromium.org> Commit-Queue: Eric Caruso <ejcaruso@chromium.org> Tested-by: Eric Caruso <ejcaruso@chromium.org> Reviewed-by: Chris Sosa <sosa@google.com>
/external/autotest/client/site_tests/login_ChromeProfileSanitary/login_ChromeProfileSanitary.py
|
befbea2491181d53e2188ec8bc38994fef996d3e |
|
09-Jul-2014 |
Chris Masone <cmasone@chromium.org> |
Update login_ChromeProfileSanitary for new Cookie DB behavior It seems like Chrome no longer creates a cookie DB in the default profile unless there are actually cookies there. That's good, but this test was assuming the existence of that file. Update the test to correctly verify that no DB shows up. Maintain the check the verifies no change in a DB as well, should one exist at the start of the test. BUG=chromium:392510 TEST=run this test, it should pass. Change-Id: Ib1b3f238c302170b50e71d523d085218d8d689c7 Reviewed-on: https://chromium-review.googlesource.com/207124 Commit-Queue: Chris Masone <cmasone@chromium.org> Tested-by: Chris Masone <cmasone@chromium.org> Reviewed-by: Achuith Bhandarkar <achuith@chromium.org>
/external/autotest/client/site_tests/login_ChromeProfileSanitary/login_ChromeProfileSanitary.py
|
6fa0f97daf909e75b67fa07a31a2c73a97f39655 |
|
27-Feb-2014 |
Chris Masone <cmasone@chromium.org> |
Replace login_ChromeProfileSanitary with telemetry version. The old version isn't run anymore, so replace it with the new version. BUG=chromium:339976 TEST=login_ChromeProfileSanitary Change-Id: I53fc107e7c8ff16c6ac63060781d48fcd98dd3a1 Reviewed-on: https://chromium-review.googlesource.com/188210 Commit-Queue: Chris Masone <cmasone@chromium.org> Tested-by: Chris Masone <cmasone@chromium.org> Reviewed-by: Achuith Bhandarkar <achuith@chromium.org>
/external/autotest/client/site_tests/login_ChromeProfileSanitary/login_ChromeProfileSanitary.py
|
d73c2565c6d2756c52c793808455fd8b685b910e |
|
09-Nov-2011 |
Scott James Remnant <keybuk@chromium.org> |
Revert "site_test: pass unknown initialize arguments to super" This reverts commit 89b43fb4852a441999c9ac2074bd906486393ce2. Change-Id: I155042bedfc964310065eb29aae4667e859a6f58 Reviewed-on: https://gerrit.chromium.org/gerrit/11391 Tested-by: Scott James Remnant <keybuk@chromium.org> Reviewed-by: Scott James Remnant <keybuk@chromium.org>
/external/autotest/client/site_tests/login_ChromeProfileSanitary/login_ChromeProfileSanitary.py
|
89b43fb4852a441999c9ac2074bd906486393ce2 |
|
02-Nov-2011 |
Scott James Remnant <keybuk@chromium.org> |
site_test: pass unknown initialize arguments to super Many tests that subclass UITest and PyAutoTest override initialize(), and call up to the superclass version as they should, but they don't allow for additional arguments to be passed to the test which the superclass may make use of. RecallClientTest (which is what UITest and PyAutoTest are based on) expects arguments to be passed in from the RecallServerTest that\ activate it. These patches allow these tests to work with Recall. BUG=chromium-os:22310 TEST=picked a couple at random to make sure they still worked Change-Id: Ib9102756b8fd790763b8beacf91888d63aadd2cc Signed-off-by: Scott James Remnant <keybuk@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/11085
/external/autotest/client/site_tests/login_ChromeProfileSanitary/login_ChromeProfileSanitary.py
|
cde66f93f22cc74332eae541db849a9ad221b969 |
|
23-Sep-2011 |
Mattias Nissler <mnissler@chromium.org> |
Accept non-existing Cookie files in login_ChromeProfileSanitary. BUG=None TEST=login_ChromeProfileSanitary succeeds. Change-Id: I0ebb4a44d48880547a408a8b6bc29dfda51ed56c Reviewed-on: http://gerrit.chromium.org/gerrit/8233 Reviewed-by: Nirnimesh <nirnimesh@chromium.org> Commit-Ready: Chris Masone <cmasone@chromium.org> Tested-by: Chris Masone <cmasone@chromium.org>
/external/autotest/client/site_tests/login_ChromeProfileSanitary/login_ChromeProfileSanitary.py
|
d51ac9cdab93aee5b408dde4543a00d9913f740f |
|
10-Sep-2011 |
David James <davidjames@chromium.org> |
Refactor tests to consistently wait for login prompt to show up after logout. This CL refactors the autotest suite to consistently check for the login prompt visibility whenever the session manager is killed. This ensures that the Window Manager can depend on being fully initialized prior to being killed. BUG=chromium-os:18919 TEST=Ran trybot run with VM tests. Change-Id: I1747bc55c66c3eeae10e2cafa2dfc8219d758874 Reviewed-on: http://gerrit.chromium.org/gerrit/8184 Commit-Ready: David James <davidjames@chromium.org> Reviewed-by: David James <davidjames@chromium.org> Tested-by: David James <davidjames@chromium.org>
/external/autotest/client/site_tests/login_ChromeProfileSanitary/login_ChromeProfileSanitary.py
|
f77fa8e0abc40604e740c82a608d4db9d7665f0d |
|
28-Jul-2011 |
Nirnimesh <nirnimesh@chromium.org> |
Replace autox login calls with pyauto calls All login calls made through cros_ui_test.py now go thru pyauto. This is in preparation for switching the default login behavior to webui with gaia extension login. Also: - works native login ui. Will be expanded for webui login crosbug.com/18271 - reduces dep on some magic files (like LOGGED_IN_MAGIC_FILE, ownership) - wholesale conversion of tests in BVT to use pyauto - bring pyauto goodness to mainstream autotest I've tried most tests from different autotest suites. BUG=chromium-os:17904 TEST=smoke suite, BVT, regression suite Change-Id: Ib31d7137ed1a757cc238168c84d779d0fbaea15a Reviewed-on: http://gerrit.chromium.org/gerrit/4929 Reviewed-by: Nirnimesh <nirnimesh@chromium.org> Tested-by: Nirnimesh <nirnimesh@chromium.org>
/external/autotest/client/site_tests/login_ChromeProfileSanitary/login_ChromeProfileSanitary.py
|
93e65d0badb3e0bf25b5c499b683ba6440208d2b |
|
10-Mar-2011 |
Chris Masone <cmasone@chromium.org> |
[autotest] Update ChromeSession to play nicely with modern chrome os The ChromeSession class was written long ago, at a time before we'd picked a permanent mount point for cryptohomes, or written code to drive a login for testing purposes, or written a base class from which all UI tests are supposed to inherit, or made assumptions around there being just one instance of chrome running at any given time. This changelist updates the class to be compatible with these assumptions, and updates tests that use this class to work in the New World Order :-) BUG=12697 TEST=Run the affected tests, and ensure that no more of them fail than did before this CL Change-Id: I518a4e45d0a72beeed22df3e31817fe9642dc1a0 Review URL: http://codereview.chromium.org/6624002
/external/autotest/client/site_tests/login_ChromeProfileSanitary/login_ChromeProfileSanitary.py
|
51d1939bf47960b6e65042402a900e0564aa6d3e |
|
06-Jan-2011 |
Eric Li <ericli@google.com> |
Rename cros/ui.py into cros/cros_ui.py, and adjust all other import refereces as needed. Change-Id: I6f1c28d817f91b979737ea3a4cafa9ea23cc693a BUG=7236 TEST= 1. run grep -wnrc ui server/* | grep -v $":0" | sort grep -wnrc ui client/* | grep -v $":0" | sort to find out all reference to ui module. 2. emerge autotest, and run bvt against a live system. Review URL: http://codereview.chromium.org/6037017
/external/autotest/client/site_tests/login_ChromeProfileSanitary/login_ChromeProfileSanitary.py
|
e7c4cab13a8576a4f9de41b2dc1fb8c45c97424c |
|
05-Jan-2011 |
Eric Li <ericli@google.com> |
Change-Id: Ib50962111d0c6c07a135679d80930af4bc52915b Move site_chrome_test, site_logging, site_log_reader, site_crash_test into cros dir. site_chrome_test --> cros/chrome_test site_crash_test --> cros/crash_test site_logging --> cros/cros_logging site_log_reader --> cros/cros_logging site_ui_test --> cros/cros_ui_test I had removed site_logging module and moved its code into cros_logging, since its new name (logging) has conflict with python's logging module. site_log_reader has also been merged into cros_logging module. As I am touching all the files in the list, I also removed some unnecessary import to autotest_lib.client.bin.test. Change-Id: I2c8f101a6c7a0499619e227e4cb0cfb8ceec4690 BUG=7236 TEST=run bvt and every other tests been touched from both source (third_party/autotest/files) and chroot (/build/board/usr/local/autotest) Review URL: http://codereview.chromium.org/5740004
/external/autotest/client/site_tests/login_ChromeProfileSanitary/login_ChromeProfileSanitary.py
|
c4d8f4aab4e434fcb1a9fb33931768ffebfb8f1c |
|
10-Dec-2010 |
Eric Li <ericli@google.com> |
Move site_httpd, site_uim, site_login and site_cryptohome into cros/ dir. And change import site_utils to import utils as I touched more source code. Change-Id: I18bbac502c67ddedaccc7ef034c4f8c8b204506e BUG=7236 TEST=BVT Review URL: http://codereview.chromium.org/5680003
/external/autotest/client/site_tests/login_ChromeProfileSanitary/login_ChromeProfileSanitary.py
|
cb6a91adb049e9d5fe42a9adc4e570a988203e65 |
|
09-Dec-2010 |
Eric Li <ericli@google.com> |
Move site_ui_test, site_auth_server and site_dns_server into client/cros. And fall back import site_utils into import utils, since there need to directly import site_utils at all. import site_utils is taken care inside utils. Change-Id: I4bb989c0fb636efd57ae1af185fd8e6fa6067463 BUG=7236 TEST=bvt and regression tests. Review URL: http://codereview.chromium.org/5649004
/external/autotest/client/site_tests/login_ChromeProfileSanitary/login_ChromeProfileSanitary.py
|
9da65c483ef9368379f8918c17fd4ede63b887cf |
|
07-Dec-2010 |
Eric Li <ericli@google.com> |
Revert "Revert "Create a cros directory under client, and start moving things into it."" This reverts commit 985a034fc1fdec67841dd73d1913b0020e689423. Resubmit http://codereview.chromium.org/5519008/ along with http://codereview.chromium.org/5568008/ this time. Change-Id: I1b5b10ba3e4f9b13e0632cd45f27210bcb13b2a0 TBR=seano
/external/autotest/client/site_tests/login_ChromeProfileSanitary/login_ChromeProfileSanitary.py
|
985a034fc1fdec67841dd73d1913b0020e689423 |
|
07-Dec-2010 |
Sean O'Connor <seano@chromium.org> |
Revert "Create a cros directory under client, and start moving things into it." This reverts commit 4b1222e930ef86507beb7232e7b7400d043f95ba. Looks like something broke with autotest module imports in ericli's renaming CL. the preflight smoke test complained: Running client test client/site_tests/suite_Smoke/controceback (most recent call last): File "./server/autoserv", line 35, in <module> from autotest_lib.server import server_job, utils, autoserv_parser, autotest File "/build/x86-generic/usr/local/autotest/server/server_job.py", line 11, in <module> from autotest_lib.client.bin import sysinfo File "/build/x86-generic/usr/local/autotest/client/bin/sysinfo.py", line 6, in <module> "site_sysinfo", base_sysinfo.base_sysinfo) File "/build/x86-generic/usr/local/autotest/client/common_lib/utils.py", line 1412, in import_site_class res = import_site_symbol(path, module, classname, None, modulefile) File "/build/x86-generic/usr/local/autotest/client/common_lib/utils.py", line 1376, in import_site_symbol module = import_site_module(path, module, modulefile=modulefile) File "/build/x86-generic/usr/local/autotest/client/common_lib/utils.py", line 1358, in import_site_module return __import__(module, {}, {}, [short_module]) File "/build/x86-generic/usr/local/autotest/client/bin/site_sysinfo.py", line 5, in <module> from autotest_lib.client.cros import constants as chromeos_constants ImportError: No module named cros BUG= TEST= Review URL: http://codereview.chromium.org/5592008 Change-Id: I440b4e1df68bad73d0592870653c94c55a1a6b8d
/external/autotest/client/site_tests/login_ChromeProfileSanitary/login_ChromeProfileSanitary.py
|
4b1222e930ef86507beb7232e7b7400d043f95ba |
|
07-Dec-2010 |
Eric Li <ericli@google.com> |
Create a cros directory under client, and start moving things into it. The first step only includes chromeos_constants.py. But you get the idea how the others will look like. Change-Id: I0a601a53e4d9a43f06e9f9f67429ac780f2562d0 BUG=7236 TEST=bvt test I dont worry too much about occasional break ups caused by this, since I will continues working on this refactoring and this is just the beginning. Review URL: http://codereview.chromium.org/5519008
/external/autotest/client/site_tests/login_ChromeProfileSanitary/login_ChromeProfileSanitary.py
|
03acb7dd8602d3149dde4f17e5bac57d13319ea0 |
|
19-Apr-2010 |
Chris Masone <cmasone@chromium.org> |
Update and stabilize login_ChromeProfileSanitary Update login_ChromeProfileSanitary to use the latest login/logout test infrastructure. Also, update it to make it less flaky. It's still expected to fail, though, as the regression it's designed to catch is mitigated and not fixed yet. Review URL: http://codereview.chromium.org/1631027
/external/autotest/client/site_tests/login_ChromeProfileSanitary/login_ChromeProfileSanitary.py
|
f25f73fda2174dcad298db37e872a7b5351fc189 |
|
07-Apr-2010 |
rginda <rginda@chromium.org> |
switch to autox.py and robustify login/logout code This CL switches from using the autox binary to using autox.py. This includes backwards incompatible changes to site_login.py, and I haven't had a chance to fix the affected callsites yet. I've also made the login/logout code a little more robust. Now it'll make sure that the login manager is running under a NEW pid, that X is running, and that at a window is visible before assuming we're ready to log in. All of the wait loops have been refactored into wait_for(...), which spits out logging.info() messages that could be parsed later to determine how long the operations are actually taking. Perhaps this could make it into a different, non-login specific library soonish. I'm out of the office for the next few days, but wanted to get this out there before the trunk totally passed it by. I'll return on Wednesday to finish the job. Review URL: http://codereview.chromium.org/1534001
/external/autotest/client/site_tests/login_ChromeProfileSanitary/login_ChromeProfileSanitary.py
|
944c80b850f53950de2b9c8e8890735de49ea4a2 |
|
30-Mar-2010 |
Daniel Erat <derat@google.com> |
test: Update watchlist and add comment to failing test. login_ChromeProfileSanitary is expected to fail until http://crosbug.com/1967 is fixed. BUG=none TEST=none TBR=cmasone Review URL: http://codereview.chromium.org/1586001
/external/autotest/client/site_tests/login_ChromeProfileSanitary/login_ChromeProfileSanitary.py
|
3e3f7f4041a9b0d4f2afc0c80f7fefe03ef5563e |
|
30-Mar-2010 |
Daniel Erat <derat@google.com> |
test: Clean up site_login.py a bit. This has overlap with rginda's http://codereview.chromium.org/1534001, but there's one part that I prefer from my change: making all of these wait_ functions throw exceptions when they time out, which cuts down on a bunch of code that would otherwise need to be duplicated across all of our tests. I also ran into a bunch of races in UI tests when I reduced the polling timeout, so I've tried to fix those too. BUG=none TEST=ran the tests, both logged-in and logged-out Review URL: http://codereview.chromium.org/1565001
/external/autotest/client/site_tests/login_ChromeProfileSanitary/login_ChromeProfileSanitary.py
|
e98b668d57e2a87274736b36e1f7809420880f55 |
|
26-Mar-2010 |
Daniel Erat <derat@google.com> |
test: Add desktopui_WindowManagerFocusNewWindows. This uses the new Python version of autox to open a few windows and check that the window manager moves them onscreen and focuses them. Note that it doesn't actually check what gets composited, though (although that should soon be pretty straightforward to add). BUG=chromium-os:2041,chromium-os:2229 TEST=ran it on x86-generic Review URL: http://codereview.chromium.org/1371003
/external/autotest/client/site_tests/login_ChromeProfileSanitary/login_ChromeProfileSanitary.py
|
558365c35478ba542024e546ed327b39a9a6fb21 |
|
24-Mar-2010 |
Chris Masone <cmasone@chromium.org> |
Test that checks for cookie leakage, per http://code.google.com/p/chromium-os/issues/detail?id=1967 I expect this test to fail right now, but when we fix the bug the right way, it'll start passing. Review URL: http://codereview.chromium.org/1274002
/external/autotest/client/site_tests/login_ChromeProfileSanitary/login_ChromeProfileSanitary.py
|