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