1# Copyright (c) 2013 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 = "dunno@chromium.org" 6NAME = "video_YouTubePage.last_second" 7PURPOSE = "Verify that YouTube page HTML5 video plays last second of video." 8CRITERIA = """ 9This test will fail if YouTube page HTML5 video fails to continuously play the 10last second of the video. 11""" 12TIME = "SHORT" 13TEST_CATEGORY = "General" 14TEST_CLASS = "video" 15TEST_TYPE = "client" 16BUG_TEMPLATE = { 17 'labels': ['VideoTestFailure', 'OS-Chrome'], 18} 19 20DOC = """ 21This test verifies a YouTube video plays the last second fully. 22""" 23 24_TEST_NAME = 'last_second' 25_TEST_PAGE = 'https://youtube.com/watch?v=zuzaxlddWbk&html5=1' 26job.run_test('video_YouTubePage', subtest_name=_TEST_NAME, 27 test_page=_TEST_PAGE, 28 subdir_tag=_TEST_NAME) 29