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