blob: 81562d05da42d4377c8c05e3b53404b38065aa35 [file] [log] [blame] [edit]
# Copyright 2017 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
AUTHOR = 'krishnargv'
NAME = 'policy_NotificationsBlockedForUrls'
TIME = 'SHORT'
TEST_CATEGORY = 'General'
TEST_CLASS = 'enterprise'
TEST_TYPE = 'client'
DOC = '''
Verify effect of NotificationsBlockedForUrls policy on Chrome OS behavior.
This test verifies the effect of the NotificationsBlockedForUrls user policy on
Chrome OS client behavior, when DefaultNotificationSetting=1 (i.e., allow
notifications). It exercises all valid policy values across three test cases:
SiteBlocked_Block, SiteAllowed_Show, and NotSet_Show.
This default control file allows CloudDPC E2E tests to run any test case
defined in this test via command-line.
'''
args_dict = utils.args_to_dict(args)
job.run_test('policy_NotificationsAllowedForUrls', **args_dict)