Home | History | Annotate | Download | only in policy_NotificationsAllowedForUrls
      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 
      5 AUTHOR = 'krishnargv'
      6 NAME = 'policy_NotificationsAllowedForUrls'
      7 TIME = 'SHORT'
      8 TEST_CATEGORY = 'General'
      9 TEST_CLASS = 'enterprise'
     10 TEST_TYPE = 'client'
     11 
     12 DOC = '''
     13 Verify effect of NotificationsAllowedForUrls policy on Chrome OS behavior.
     14 
     15 This test verifies the effect of the NotificationsAllowedForUrls user policy on
     16 Chrome OS client behavior, when DefaultNotificationSetting=2 (i.e., do not allow
     17 notifications). It exercises all valid policy values across three test cases:
     18 SiteAllowed_Show, SiteNotAllowed_Block, and NotSet_Block.
     19 
     20 This default control file allows CloudDPC E2E tests to run any test case
     21 defined in this test via command-line.
     22 '''
     23 
     24 args_dict = utils.args_to_dict(args)
     25 
     26 job.run_test('policy_NotificationsAllowedForUrls', **args_dict)
     27