1# Copyright 2016 The Chromium OS Authors. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5AUTHOR = 'scunningham' 6NAME = 'policy_ChromeOsLockOnIdleSuspend.true_lock' 7# TODO(krishnargv): Uncomment ATTRIBUTES line to add case to suite:ent-nightly 8# when crbug.com/666430 is fixed. 9# ATTRIBUTES = 'suite:ent-nightly, suite:policy' 10TIME = 'SHORT' 11TEST_CATEGORY = 'Functional' 12TEST_CLASS = 'enterprise' 13TEST_TYPE = 'client' 14 15DOC = ''' 16Verify effects of ChromeOsLockOnIdleSuspend policy. 17 18This test case verifies the behavior and appearance of Chrome OS when the 19ChromeOsLockOnIdleSuspend user policy is set True. 20 21The test case shall pass if the 'Require password to wake from sleep' check 22box is checked and uneditable, and the Screen Lock is displayed when the 23device goes to sleep. It shall fail if this behavior is not enforced. 24 25''' 26 27job.run_test('policy_ChromeOsLockOnIdleSuspend', case='True_Lock') 28