Matt Triff
66c6864267
Update allowHTML wording, set remote examples to allowHTML false
2021-12-26 09:36:12 -05:00
viction
c989be1491
test: select-multiple coverage
2021-12-25 20:29:31 +00:00
viction
3633c4ac0f
test: select-one coverage
2021-12-25 20:29:15 +00:00
viction
859f6262eb
test: Coverage for allowHTML
2021-12-24 17:33:32 +00:00
Matt Triff
20579bad35
Use Chrome with Cypress (Electron resulted in flaky dropdown test), save Puppeteer diff image even if pixelmatch throws error, update Chrome snapshot
2021-12-18 22:36:40 -05:00
Matt Triff
3d921621b7
Update dependencies, fix linting issues, split interfaces and default objects to resolve dependency cycles
2021-12-17 16:26:52 -05:00
Josh Johnson
68313da412
Convert to typescript ( #795 )
...
* Typescript config setup
* Add type annotations to components
* Further type additions
* And more...
* Add types to actions
* Add types to templates
* Further type checks
* Further type additons
* Install fuse latest
* Housekeeping
* Remove old type definitions
* Fix remaning type issues
* Fix some failing tests
* Remove types workflow
* Fix failing unit tests
* Resolve back space event regression
* Convert cypress files to .ts
* Fix eslint issues
* Remove cachebusting urls
* Resolve delete button bug
* Resolve regression bugs
* Fix lint script
* Fix lint workflow
* Pass args instead of object to keyboard handlers
* Flatten misc reducer
* Resolve keyboad action test failures
* Use Pick instead of Partial
* Use interfaces in action tests
* Update firefox image
* Incorporate #791
* Incorporate #788
2019-12-23 18:22:54 +00:00
Josh Johnson
67266a3aae
Resolve #762 ( #767 )
...
* Update value with character value
* Remove .only
* Lowercase character before updating value
* Add cypress tests covering change
* Update logic to affect both select inputs
* Update cypress
* Emphasise remove button focus
* Text change
* Revert "Update cypress"
This reverts commit 81e406de85
.
* Remove false positive tests
2019-11-22 19:09:45 +00:00
Kazuki Nishikawa
0e8e42e015
Fix #573 ( #574 )
...
* add specs
* fix to restore preset choices after destroy
* avoid to modify `this.config.choices` directly
* Update cypress/integration/select-one.spec.js
Co-Authored-By: Josh Johnson <josh@joshuajohnson.co.uk>
* Update public/test/select-one.html
Co-Authored-By: Josh Johnson <josh@joshuajohnson.co.uk>
* Update public/test/select-one.html
Co-Authored-By: Josh Johnson <josh@joshuajohnson.co.uk>
* Update public/test/select-one.html
Co-Authored-By: Josh Johnson <josh@joshuajohnson.co.uk>
* Update public/test/select-one.html
Co-Authored-By: Josh Johnson <josh@joshuajohnson.co.uk>
* fix specs
* restoring passed element initial options
- Save `passedElement.options` values as `this._presetOptions`
- Restore saved `this._presetOptions` to `passedElement.options` on `destroy`
- It avoids restoring options in `this.config.choices`
* Update cypress/integration/select-one.spec.js
Co-Authored-By: Josh Johnson <josh@joshuajohnson.co.uk>
* Update cypress/integration/select-one.spec.js
Co-Authored-By: Josh Johnson <josh@joshuajohnson.co.uk>
* Update public/test/select-one.html
Co-Authored-By: Josh Johnson <josh@joshuajohnson.co.uk>
* move preset options assignment statement
2019-11-17 12:34:34 +00:00
Josh Johnson
933ea6093f
Remove redundant check ( #755 )
...
* Remove redundant check
* Add integration tests covering fix
* Add missing test
2019-11-13 15:40:47 +00:00
Josh Johnson
b5b593a62f
Resolve bug 473 ( #739 )
...
* Fix #473
* Add tests
* Tweak cypress tests
* Build
2019-11-07 08:50:19 +00:00
Josh Johnson
a0fe05f926
Fix #727 ( #731 )
...
* Housekeeping
* Resolve placeholder bug + hide from choice list
* Restructure test folder
* Update cypress test to assert one placeholder
* Fix breaking e2e test
* Remove ability to pass placeholder via config for select boxes
* Add further e2e tests covering placeholders
* Add unit tests for _generatePlaceholderValue
* Display placeholder choice for select one
* Add further e2e test to assert on placeholder ordering
* Add labels to exclude from draft releases
* Add failure case to e2e test workflow
* Resolve broken e2e test
* Update puppeteer snapshot baseline
2019-11-02 13:49:33 +00:00
Konstantin Vyatkin
7887c05249
[MAJOR] use attribute hidden ( #691 )
...
* use attribute hidden
* commit something to re-run tests
2019-10-24 18:09:44 +01:00
Konstantin Vyatkin
6848970fd9
improve Babel and webpack configurations --> reduce JS bundle size ( #670 )
...
* simplify babel config
* fix Cypress VSCode checks
* introduce webpack base config
* fix flacky cypress test
* fix class properties definition
* fix default export
* upgrade affected deps, decrease bundlesize
* run ESLint only on changed files
2019-10-22 17:08:43 +01:00
Josh Johnson
ffc32df462
Resolve vulnerabilities + fix tests ( #668 )
...
* Remove GPR Github action (for now)
* Update test badge
* Remove stale.yml
* Upgrade cypress + fix failing tests
* Upgrade postcss-cli
* Update postcss command
* Remove space
* Add slight delay between scrolling animations
* Update test descriptions
* Remove signed commits/tagging (for now)
* chore(release): 🔖 version 7.0.5
* Update commit message
* Revert "Upgrade cypress + fix failing tests"
This reverts commit b6fbd0f51a
.
2019-10-21 21:43:38 +01:00
Josh Johnson
879c97f64c
Resolve undefined error ( #528 )
...
* Remove run-p from test command
* Remove dropdown interaction tests
* Tidy utils
* Use merge lib
* Remove string casting
* Sanitise in constants
* Housekeeping
* Add non-string value tests
2019-02-22 22:04:55 +00:00
Josh Johnson
8540d5aabd
Api changes ( #515 )
...
* Combine regexFilter and addItemFilter + minor tweaks
* Update tests to accomodate fixed dropdown notice
* Remove broken `toggleDropdown` method
* Unskip dropdown interaction tests
* Remove reference to removed method
2019-02-12 18:35:46 +00:00
Glade
ba09fb00e6
callback to filter items before adding ( #485 )
...
* Add item custom callback
* Minor unit test updates
* Test updates, Changed callback name to more clearly distinguish it's function
* Fix description wording in cypress
* Update README
* Updated filter item callback name to be addItemFilter
2019-02-11 22:56:21 +00:00
Jeremy Hou
9c001487ba
Fixes an issue where deepmerge concatenates array configs ( #496 )
2019-01-19 14:47:22 +00:00
Josh Johnson
826384b9d5
Fix set choice by value bug ( #471 )
...
* Resolve bug with setChoiceByValue not removing choice from dropdown
* 4.1.3
* Version 4.1.3
2018-11-25 12:48:49 +00:00
Josh Johnson
c3e46e55aa
Fix form submission bug in firefox ( #470 )
...
* Fix form submission bug in firefox
* 4.1.1
2018-11-24 17:48:03 +00:00
Josh Johnson
3182c7f2c2
Add enabling/disabling e2e tests
2018-11-09 08:38:12 +00:00
Josh Johnson
496db95153
Disable input when loading remote data
2018-11-03 13:24:52 +00:00
Josh Johnson
f3c0abef95
Add e2e tests to interact with dropdown
2018-11-03 12:26:02 +00:00
Josh Johnson
90a92656be
Add custom property tests
2018-11-03 12:00:37 +00:00
Josh Johnson
2292b5282f
Test for class instead of visibility
2018-10-30 21:44:58 +00:00
Josh Johnson
d657b17568
Urghh CI
2018-10-30 21:33:35 +00:00
Josh Johnson
5fe6e18077
Remove unnecessary beforeEachs
2018-10-30 21:21:11 +00:00
Josh Johnson
bd674b5bdf
Add further test delays
2018-10-30 21:11:45 +00:00
Josh Johnson
8d11eae895
Add slight delay for dropdown assertion
2018-10-30 21:05:16 +00:00
Josh Johnson
c9d86fd826
Inverse dropdown test
2018-10-30 20:52:10 +00:00
Josh Johnson
0010afa109
Remove unnecessary test
2018-10-30 20:40:06 +00:00
Josh Johnson
b0f3b28ef4
Do not open dropdown if element is disabled
2018-10-30 20:28:40 +00:00
Josh Johnson
798b49d565
Disable element if disabled attr passed
2018-10-30 20:21:52 +00:00
Josh Johnson
608358a9f8
Fix bug where selected options were not being selected
2018-10-28 09:32:35 +00:00
Josh Johnson
a45bcdaf49
Ensure test hook is correct
2018-10-27 21:12:28 +01:00
Josh Johnson
ea9e322931
Update test descs
2018-10-27 21:07:01 +01:00
Josh Johnson
d5437413a4
Update choice value/labels + add test for parent/child link
2018-10-27 21:00:49 +01:00
Josh Johnson
013058dd7f
Update readme to document multiple instances
2018-10-27 20:03:53 +01:00
Josh Johnson
315b2f8f36
Add e2e tests for choice groups
2018-10-27 18:12:15 +01:00
Josh Johnson
15082ccd03
Add scrolling e2e tests
2018-10-27 16:25:46 +01:00
Josh Johnson
54c026ec61
Add e2e tests for addItems: false
2018-10-21 19:26:19 +01:00
Josh Johnson
620bfeae0d
Add scrolling e2e tests
2018-10-21 18:39:37 +01:00
Josh Johnson
462d8b764c
Add ajax e2e tests
2018-10-20 13:32:58 +01:00
Josh Johnson
69ee88ae88
Add plcaeholder tests
2018-10-18 22:18:17 +01:00
Josh Johnson
544763017e
Further e2e tests
2018-10-17 23:13:24 +01:00
Josh Johnson
92cfd989ff
Add search tests + refactor tests
2018-10-17 22:36:37 +01:00
Josh Johnson
b224a96e08
Add select one e2e tests
2018-10-14 16:00:46 +01:00
Josh Johnson
e07e14bd8f
Add select multiple e2e tests
2018-10-13 16:38:51 +01:00
Josh Johnson
1f06a32b30
Resolve bug with text value
2018-10-13 15:49:44 +01:00