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_SearchSuggestEnabled'
7TIME = 'SHORT'
8TEST_CATEGORY = 'General'
9TEST_CLASS = 'enterprise'
10TEST_TYPE = 'client'
11
12DOC = '''
13Verify effects of SearchSuggestEnabled policy on client behavior & appearance.
14
15This test verifies the effect of the SearchSuggestEnabled 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_Enable.
19
20The test shall pass if the chrome://settings page:
211) The Search Suggestion check box is checked (or unchecked) when policy is
22true (or false).
232) The Search Suggestion check box is editable (or is not editable) when the
24policy is not set (or is set true or false).
25The test shall fail if the above behaviors are not enforced.
26
27Note: The Search Suggestion setting check box is labeled, "Use a prediction
28service to help complete searches and URLs typed in the address bar...".
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_SearchSuggestEnabled', **args_dict)
38