Skip to content

test: add clipboard and sort-order preference integration tests#506

Merged
Chucks1093 merged 1 commit into
accesslayerorg:devfrom
wheval:feat/clipboard-localstorage-integration-tests
Jun 27, 2026
Merged

test: add clipboard and sort-order preference integration tests#506
Chucks1093 merged 1 commit into
accesslayerorg:devfrom
wheval:feat/clipboard-localstorage-integration-tests

Conversation

@wheval

@wheval wheval commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

Summary

Test plan

  • src/components/common/__tests__/CopyField.test.tsx — 3 tests
  • src/utils/__tests__/preferences.sortOrder.test.ts — 4 tests

Closes #476
Closes #478

accesslayerorg#476 — CopyField: mocks navigator.clipboard, clicks the copy button,
asserts full unmasked address is written (not a shortened form),
and verifies the copied-state aria-label update.

accesslayerorg#478 — preferences.utils sort order: asserts sort selection persists
across simulated remounts, resets to default after storage.clear(),
survives multiple toggling, and is isolated per key.

Closes accesslayerorg#476
Closes accesslayerorg#478
@drips-wave

drips-wave Bot commented Jun 27, 2026

Copy link
Copy Markdown

@wheval Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Chucks1093 Chucks1093 merged commit 6629389 into accesslayerorg:dev Jun 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants