1# Copyright 2017 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 = "rjahagir"
6NAME = "platform_TabletMode"
7PURPOSE = """Verify that laptop can transition successfully into tablet mode."""
8CRITERIA = """
9Test fails if any of the following happen:
10- Unable to get a valid screenshot.
11- Landscape, portrait, laptop screenshots are not sufficiently different.
12- Laptop at the start and laptop at the end are not the same.
13"""
14TIME = "SHORT"
15TEST_CATEGORY = "Functional"
16TEST_CLASS = "platform"
17TEST_TYPE = "client"
18ATTRIBUTES = "suite:tablet_mode"
19
20DOC = """
21Takes screenshots when in laptop mode and tablet mode (landscape and portrait).
22The test will fail if the laptop screenshots are not similar enough or if the
23tablet screenshots are not different enough from the laptop screenshots.
24"""
25job.run_test("platform_TabletMode")
26