Home | History | Annotate | Download | only in policy_URLBlacklist
      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 = "krishnargv"
      6 NAME = "policy_URLBlacklist"
      7 ATTRIBUTES = "suite:regression"
      8 SUITE = "regression"
      9 TIME = "SHORT"
     10 TEST_CATEGORY = "General"
     11 TEST_CLASS = "enterprise"
     12 TEST_TYPE = "client"
     13 
     14 DOC = """
     15 Verify effects of policy_URLBlacklist policy on client behavior & appearance.
     16 
     17 This test verifies the effect of the URLBlacklist user policy on
     18 Chrome OS client behavior and appearance. It exercises a range of policy values using three
     19 unique test cases, named: NotSet, SingleBlacklistedFile and MultipleBlacklistedFiles. See the test file for a
     20 full description of what each test case does.
     21 
     22 A test case shall pass if the URLs that are not part of the URLBlacklist policy value
     23 are not blocked.
     24 The test case shall also pass if the URLs that are part of the URLBlacklist policy value
     25 are blocked.
     26 A test case shall fail if the above behavior is not enforced.
     27 
     28 Usage example:
     29 $ test_that <IPAddress> policy_URLBlacklist --args="mode=single case=MultipleBlacklistedFiles
     30 env=dm-test dms_name=xot-dmst username=test (a] crosprqa1.com password=test1234"
     31 
     32 Runs a single test case (e.g., MultipleBlacklistedFiles) using the specified test DM Server
     33 environment, signing in with the specified username and password. Expectation
     34 is that the page will be blocked.
     35 
     36 """
     37 
     38 job.run_test("policy_URLBlacklist", args=args)
     39 
     40