1 # Copyright (c) 2010 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 = "Chromium OS Project" 6 NAME = "desktopui_GmailLatency" 7 PURPOSE = "Basic test of performance and latency of Gmail on Chrome OS." 8 CRITERIA = """ 9 This test will fail if the URL fails to load or the test does not complete 10 within the allotted time. 11 """ 12 TIME = "MEDIUM" 13 TEST_CATEGORY = "Functional" 14 TEST_CLASS = "desktopui" 15 TEST_TYPE = "client" 16 17 DOC = """ 18 This test opens a new browser to the internal Gmail latency test URL and 19 waits for the test to complete. 20 TODO(sosa (a] chromium.org) - Must find way to bring over tests from image (add 21 to chromium buildbot, etc). url_fetch_test is from ~chromium/src/chrome/test 22 TODO(sjg (a] chromium.org) - Create an externally-accessible URL for use by this 23 test. At present the test can only be run by one dev, and is intended for use 24 by the Gmail team. 25 TODO(sjg (a] chromium.org) - Move this to use PyAuto or some other mechanism 26 which uses the running Chrome and doesn't involve us including a binary with 27 this test 28 """ 29 30 job.run_test('desktopui_GmailLatency') 31