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 5 AUTHOR = "Chrome OS Team" 6 NAME = "video_YouTubePage.fullscreen" 7 PURPOSE = "Verify that YouTube smoothly cycles between fullscreen modes" 8 CRITERIA = """ 9 This test will fail if the percentage of dropped frames exceeds 1%. The test 10 will also fail if playback does not correctly transition between fullscreen 11 states. 12 """ 13 TIME = "MEDIUM" 14 TEST_CATEGORY = "General" 15 TEST_CLASS = "video" 16 TEST_TYPE = "client" 17 BUG_TEMPLATE = { 18 'labels': ['VideoTestFailure', 'OS-Chrome'], 19 } 20 21 DOC = """ 22 This 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' 27 job.run_test('video_YouTubePage', subtest_name=_TEST_NAME, 28 test_page=_TEST_PAGE, 29 subdir_tag=_TEST_NAME) 30