Add optional Playwright visual regression for design-system primitives #423
Labels
No labels
agent:fix_bugfix
agent:fix_conflicts
agent:fix_security
agent:gap_analysis
agent:implement
agent:implement
agent:implement
agent:open_issues
agent:ready
agent:research
agent:security_audit
agent:verify
architecture
backend
blocker:hybrid
blocker:launch
blocker:limit-orders
blocker:v2
block:log_only
block:security
bug
ci
contracts
correctness
deploy
dev
devops
docs
documentation
duplicate
e2e
enhancement
epic
feature
frontend
functional-completion
gas
good first issue
governance
help wanted
high-risk
hooks
hybrid
indexer
infra
infrastructure
integrators
invalid
launch-blocker
limit-orders
localnet
localterra
low priority
missing-implementation
needs-design
ops
performance
priority
high
priority
medium
product
qa
QA
question
ready
ready
research
scripts
security
security-hardening
smartcontracts
tech-debt
testing
ux
UX
v2
verification
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
code/cl8y-dex-terraclassic#423
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent
#411 — Updated Gap Analysis (recommendation 16 — optional)
Current codebase
QA_TEMPLATE.md§10 (neo-brutalist borders, hover sounds).shell-panel,card-neo,btn-*primitives.docs/design-system.mdwill codify Cyberminimalist Glass System (sibling issue).Why needed
Retail launch (#411) and token alignment work will touch many surfaces. Visual regression catches unintentional theme drift that unit tests miss.
Constraints / guardrails
toHaveScreenshotwith committed baselines in-repo (no paid SaaS required)./,/trade,/limits) — not full 31-spec pixel parity.data-theme=darkdefault.Relevant files
frontend-dapp/e2e/(newdesign-system*.spec.tsor Vitest + Playwright component)frontend-dapp/src/index.cssdocs/design-system.mdQA_TEMPLATE.md§10playwright.config.tsRecommended direction
frontend-dapp/e2e/screenshots/(or Playwright default).docs/design-system.md§ Visual regression.frontend-dapp/src/index.cssorcomponents/**changes.Acceptance criteria
make test-e2eor dedicatedmake test-visualtarget runs visual specs.Test plan
npx playwright test design-system --update-snapshotson intentional theme change.Attack / abuse test plan
Verification criteria
mentioned in issue #411
Rejected due to high maintenance costs