• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2015 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_EditBookmarksEnabled"
7ATTRIBUTES = "suite:bvt-perbuild"
8SUITE = "bvt-perbuild"
9TIME = "SHORT"
10TEST_CATEGORY = "General"
11TEST_CLASS = "enterprise"
12TEST_TYPE = "client"
13
14DOC = """
15Verify effects of EditBookmarksEnabled policy on client behavior & appearance.
16
17This test verifies the effect of the EditBookmarksEnabled user policy on
18Chrome OS client behavior and appearance. It exercises all valid policy
19values across three test cases: True_Enabled, False_Disabled, and
20NotSet_Enabled.
21
22A test case shall pass if the Manage Bookmarks page allows (or forbids) the
23user to add a new bookmark when the policy is true/notset (or false). A test
24case shall fail if the above behavior is not enforced.
25
26Default usage example:
27$ test_that <IPAddress> EditBookmarksEnabled
28
29Runs all three test cases using the local AutoTest fake DM server, and with
30the policy json and expected values defined by each test case.
31
32Arguments usage example:
33$ test_that <IPAddress> EditBookmarksEnabled --args="env=prod
34mode=single case=True username=test@crosprqa1.com password=test1234"
35
36Runs a single test case (e.g., True) against the production environment, with
37a specific username and password.
38
39See accompanying README file for additional usage instructions and examples.
40
41"""
42
43job.run_test("policy_EditBookmarksEnabled", args=args)
44