Home | History | Annotate | Download | only in desktopui_ChromeSanity
      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 
      5 AUTHOR = "derat, chromeos-ui"
      6 NAME = "desktopui_ChromeSanity"
      7 ATTRIBUTES = "suite:bvt-perbuild"
      8 TIME = "SHORT"
      9 TEST_CATEGORY = "General"
     10 TEST_CLASS = "desktopui"
     11 TEST_TYPE = "client"
     12 JOB_RETRIES = 0
     13 
     14 DOC = """
     15 Test that Chrome is at least marginally usable.
     16 
     17 Uses Telemetry to log in, load a simple HTML page, and log out. Along the way,
     18 tests that session_manager emits the expected SessionStateChanged D-Bus signal
     19 about the session starting and that the user's encrypted home directory is
     20 mounted.
     21 
     22 A 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 
     29 That's a fairly broad range of causes. They're all covered here with the intent
     30 of providing a single fast-running, minimally-flaky test that can be used to
     31 validate new versions of Chrome before integrating them into Chrome OS.
     32 
     33 The info log provides high-level information about what the test is doing and
     34 can hopefully be used to narrow down the location of failure.
     35 """
     36 
     37 job.run_test('desktopui_ChromeSanity')
     38