Home | History | Annotate | Download | only in policy_ImagesBlockedForUrls
      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_ImagesBlockedForUrls"
      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 ImagesBlockedForUrls policy on client look and feel.
     16 
     17 This test verifies the effect of the ImagesBlockedForUrls user policy on
     18 Chrome OS client behavior and appearance when the DefaultImagesSetting policy
     19 is 1 or undefined. It exercises a range of policy values using four unique
     20 test cases, named: NotSet, 1Url, 2Urls, and 3Urls. See the test file for a
     21 full description of what each test case does.
     22 
     23 In general, a test case shall pass if the browser only blocks images on a test
     24 page that is in an domain listed in the ImagesBlockedForUrls policy. A test
     25 case shall fail if the browser allows images to be shown on a page where they
     26 should be blocked, or blocks images on a page where they should be shown.
     27 
     28 Usage example:
     29 $ test_that <IPAddress> ImagesBlockedForUrls --args="mode=single case=2Urls
     30 env=dm-test dms_name=xot-dmst username=test (a] crosprqa1.com password=test1234"
     31 
     32 Runs a single test case (e.g., 2Urls) using the specified test DM Server
     33 environment, signing in with the specified username and password. Expectation
     34 is that the image on the page will be allowed (not blocked).
     35 
     36 """
     37 
     38 job.run_test("policy_ImagesBlockedForUrls", args=args)
     39 
     40