Extend force-sync during onboarding to Smart Lock tests

Try to improve onboarding stability for Smart Lock tests by applying the
force sync step that we use in the Phone Hub ones. If we're stuck in the
state where the "Verify" button is shown under Connected Devices in OS
Settings for 5 minutes, we'll force a DeviceSync through the
chrome://proximity-auth debug page.

BUG=b:230401333
TEST=tast run -var=crossdevice.PhoneIP="192.168.86.23" localhost:2223
'("group:cross-device")'

Change-Id: Ia9975ddf7770491cac00f29fd9b76214ff80ca30
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/tast-tests/+/3707904
Tested-by: Kyle Shimabukuro <kyleshima@chromium.org>
Commit-Queue: Kyle Shimabukuro <kyleshima@chromium.org>
Reviewed-by: David Haddock <dhaddock@chromium.org>
5 files changed
tree: 8dce29752263564b762b9d13531947b76c5b87b4
  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