* test(demo): use full-text regex matches in demo Maestro flow The demo flow (added in #108, non-blocking lane) rendered correctly in CI but failed its own assertions: it matched bare substrings ('login button', 'Tests passed') against Maestro's full-text regex matcher, which needs .*…* to match a phrase inside a longer message. A CI run confirmed the demo screen renders (S2 screenshot shows the user message, assistant reasoning, and tool card) — only the assertions were wrong. Exact i18n labels (Thinking / Permission Required / Allow) already matched. Flow-only; the app and demo feature are unchanged. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01T12AhSnQVrSxNnvwfCx2z6 * test(demo): scroll to diff after expanding the tool card CI got further with the regex fix but then failed asserting diff-view-scroll: the confirmed cause (failure screenshot) is that the Edit card is scrolled to the bottom of the viewport to be tapped, so its expanded diff opens below the fold, and assertVisible does not auto-scroll. Add a scrollUntilVisible for diff-view-scroll before the assert. Flow-only. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01T12AhSnQVrSxNnvwfCx2z6 * test(demo): scroll to completion message before asserting it Same below-the-fold pattern as the diff step: after approving the permission at the bottom of the viewport, the 'Tests passed' completion renders further down. Scroll to it before asserting. Preemptive, to avoid another CI cycle. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01T12AhSnQVrSxNnvwfCx2z6 --------- Co-authored-by: engineer <engineer@macbookpro.lan> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
4.2 KiB
4.2 KiB