1 # Copyright 2019 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 = 'dbeckett' 6 NAME = 'policy_NewTabPageLocation' 7 TIME = 'SHORT' 8 TEST_CATEGORY = 'General' 9 TEST_CLASS = 'enterprise' 10 TEST_TYPE = 'client' 11 12 DOC = ''' 13 Verify effect of NewTabPageLocation policy on client behavior. 14 15 If the NewTabPageLocation is set and the user goes to a newtab 16 the set URL should load. 17 18 If the NewTabPageLocation is not set and the user goes to a newtab 19 then chrome://newtab/ should open. 20 21 ''' 22 23 args_dict = utils.args_to_dict(args) 24 25 job.run_test('policy_HomepageLocation', **args_dict) 26