Commit 3ff72f5
committed
chore(release): 11.0.0 [skip ci]
## [11.0.0](v10.12.1...v11.0.0) (2026-02-09)
### ⚠ BREAKING CHANGES
* Test infrastructure changed from web-test-runner to Vitest
* chore: include e2e tests in npm test script
* feat: add interaction tests to story play functions
- Add userEvent interactions to test keyboard navigation and selection
- Create InteractionTest stories for comprehensive E2E-style tests
- Keep Basic stories with read-only assertions for visual regression tests
- Add eslint override to disable max-lines for stories folder
- Test coverage: chip removal, item selection, no-results message, exclude toggle
* chore: enable autodocs for all stories
* chore: reorder stories - Autocomplete before Excluding
* fix: enable autodocs via tags for Storybook 10
* refactor: remove keybindings infrastructure (to be added later)
* test: migrate removed tests to Vitest unit tests and Storybook interaction tests
- Add unit tests for pure functions (search, mark) in test/utils.test.ts (11 tests)
- Extract pure functions to src/autocomplete/pure.ts for jsdom testability
- Add Storybook test stories for listbox (7 tests) and autocomplete (11 tests)
- Configure vitest with 'unit' project for jsdom-based tests
- Add jsdom dependency for unit testing pure functions
- Update eslint config for test files
* test: add missing coverage for external search, valueProperty, onSelect, keyboard edge cases
Add 10 new test stories to close coverage gaps from the @web/test-runner migration:
Autocomplete (4 stories):
- ExternalSearchMode: verifies client-side filtering is bypassed
- ValueProperty: verifies deduplication by valueProperty (id)
- OnSelectCallback: verifies onSelect receives (item, meta)
- Limit1DisablesBackspace: verifies use-keys disables when limit=1
Listbox (6 stories):
- KeyboardDownCycling: ArrowDown wraps from last to first item
- KeyboardUpNavigation: ArrowDown then ArrowUp returns to original
- HighlightAndEnter: mouseenter sets highlight, Enter selects it
- EnterDefaultIndex0: Enter with implicit defaultIndex=0
- CtrlAltIgnoresKeys: Ctrl+Alt modifier combo is ignored
- LegacyKeyNames: legacy 'Down'/'Up' key names are handled
* ci: remove separate playwright workflow, run e2e via npm test
* refactor: merge pure.ts back into util.ts, move useNotify into use-autocomplete
### Miscellaneous Chores
* migrate tests to Vitest with Storybook interaction tests ([#224](#224)) ([923d855](923d855))1 parent 923d855 commit 3ff72f5
3 files changed
+62
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
1 | 60 | | |
2 | 61 | | |
3 | 62 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments