Add testPIPExpandViaMenuTouch and testPIPExpandViaShelfIcon

This CL adds the sub-tests for two of the scenarios where PIP gets
expanded.
The remaining work is to add tests that expand PIP with alt-tab,
but it probably requires a new autotest private API as we need to
robustly distinguish short alt-tab and long alt-tab and injecting
key events to achieve this can be flaky.

BUG=b:142029367
TEST=tast -verbose run my_crbook arc.PIP

Change-Id: I9edff3efae37a88f810ddd865a6b789bde2db9d7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/tast-tests/+/1836302
Commit-Queue: Kazuki Takise <takise@chromium.org>
Tested-by: Kazuki Takise <takise@chromium.org>
Auto-Submit: Kazuki Takise <takise@chromium.org>
Reviewed-by: Shuhei Takahashi <nya@chromium.org>
1 file changed
tree: e35ea79479c2b5302a52187269a44d0dc1feb37d
  1. .gitignore
  2. OWNERS
  3. PRESUBMIT.cfg
  4. PRESUBMIT.py
  5. README.md
  6. helpers/
  7. src/
  8. tools/
README.md

Tast (tests)

This repository contains integration tests that are run by Tast.

Directory structure

  • helpers/ - Source code for binaries executed by tests.
    • local/ - Helpers for local tests that are compiled and installed to /usr/local/libexec/tast/helpers/local/cros by the tast-local-helpers-cros package.
  • src/chromiumos/tast/
    • local/ - Code related to local (i.e. on-device or “client”) tests.
      • bundles/ - Local test bundles.
        • cros/ - The “cros” local test bundle, containing standard Chrome OS tests. Tests are packaged by category.
      • ... - Packages used only by local tests.
    • remote/ - Code related to remote (i.e. off-device or “server”) tests.
      • bundles/ - Remote test bundles.
        • cros/ - The “cros” remote test bundle, containing standard Chrome OS tests. Tests are packaged by category.
      • ... - Packages used only by remote tests.

Shared code, the main tast executable, the local_test_runner and remote_test_runner executables responsible for running bundles, and documentation are located in the tast repository.

GoDoc