• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2017 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
5AUTHOR = 'krishnargv'
6NAME = 'policy_NotificationsBlockedForUrls.SiteBlocked_Block'
7ATTRIBUTES = 'suite:ent-nightly, suite:policy'
8TIME = 'SHORT'
9TEST_CATEGORY = 'General'
10TEST_CLASS = 'enterprise'
11TEST_TYPE = 'client'
12
13DOC = '''
14Verify effects of NotificationsBlockedForUrls policy.
15
16This test case verifies the behavior and appearance of Chrome OS when user
17policy NotificationsBlockedForUrls contains URLs with one whose domain matches
18the page that triggers the display of notifications, and
19DefaultNotificationsSetting=1 (Allow Notifications).
20When the domain of the test page is one of the policy values of
21NotificationsBlockedForUrls, notifications are blocked on this page.
22
23'''
24
25job.run_test('policy_NotificationsBlockedForUrls', case='SiteBlocked_Block')
26