1# Copyright 2018 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 = "Chrome OS Team" 6NAME = "video_YouTubePage.fullscreen" 7PURPOSE = "Verify that YouTube smoothly cycles between fullscreen modes" 8CRITERIA = """ 9This test will fail if the percentage of dropped frames exceeds 1%. The test 10will also fail if playback does not correctly transition between fullscreen 11states. 12""" 13TIME = "MEDIUM" 14TEST_CATEGORY = "General" 15TEST_CLASS = "video" 16TEST_TYPE = "client" 17BUG_TEMPLATE = { 18 'labels': ['VideoTestFailure', 'OS-Chrome'], 19} 20 21DOC = """ 22This test verifies YouTube videos can play smoothly while cycling fullscreen. 23""" 24 25_TEST_NAME = 'fullscreen' 26_TEST_PAGE = 'https://www.youtube.com/watch?v=O-XidwKsKAE&html5=1' 27job.run_test('video_YouTubePage', subtest_name=_TEST_NAME, 28 test_page=_TEST_PAGE, 29 subdir_tag=_TEST_NAME) 30