video cuj: Click buttons by DoDefault for lacros

Some buttons are clicked in the wrong place via ui.LeftClick on Lacros.
To use DoDefault instead.

1. Use DoDefault to click allow button
2. Use DoDefault to click video player

BUG=b:236661097
TEST=tast run <var> <dut> ui.VideoCUJ2.*

Change-Id: Iebcbc52fe6e6aba7c591a0fe30ec1f9e2e432248
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/tast-tests/+/3714535
Tested-by: Chi-Chen Yang <chicheny@google.com>
Commit-Queue: Chi-Chen Yang <chicheny@google.com>
Reviewed-by: Jun Sheng <shengjun@chromium.org>
1 file changed
tree: eb000346c7102e3e362cdf7a2a26f8d61810e787
  1. android/
  2. helpers/
  3. src/
  4. tools/
  5. vars/
  6. .gitignore
  7. LICENSE
  8. OWNERS
  9. PRESUBMIT.cfg
  10. PRESUBMIT.py
  11. README.md
  12. unblocked_terms.txt
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 ChromeOS 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 ChromeOS 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