1 # Copyright 2016 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 = "kathrelkeld" 6 NAME = "touch_TouchscreenZoom" 7 PURPOSE = "Test that touchscreen pinch zoom works as expected." 8 CRITERIA = """ 9 This test will fail if, after playback of touch events, no zoom is detected 10 or if zoom behaves irregularly. 11 """ 12 ATTRIBUTES = "suite:bvt-perbuild, suite:touch" 13 TIME = "SHORT" 14 TEST_CATEGORY = "Functional" 15 TEST_CLASS = "touch" 16 TEST_TYPE = "client" 17 DEPENDENCIES = "touchscreen" 18 19 DOC = """ 20 Plays back touchscreen movements to zoom a page. Checks the page width to 21 determine whether zoom occurred and in which direction. 22 """ 23 24 job.run_test('touch_TouchscreenZoom') 25