blob: 133d2db042421a66cf1fc43b53aa8bb0e375feb4 [file] [log] [blame] [edit]
# Copyright (c) 2015 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
AUTHOR = "dhaddock"
NAME = "ui_SystemTray_user"
PURPOSE = "Collects system tray images to look for unwanted changes to the ui"
CRITERIA = """
"""
ATTRIBUTES = "suite:bvt-perbuild"
TIME = "SHORT"
TEST_CATEGORY = "General"
TEST_CLASS = "ui"
TEST_TYPE = "client"
DEPENDENCIES = "board:link"
DOC = """
This test collects system tray images for the logged in user. It ensure that
the system tray is unaffected by the users profile photo. As the profile
photo used by telemetry autotests are randomly generated, we apply a mask over
the image.
This test is currently only run on link so the mask points are link
specific.
mask_points is two coordinates [x, y, x, y]. The top left and bottom right of
the mask.
"""
job.run_test('ui_SystemTray',
width = 80,
height = 90,
mask_points=[10, 8, 73, 71],
logged_in=True,
tag='user')