Remove Cupertino fixture alternatives
Keep capture and probe tooling on the app's single Material surface by removing obsolete platform switches, hosts, and documentation. Preserve the existing Material routes and fixture behavior while retaining compatibility APIs outside this lane.
This commit is contained in:
@@ -29,8 +29,8 @@ change, from `app/`:
|
||||
```
|
||||
|
||||
URL parameters (the kit sets them from `open=` and the options):
|
||||
`route=<app route>`, `q=<search>`, `platform=material|cupertino`,
|
||||
`theme=light|dark`; `--params` (or a step's or script's `params`) adds fixture
|
||||
`route=<app route>`, `q=<search>`, `theme=light|dark`; `--params` (or a step's
|
||||
or script's `params`) adds fixture
|
||||
options such as `chats=2&rich=1`. Use `route=/settings` to open Settings and then
|
||||
click `Server health`; the fixture channel returns `server_stats` automatically.
|
||||
Without `theme`, the app follows the browser's colour
|
||||
@@ -39,7 +39,7 @@ scheme. `--theme` also sets that colour scheme through Chrome emulation.
|
||||
## Steps
|
||||
|
||||
You can pass steps on the command line as `verb=value`. With `--script`, they
|
||||
go in a JSON array or in `{ "size", "platform", "theme", "q", "steps": [...] }`.
|
||||
go in a JSON array or in `{ "size", "theme", "q", "steps": [...] }`.
|
||||
In JSON, a step can also set `wait` (ms), `timeout`, `name`, `ms` and `frames`.
|
||||
|
||||
| step | effect |
|
||||
@@ -84,8 +84,8 @@ Its bytes are served from the build, so copy the fixture in after building:
|
||||
## Recipes (run from `app/` after building `build/probe-app`)
|
||||
|
||||
Capture a page at phone and fold widths. Use 560 for phone: headless Chrome
|
||||
misrenders Flutter below about 500 px. The app has one Material UI; do not
|
||||
capture `platform=cupertino`.
|
||||
misrenders Flutter below about 500 px. The app has one Material UI. The fixture
|
||||
is Material-only on every platform.
|
||||
|
||||
```sh
|
||||
for size in 560x1000 880x1000; do
|
||||
|
||||
Reference in New Issue
Block a user