Revert "tast-tests: stabilize crostini fixtures"

This reverts commit bbe9e00691a647d10acbd7b54e1eddddbe5143ad.

Reason for revert: it caused multiple crostini fixture failures
b:234128639

Original change's description:
> tast-tests: stabilize crostini fixtures
>
> As part of crostini installation we continuously click turn on and next
> buttons until other buttons appear. For that, currently we use
> WaitUntilExists as a condition to stop clicking. This method polls for
> a condition until it is fulfilled. This works, if the first left click
> succeeded. However, if it did not, WaitUntilExists will poll until ctx
> is exhausted before returning. As the ctx duration it uses matches that
> of the left click, once it returns due to a timeout, we no longer have
> time left for yet another left click.
>
> Replace double-polling introduced by WaitUntilExists with a one off
> check to allow for repeated left clicks.
>
> BUG=b:231630463
> TEST=tast run dut crostini.AppGeditInstallUninstall.stable
>
> Change-Id: I123dfa17ae319afae74f456caaa1e9a8d45f0aea
> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/tast-tests/+/3665328
> Commit-Queue: Alexey Shpakov <ashpakov@google.com>
> Reviewed-by: David Munro <davidmunro@google.com>
> Tested-by: Alexey Shpakov <ashpakov@google.com>
> Reviewed-by: Alvin Jia <alvinjia@google.com>

Bug: b:231630463
Change-Id: Ie91a4e97bb7a2c4102aa395db01ca5260b658ef7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/tast-tests/+/3672977
Commit-Queue: Alexey Shpakov <ashpakov@google.com>
Commit-Queue: Ben Reich <benreich@chromium.org>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Reviewed-by: Ben Reich <benreich@chromium.org>
Tested-by: Alexey Shpakov <ashpakov@google.com>
Auto-Submit: Alexey Shpakov <ashpakov@google.com>
1 file changed
tree: 17494634aba946ff4a592f9fac601fd3722e4807
  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