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