mta: Fix networkui.SetProxyForRememberedNetwork

The test is failing when attempting to connect to a specific Wi-Fi
network configured through cros_network_config. At the time the test
tries to connect, the target network may not have been discovered yet.
This results in the connect button being disabled, preventing
connection via the UI.

This change addresses the issue by ensuring the target network is
discovered beforehand, making it consistently available for connection
through the UI.

BUG=b:379034027
TEST=tast run <DUT> networkui.SetProxyForRememberedNetwork

Change-Id: I53213c872cf569ee69a53f62e6f367572481d494
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/tast-tests/+/6021877
Commit-Queue: Alfred Yu <[email protected]>
Reviewed-by: Chad Duffin <[email protected]>
Tested-by: Alfred Yu <[email protected]>
Reviewed-by: Navin Ramsaroop <[email protected]>
Tast-Review: Navin Ramsaroop <[email protected]>
(cherry picked from commit 2e341876249383e3fbef79b55216250eb408a3f4)
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/tast-tests/+/6090811
Tested-by: Alfred Yu (xWF) <[email protected]>
Release-Owner: Alon Bajayo <[email protected]>
Commit-Queue: Alfred Yu (xWF) <[email protected]>
Reviewed-by: Jason Stanko <[email protected]>
1 file changed
tree: c3accd551d40bd39d3fba50fd21dcb3d7c4e0ddc
  1. android/
  2. helpers/
  3. src/
  4. tools/
  5. vars/
  6. .gitignore
  7. DIR_METADATA
  8. LICENSE
  9. OWNERS
  10. OWNERS.tast
  11. PRESUBMIT.cfg
  12. PRESUBMIT.py
  13. README.md
  14. 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/go.chromium.org/tast-tests/cros/
    • 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