New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 653305 link

Starred by 1 user

Issue metadata

Status: Verified
Owner: ----
Closed: Nov 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Feature



Sign in to add a comment

Write policy_ChromeOsLockOnIdleSuspend test using EP Framework

Project Member Reported by scunning...@chromium.org, Oct 5 2016

Issue description

Write automated test for ChromeOsLockOnIdleSuspend user policy using EP Framework.

 
Cc: kathrelk...@chromium.org krishna...@chromium.org
Status: Started (was: Assigned)
The ChromeOsLockOnIdleSuspend user policy is set by the Admin Control panel (CPanel) > User Settings > Idle settings > Lock screen on sleep: Allow user to configure | Lock screen | Don't lock screen.

- When policy is set true (Lock), setting is checked and disabled (not editable).
- When policy is set false (Don't lock), setting is unchecked and disabled.
- When policy is not set (Allow user to configure), setting is unchecked and enabled (editable).

Note: It appears that the user-set state (checked / unchecked) is remembered and restored when the admin applies true/false, and then later returns it to not set.
Note: The setting on chrome://settings is in the People section, and is labelled 'Require password to wake from sleep'
Project Member

Comment 3 by bugdroid1@chromium.org, Nov 20 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/autotest/+/48103be7a3e317c5a2a34840ba31c0ffdc6c927f

commit 48103be7a3e317c5a2a34840ba31c0ffdc6c927f
Author: Scott Cunningham <scunningham@chromium.org>
Date: Mon Nov 14 23:35:46 2016

policy_ChromeOsLockOnIdleSuspend test in EP Framework.

BUG= chromium:653305 
TEST=Run test_that policy_ChromeOsLockOnIdleSuspend.false_unlock

Change-Id: I295d9b1d5816da4f08b92b87c286dd4bcd7e8d64
Reviewed-on: https://chromium-review.googlesource.com/411952
Commit-Ready: Scott Cunningham <scunningham@chromium.org>
Tested-by: Scott Cunningham <scunningham@chromium.org>
Reviewed-by: Scott Cunningham <scunningham@chromium.org>

[add] https://crrev.com/48103be7a3e317c5a2a34840ba31c0ffdc6c927f/client/site_tests/policy_ChromeOsLockOnIdleSuspend/control.false_unlock
[add] https://crrev.com/48103be7a3e317c5a2a34840ba31c0ffdc6c927f/client/site_tests/policy_ChromeOsLockOnIdleSuspend/control
[add] https://crrev.com/48103be7a3e317c5a2a34840ba31c0ffdc6c927f/client/site_tests/policy_ChromeOsLockOnIdleSuspend/src/Makefile
[add] https://crrev.com/48103be7a3e317c5a2a34840ba31c0ffdc6c927f/client/site_tests/policy_ChromeOsLockOnIdleSuspend/policy_ChromeOsLockOnIdleSuspend.py
[add] https://crrev.com/48103be7a3e317c5a2a34840ba31c0ffdc6c927f/client/site_tests/policy_ChromeOsLockOnIdleSuspend/control.notset_unlock
[add] https://crrev.com/48103be7a3e317c5a2a34840ba31c0ffdc6c927f/client/site_tests/policy_ChromeOsLockOnIdleSuspend/control.true_lock

Project Member

Comment 5 by bugdroid1@chromium.org, Nov 22 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/3dc8331bcfb417790e096d43903309131592c9d0

commit 3dc8331bcfb417790e096d43903309131592c9d0
Author: Scott Cunningham <scunningham@chromium.org>
Date: Mon Nov 21 23:19:01 2016

Add policy_ChromeOsLockOnIdleSuspend to Telemetry suite.

BUG= chromium:653305 
TEST=Run test_that policy_ChromeOsLockOnIdleSuspend.false_unlock

Change-Id: I3daf1c7d4e12e56e24172a1f23b96436dc074190
Reviewed-on: https://chromium-review.googlesource.com/412912
Commit-Ready: Scott Cunningham <scunningham@chromium.org>
Tested-by: Scott Cunningham <scunningham@chromium.org>
Reviewed-by: Scott Cunningham <scunningham@chromium.org>

[modify] https://crrev.com/3dc8331bcfb417790e096d43903309131592c9d0/chromeos-base/autotest-chrome/autotest-chrome-9999.ebuild

Status: Verified (was: Started)
Owner: ----

Sign in to add a comment