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