Remove alternate hosts from tooling probes
Keep the probe suite on the Material composition so browser fixtures and capture drivers no longer render or select Cupertino hosts. Record the final residual legacy arguments and implementation checks for the delivery gate.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
// wheel zooms, Fit restores the fitted scale, Expand opens the same canvas with
|
||||
// the selected node, and Close returns to the previous place and selection.
|
||||
//
|
||||
// PROBE_VARIANT=material|cupertino PROBE_VIEW=pipeline|run \
|
||||
// PROBE_VIEW=pipeline|run \
|
||||
// PROBE_SCHEME=dark|light PROBE_SCALE=1|2 PROBE_WIDTH=1280 PROBE_HEIGHT=800 \
|
||||
// PROBE_WEB_ROOT=<probe build> OPENCODE_ARTIFACT_DIR=<dir> \
|
||||
// node tool/graph_zoom_probe.mjs
|
||||
@@ -21,7 +21,7 @@ import { mkdir, mkdtemp, readFile, rm, writeFile } from 'node:fs/promises';
|
||||
const root = resolve(
|
||||
process.env.PROBE_WEB_ROOT ?? join(process.cwd(), 'build/probe-graph-zoom'),
|
||||
);
|
||||
const variant = process.env.PROBE_VARIANT ?? 'material';
|
||||
const variant = 'material';
|
||||
const view = process.env.PROBE_VIEW ?? 'pipeline';
|
||||
const scheme = process.env.PROBE_SCHEME ?? 'dark';
|
||||
const scale = process.env.PROBE_SCALE ?? '1';
|
||||
@@ -303,7 +303,7 @@ try {
|
||||
|
||||
// Fit restores the fitted scale. This activation goes through the control's
|
||||
// semantics element, so a labelled button with no tap action fails here (the
|
||||
// Cupertino regression).
|
||||
// Material regression).
|
||||
await semanticsClick('Fit graph to view');
|
||||
const fitted = await rectOf('build');
|
||||
if (!fitted || Math.abs(fitted.width - initial.width) > initial.width * 0.03) {
|
||||
|
||||
Reference in New Issue
Block a user