Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(37)

Unified Diff: client/site_tests/power_LoadTest/control

Issue 2872027: External Extension for power_LoadTest (Closed) Base URL: ssh://gitrw.chromium.org/autotest.git
Patch Set: Added README with pack instructions. Cleaned up test loop, check_network. Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « client/site_tests/power_LoadTest/README.txt ('k') | client/site_tests/power_LoadTest/extension.crx » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/site_tests/power_LoadTest/control
diff --git a/client/site_tests/power_LoadTest/control b/client/site_tests/power_LoadTest/control
index 2edae3bae78bb087edc18fcaeaf96d720eef3975..592d24259c911b9cd0680a49169a9e4ba5c98de6 100755
--- a/client/site_tests/power_LoadTest/control
+++ b/client/site_tests/power_LoadTest/control
@@ -20,22 +20,17 @@ determined by the seconds variable.
The following manual steps need to be performed on the device under test
before this test can be run:
- make sure that Ethernet cable is disconnected and WiFi is connected
- - login to Chrome OS and open a terminal window (Ctrl-Alt-t)
- - run the following command to launch a new browser window:
- $ sudo su chronos -c "/opt/google/chrome/chrome --no-first-run"
- - in the newly opened browser window:
- - navigate to http://www.gmail.com. Logout if already logged in. Check the
- "Stay signed in" box and log in. If the yellow "Do you want Chromium to
- save password" bar comes up, click on "Save password"
- - navigate to http://www.facebook.com. Logout if already logged in. Check
- the "Keep me logged in" box and log in. If the yellow "Do you want
- Chromium to save password" bar comes up, click on "Save password".
- - close browser window
- disconnect power cable
You are now ready to run the test.
"""
+# TODO (bleung): Find a way to do automatic Facebook and Gmail login in
+# perf test account.
+# TODO (bleung): Seconds variable is used here, but is not in power_LoadTest
+# because of the change to packed external extension. Change ext to take arg.
+
+
import time
loop_time = 3600
« no previous file with comments | « client/site_tests/power_LoadTest/README.txt ('k') | client/site_tests/power_LoadTest/extension.crx » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698