1 # Copyright (c) 2015 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 = "dhaddock" 6 NAME = "ui_SystemTray_user" 7 PURPOSE = "Collects system tray images to look for unwanted changes to the ui" 8 CRITERIA = """ 9 10 """ 11 ATTRIBUTES = "suite:bvt-perbuild" 12 SUITE = "bvt-perbuild" 13 TIME = "SHORT" 14 TEST_CATEGORY = "General" 15 TEST_CLASS = "ui" 16 TEST_TYPE = "client" 17 DEPENDENCIES = "board:link" 18 19 DOC = """ 20 This test collects system tray images for the logged in user. It ensure that 21 the system tray is unaffected by the users profile photo. As the profile 22 photo used by telemetry autotests are randomly generated, we apply a mask over 23 the image. 24 25 This test is currently only run on link so the mask points are link 26 specific. 27 28 mask_points is two coordinates [x, y, x, y]. The top left and bottom right of 29 the mask. 30 31 """ 32 33 job.run_test('ui_SystemTray', 34 width = 80, 35 height = 90, 36 mask_points=[10, 8, 73, 71], 37 logged_in=True, 38 tag='user') 39