Skip to content

Add integration test for copy-to-clipboard button copying full unmasked wallet address#516

Closed
wheval wants to merge 1 commit into
accesslayerorg:mainfrom
wheval:fix/copy-clipboard-full-address
Closed

Add integration test for copy-to-clipboard button copying full unmasked wallet address#516
wheval wants to merge 1 commit into
accesslayerorg:mainfrom
wheval:fix/copy-clipboard-full-address

Conversation

@wheval

@wheval wheval commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds an integration test for CopyField asserting the copy button sends the full unmasked Stellar address to the clipboard
  • Asserts navigator.clipboard.writeText receives the complete 56-char address, not a shortened ellipsis form
  • Asserts the input display field also shows the full value

Changes

  • src/components/common/__tests__/CopyField.clipboard.test.tsx — new integration test (3 cases)

Closes #476

…sked wallet address

- Assert clipboard receives the full 56-char Stellar address on button click
- Assert copied value does not contain ellipsis shortening
- Assert the input field displays the full value

Closes accesslayerorg#476
@netlify

netlify Bot commented Jun 29, 2026

Copy link
Copy Markdown

Deploy Preview for accesslayer ready!

Name Link
🔨 Latest commit 4e11ee5
🔍 Latest deploy log https://app.netlify.com/projects/accesslayer/deploys/6a42c9e55e1e9700088d3d87
😎 Deploy Preview https://deploy-preview-516--accesslayer.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions

Copy link
Copy Markdown

👋 Hey @wheval, thanks for your contribution!

This PR is targeting main directly. We use main for stable releases only — all contributions should be opened against the dev branch instead.

Please close this PR and reopen it with dev as the base branch. If you're unsure how to do that, you can change the base branch using the Edit button at the top of this PR page.

Closing this PR automatically. See you in dev! 🚀

@github-actions github-actions Bot closed this Jun 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant