For how to use the app, see the user guide
It is possible to run a simulation of the UI locally with fake data:
# Launches Chrome flutter run -d chrome --web-port=8080 # Starts a web server, bring your own browser instance flutter run -d web-server --web-port=8080
NOTE: Must run on port 8080[^8080] for authentication to work.
[8080]: Google employees: See GCP > Client ID for Web App.
Most tests can be run locally:
flutter test
Some tests take and compare UI screenshots which will change over time:
flutter test --update-goldens
For compatibility reasons, only a Linux host is supported.
Open the failing pull request
Click on “Linux Cocoon” in failing checks
Find and click on stdout
under the dashboard
step
Run the following command with a link to the stdout URL:
$ dart run tool/update_goldens_from_luci.dart "<url ending in /stdout>" Wrote 36825 bytes to goldens/build_dashboard.defaultPropertySheet.dark.png. Wrote 38556 bytes to goldens/build_dashboard.defaultPropertySheet.png. Wrote 24715 bytes to widgets/goldens/task_grid_test.dev.origin.png.