You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test: fix Android observability scenario to Android contracts
The full:observability-artifacts scenario (#1482/#1484) had never executed
end-to-end: both nightly Android Full Emulator Suite runs since merge died
on adb infra before the suite ran, and a live run fails deterministically
at its first perf assertion. Fixing that revealed four more latent
failures, each written against iOS or remote-daemon behavior the Android
live run does not have. Validated with two consecutive green full-tier
runs on a dedicated Pixel 9 Pro XL emulator.
- perf metrics: assert totalPssKb (Android's required meminfo field)
instead of the Apple-only residentMemoryKb.
- presses: reveal the Quick-actions card with scroll steps before
pressing home-open-catalog/home-open-settings — Android snapshots only
contain on-screen nodes — and restore scroll top before waiting on the
home title, since scroll position persists across tab switches.
- batch get: target id="dismiss-notice" (a node that owns its text);
Android resolves the home-title container to a child's text (the
subtitle), unlike iOS's container label.
- events: run an explicit snapshot so the timeline assertion holds when
the scenario runs standalone under AGENT_DEVICE_ANDROID_E2E_SCENARIOS.
- artifacts: assert the local-client contract — trace-log tracked,
downloadable, consumed; screen-recording inventory entries only exist
for remote clients (artifacts without a client localPath are never
tracked). Also stop consuming the download response body in the assert
message before arrayBuffer() reads it.
0 commit comments