# Copyright (c) 2013 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 = "dunno@chromium.org"
NAME = "video_YouTubePage.frame_drop"
PURPOSE = "Verify that YouTube page HTML5 video plays back smoothly"
CRITERIA = """
This test will fail if YouTube page HTML5 video has excessive frame drops.
"""
TIME = "MEDIUM"
TEST_CATEGORY = "General"
TEST_CLASS = "video"
TEST_TYPE = "client"
BUG_TEMPLATE = {
    'labels': ['VideoTestFailure', 'OS-Chrome'],
}

DOC = """
This test verifies YouTube videos can play smoothly.
"""

_TEST_NAME = 'frame_drop'
job.run_test('video_YouTubePage', subtest_name=_TEST_NAME,
             subdir_tag=_TEST_NAME)