···8282 const errorText = await errorEntry.innerText();
8383 expect(errorText).toContain("Action failed intentionally");
84848585- // The error propagates to the preview (no ErrorBoundary in the sample),
8686- // so the preview will show the error message instead of the button.
8787- // The key verification is that the error entry appears in the FlightLog.
8585+ // Verify preview shows error (no ErrorBoundary, so error propagates)
8686+ expect(await h.preview("Action failed intentionally")).toContain("Action failed intentionally");
8887});
89889089test("action error - raw action with invalid payload shows error", async () => {