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

Issue 1363002: Add session object so that we have one class that control logged in session (Closed)

Created:
10 years, 9 months ago by sosa
Modified:
9 years, 6 months ago
CC:
chromium-os-reviews_chromium.org, petkov, seano, ericli, sosa
Visibility:
Public.

Description

Add session object so that we have one class that control logged in session

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix firstrender #

Patch Set 3 : Fixes for rginda #

Patch Set 4 : add class #

Patch Set 5 : Fix comments #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -31 lines) Patch
M client/bin/site_login.py View 1 2 1 chunk +2 lines, -1 line 0 comments Download
A client/bin/site_ui_test.py View 4 1 chunk +41 lines, -0 lines 3 comments Download
M client/site_tests/desktopui_ChromeFirstRender/desktopui_ChromeFirstRender.py View 2 1 chunk +8 lines, -6 lines 0 comments Download
M client/site_tests/desktopui_DoLogin/desktopui_DoLogin.py View 1 2 1 chunk +6 lines, -24 lines 1 comment Download

Messages

Total messages: 9 (0 generated)
sosa
Moved common code for chrome os sessions into a class. I'll modify screensaver and other ...
10 years, 9 months ago (2010-03-25 23:05:03 UTC) #1
rginda
http://codereview.chromium.org/1363002/diff/1/2 File client/bin/site_login.py (right): http://codereview.chromium.org/1363002/diff/1/2#newcode104 client/bin/site_login.py:104: class ChromeOSSession(object): How about subclassing test.test instead of object, ...
10 years, 9 months ago (2010-03-25 23:19:50 UTC) #2
sosa
http://codereview.chromium.org/1363002/diff/1/2 File client/bin/site_login.py (right): http://codereview.chromium.org/1363002/diff/1/2#newcode104 client/bin/site_login.py:104: class ChromeOSSession(object): I was worried about subclassing test.test. That ...
10 years, 9 months ago (2010-03-25 23:24:47 UTC) #3
sosa
Actually hold off a sec. Lemme see if I can create a site_ui_test subclasses of ...
10 years, 9 months ago (2010-03-25 23:28:33 UTC) #4
sosa
Incorporated your changes and it seems to work great! Much simpler too, thanks rob
10 years, 9 months ago (2010-03-25 23:49:44 UTC) #5
rginda
Cool, LGTM On 2010/03/25 23:49:44, sosa wrote: > Incorporated your changes and it seems to ...
10 years, 9 months ago (2010-03-26 00:09:00 UTC) #6
Chris Masone
lgtm On 2010/03/26 00:09:00, rginda wrote: > Cool, LGTM > > On 2010/03/25 23:49:44, sosa ...
10 years, 9 months ago (2010-03-26 00:13:44 UTC) #7
kmixter1
http://codereview.chromium.org/1363002/diff/17001/18002 File client/bin/site_ui_test.py (right): http://codereview.chromium.org/1363002/diff/17001/18002#newcode32 client/bin/site_ui_test.py:32: if not site_login.attempt_login(self, script): would be nice if we ...
10 years, 9 months ago (2010-03-26 02:38:45 UTC) #8
Chris Masone
10 years, 9 months ago (2010-03-26 02:42:19 UTC) #9
http://codereview.chromium.org/1363002/diff/17001/18002
File client/bin/site_ui_test.py (right):

http://codereview.chromium.org/1363002/diff/17001/18002#newcode32
client/bin/site_ui_test.py:32: if not site_login.attempt_login(self, script):
On 2010/03/26 02:38:45, kmixter1 wrote:
> would be nice if we waited for cryptohome here.  I would think every test
would
> want to be started when chrome really is up and ready.

waiting for cryptohome is no guarantee that Chrome is up and ready.  In fact, we
wait for a file that's output by an upstart job that runs when
start-user-session is emitted on Chrome's behalf -- something that happens
strictly after the cryptohome is mounted.

Powered by Google App Engine
This is Rietveld 408576698