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