Context
Follow-up from review of #1275.
Evidence
e2e-stack/specs/payment-links.spec.ts:480 — test title says "shows wallet copy and the collapsed QR row".
:513-515 only assert wallet copy, absence of scan copy, and absence of the large QR (.w-48.my-3 svg). They never open Payment details or look for the QR Code row.
A regression that removes the collapsed row entirely would still pass. Unit tests do not close the gap: src/__tests__/payment-link.screen.test.tsx:82-86 mocks StyledCollapsible so children always render.
Suggested fix
In the handheld full-stack test, expand Payment details, expect the QR Code row, open it, and expect the QR SVG inside that row. Keep the assertion that no large QR exists outside it.
Related
Context
Follow-up from review of #1275.
Evidence
e2e-stack/specs/payment-links.spec.ts:480— test title says "shows wallet copy and the collapsed QR row".:513-515only assert wallet copy, absence of scan copy, and absence of the large QR (.w-48.my-3 svg). They never open Payment details or look for theQR Coderow.A regression that removes the collapsed row entirely would still pass. Unit tests do not close the gap:
src/__tests__/payment-link.screen.test.tsx:82-86mocksStyledCollapsibleso children always render.Suggested fix
In the handheld full-stack test, expand Payment details, expect the
QR Coderow, open it, and expect the QR SVG inside that row. Keep the assertion that no large QR exists outside it.Related