Skip to content

e2e-stack: handheld /pl test does not assert the collapsed QR row #1384

Description

@marassteiner

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions