This doc assumes you're already familiar with ChromeOS on-device development. If not, please follow Simple Chrome workflow
We've had several tests.
NewTab demo is a test that opens a browser and open a tab which can run DUT or VM.
Bluetooth test is a test that toggle to turn on and off bluetooth which can only run on DUT.
Please see: go/crosier-run
See the demo test for instructions
Each Crosier test being added should include test metadata in yaml format.
See Crosier metadata guide for more information on how to add it.
Debugging a Crosier test is like debugging any Chrome test on device. Following developer library resources are available:
https://www.chromium.org/chromium-os/developer-library/guides/#debugging
Currently the test binary runs against both Ash and Lacros on CI only.
Ash:
https://ci.chromium.org/ui/p/chromium/builders/ci/chromeos-amd64-generic-rel
Lacros:
https://ci.chromium.org/ui/p/chromium/builders/ci/lacros-amd64-generic-rel
Target name is ‘chromeos_integration_tests’.
When you make contributions, please add ‘Include-Ci-Only-Tests: true’ to the changelist footer so the tests can run on CQ.