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