arc.PhysicalKeyboard: Wait using UiAutomator

arc.PhysicalKeyboard test wasn't properly waiting for Android side
change using UiAutomator WaitForExists() with selectors, so on slower
devices the test might fail.

BUG=b:122457709
TEST=tast run kevin-DUT arc.PhysicalKeyboard

Change-Id: Ie32137b2cc98e9cce9cfcc521cb6e661a97c31e6
Reviewed-on: https://chromium-review.googlesource.com/1402482
Commit-Ready: Tetsui Ohkubo <tetsui@chromium.org>
Tested-by: Tetsui Ohkubo <tetsui@chromium.org>
Reviewed-by: Shuhei Takahashi <nya@chromium.org>
1 file changed
tree: ffead5a44aefa53e51836a3cd2c11c357b8a73d9
  1. src/
  2. tools/
  3. .gitignore
  4. OWNERS
  5. PRESUBMIT.cfg
  6. README.md
README.md

Tast (tests)

This repository contains integration tests that are run by Tast.

Directory structure

  • 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