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 5 AUTHOR = 'scunningham' 6 NAME = 'policy_SpellCheckServiceEnabled' 7 TIME = 'SHORT' 8 TEST_CATEGORY = 'Functional' 9 TEST_CLASS = 'enterprise' 10 TEST_TYPE = 'client' 11 12 DOC = ''' 13 Verify effects of SpellCheckServiceEnabled policy on client behavior. 14 15 This test verifies the effect of the SpellCheckServiceEnabled user policy on 16 Chrome OS client behavior and appearance. It exercises all valid policy 17 values across three test cases: True_Enable, False_Disable, and 18 NotSet_Disable. 19 20 The test shall pass if the chrome://settings page: 21 1) The Spelling Suggestions check box is checked (or unchecked) when policy 22 is true (or false). 23 2) The Spelling Suggestions check box is editable (or is not editable) when 24 the policy is not set (or is set true or false). 25 The test shall fail if the above behaviors are not enforced. 26 27 Note: The Spelling Suggestions setting check box is labeled, "Use a web 28 service to help resolve spelling errors." 29 30 This control file allows CloudDPC E2E tests to run any test case defined in 31 this test via command-line. 32 33 ''' 34 35 args_dict = utils.args_to_dict(args) 36 37 job.run_test('policy_SpellCheckServiceEnabled', **args_dict) 38