• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2017 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 = "derat, chromeos-ui"
6NAME = "desktopui_ChromeSanity"
7ATTRIBUTES = "suite:bvt-perbuild"
8TIME = "SHORT"
9TEST_CATEGORY = "General"
10TEST_CLASS = "desktopui"
11TEST_TYPE = "client"
12JOB_RETRIES = 0
13
14DOC = """
15Test that Chrome is at least marginally usable.
16
17Uses Telemetry to log in, load a simple HTML page, and log out. Along the way,
18tests that session_manager emits the expected SessionStateChanged D-Bus signal
19about the session starting and that the user's encrypted home directory is
20mounted.
21
22A failure can indicate several things:
23
24- Telemetry-to-Chrome communication isn't working (is Chrome crashing?).
25- Chrome and session_manager aren't coordinating login properly.
26- Chrome is internally broken and can't load web pages.
27- Chrome and cryptohome aren't coordinating user home dir mounting properly.
28
29That's a fairly broad range of causes. They're all covered here with the intent
30of providing a single fast-running, minimally-flaky test that can be used to
31validate new versions of Chrome before integrating them into Chrome OS.
32
33The info log provides high-level information about what the test is doing and
34can hopefully be used to narrow down the location of failure.
35"""
36
37job.run_test('desktopui_ChromeSanity')
38