xref: /aosp_15_r20/external/autotest/client/site_tests/touch_TapSettings/control (revision 9c5db1993ded3edbeafc8092d69fe5de2ee02df7)
1# Copyright (c) 2014 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_TapSettings"
7PURPOSE = "Test that tap-to-click and tap dragging can be enabled/disabled."
8CRITERIA = """
9This test will fail if, after playback of touch events, tap-to-click or tap
10dragging does not work when supposed to or works when not supposed to.
11"""
12ATTRIBUTES = "suite:touch_replay"
13TIME = "SHORT"
14TEST_CATEGORY = "Functional"
15TEST_CLASS = "touch"
16TEST_TYPE = "client"
17DEPENDENCIES = "touchpad"
18PY_VERSION = 3
19
20DOC = """
21Uses javascript page to listen for mouse clicks and drags.  If tap-to-click is
22working, the click count will increase.  If tap dragging is working, movement
23will be detected during a click.  Enables and disables tap-to-click and tap
24dragging, checking whether they change.
25"""
26
27job.run_test('touch_TapSettings')
28