policy: add policy service functions to start, stop Chrome and continue
login

Add policy service functions to start and stop Chrome and accept options to keep enrollment or defer login. Add policy service function to continue login for Chrome instance which has used defer login option before.

BUG=b:192279295
TEST=tast run -var=router=<Router IP> <DUT IP> wifi.PolicyBasic
with the following CL: https://crrev.com/c/3159812

Change-Id: I9ce8a9ba687df971f82d82fe191edaedfdd5ca41
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/tast-tests/+/3159811
Tested-by: Jintao Lin <jintaolin@chromium.org>
Commit-Queue: Jintao Lin <jintaolin@chromium.org>
Reviewed-by: Shuo-Peng Liao <deanliao@chromium.org>
Reviewed-by: Victor-Gabriel Savu <vsavu@google.com>
3 files changed
tree: 20d371f9dd9af4150fc48e5536f99ee34a49430e
  1. .gitignore
  2. LICENSE
  3. OWNERS
  4. PRESUBMIT.cfg
  5. PRESUBMIT.py
  6. README.md
  7. android/
  8. helpers/
  9. src/
  10. tools/
  11. unblocked_terms.txt
  12. vars/
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