Skip to content

test(checkbox): add indeterminate prop tests (#864)#1008

Closed
wanchun wants to merge 1 commit into
chore/test-infrafrom
fix/issue-864-v2
Closed

test(checkbox): add indeterminate prop tests (#864)#1008
wanchun wants to merge 1 commit into
chore/test-infrafrom
fix/issue-864-v2

Conversation

@wanchun

@wanchun wanchun commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator

Closes #864

The indeterminate prop was already implemented in FCheckbox (props.ts, checkbox.vue, style/index.less). This PR adds 2 vitest tests to lock the existing behavior:

  • indeterminate: true renders the dash icon (verified via fes-checkbox--indeterminate class)
  • Click event fires normally so parent can decide what to do with the indeterminate state

Files changed: 1 (test only). No lockfile. No test-infra changes.

@wanchun

wanchun commented Jun 4, 2026

Copy link
Copy Markdown
Collaborator Author

Closed as part of v3 rebuild from chore/test-infra. Original v1/v2 PRs being superseded by clean re-implementation (vitest + playwright + docs).

@wanchun wanchun closed this Jun 4, 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