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

Issue 10382197: Add PyAuto test for DeviceGuestModeEnabled policy (Closed)

Created:
8 years, 7 months ago by bartfab (slow)
Modified:
8 years, 7 months ago
CC:
chromium-reviews, nkostylev+watch_chromium.org, Nirnimesh, kkania, anantha, robertshield, dyu1, dennis_jeffrey
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Add PyAuto test for DeviceGuestModeEnabled policy This CL adds a PyAuto test for the DeviceGuestModeEnabled policy which enables/disables guest login on Chrome OS devices. As a prerequisite, the browser automation framework is fixed so that it does not wait for the login screen to be shown when the account picker is enabled instead. BUG=128343 TEST=New PyAuto ChromeosDevicePolicy.testGuestModeEnabled Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=137521

Patch Set 1 #

Patch Set 2 : Grammar/spelling fixes in comment. #

Total comments: 12

Patch Set 3 : Comments addressed. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+129 lines, -10 lines) Patch
M chrome/browser/automation/automation_provider_observers.h View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/automation/automation_provider_observers_chromeos.cc View 1 2 1 chunk +11 lines, -6 lines 2 comments Download
M chrome/test/functional/PYAUTO_TESTS View 1 1 chunk +3 lines, -2 lines 0 comments Download
A chrome/test/functional/chromeos_device_policy.py View 1 2 1 chunk +112 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
bartfab (slow)
Hi Nirnimesh, Nikita, Could you please review? Thanks.
8 years, 7 months ago (2012-05-16 14:10:35 UTC) #1
Nirnimesh
LGTM https://chromiumcodereview.appspot.com/10382197/diff/3001/chrome/test/functional/chromeos_device_policy.py File chrome/test/functional/chromeos_device_policy.py (right): https://chromiumcodereview.appspot.com/10382197/diff/3001/chrome/test/functional/chromeos_device_policy.py#newcode74 chrome/test/functional/chromeos_device_policy.py:74: !!document.getElementById('pod-row'). is that a double negation? https://chromiumcodereview.appspot.com/10382197/diff/3001/chrome/test/functional/chromeos_device_policy.py#newcode75 chrome/test/functional/chromeos_device_policy.py:75: ...
8 years, 7 months ago (2012-05-16 15:44:37 UTC) #2
Nikita (slow)
lgtm but you should use existing notification(s) https://chromiumcodereview.appspot.com/10382197/diff/3001/chrome/browser/automation/automation_provider_observers_chromeos.cc File chrome/browser/automation/automation_provider_observers_chromeos.cc (right): https://chromiumcodereview.appspot.com/10382197/diff/3001/chrome/browser/automation/automation_provider_observers_chromeos.cc#newcode56 chrome/browser/automation/automation_provider_observers_chromeos.cc:56: registrar_.Add(this, chrome::NOTIFICATION_ACCOUNT_PICKER_WEBUI_READY, ...
8 years, 7 months ago (2012-05-16 15:56:12 UTC) #3
bartfab (slow)
https://chromiumcodereview.appspot.com/10382197/diff/3001/chrome/browser/automation/automation_provider_observers_chromeos.cc File chrome/browser/automation/automation_provider_observers_chromeos.cc (right): https://chromiumcodereview.appspot.com/10382197/diff/3001/chrome/browser/automation/automation_provider_observers_chromeos.cc#newcode56 chrome/browser/automation/automation_provider_observers_chromeos.cc:56: registrar_.Add(this, chrome::NOTIFICATION_ACCOUNT_PICKER_WEBUI_READY, Thanks. I had seen that code but ...
8 years, 7 months ago (2012-05-16 18:07:10 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bartfab@chromium.org/10382197/8001
8 years, 7 months ago (2012-05-16 19:34:42 UTC) #5
Nirnimesh
https://chromiumcodereview.appspot.com/10382197/diff/8001/chrome/browser/automation/automation_provider_observers_chromeos.cc File chrome/browser/automation/automation_provider_observers_chromeos.cc (right): https://chromiumcodereview.appspot.com/10382197/diff/8001/chrome/browser/automation/automation_provider_observers_chromeos.cc#newcode57 chrome/browser/automation/automation_provider_observers_chromeos.cc:57: registrar_.Add(this, chrome::NOTIFICATION_LOGIN_NETWORK_ERROR_SHOWN, When is this raised? It takes a ...
8 years, 7 months ago (2012-05-16 19:48:26 UTC) #6
commit-bot: I haz the power
Change committed as 137521
8 years, 7 months ago (2012-05-16 21:32:08 UTC) #7
Nikita (slow)
https://chromiumcodereview.appspot.com/10382197/diff/8001/chrome/browser/automation/automation_provider_observers_chromeos.cc File chrome/browser/automation/automation_provider_observers_chromeos.cc (right): https://chromiumcodereview.appspot.com/10382197/diff/8001/chrome/browser/automation/automation_provider_observers_chromeos.cc#newcode57 chrome/browser/automation/automation_provider_observers_chromeos.cc:57: registrar_.Add(this, chrome::NOTIFICATION_LOGIN_NETWORK_ERROR_SHOWN, On 2012/05/16 19:48:26, Nirnimesh wrote: > When ...
8 years, 7 months ago (2012-05-22 11:09:16 UTC) #8
bartfab (slow)
8 years, 7 months ago (2012-05-22 11:13:35 UTC) #9
No, you actually had that right from the start. You never listed that
notification as one I should listen for. I just copied the whole list from
WebUILoginView::Observe(), picking up this extra notification.

Powered by Google App Engine
This is Rietveld 408576698