Commit graph

22 commits

Author SHA1 Message Date
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 e3cc6eaf1b [MAJOR] Remove .ajax and allow async function for .setChoices (#701)
* WIP: remove ajax

* copy #700

* remove ajax, add fetchChoices

* extend setChoices

* update README
2019-10-29 18:12:32 +00:00
Darren Mackintosh 201b3c8ada
Updated version numbers 2019-03-15 17:17:43 +00: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
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 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 798b49d565 Disable element if disabled attr passed 2018-10-30 20:21:52 +00:00
Josh Johnson d5437413a4 Update choice value/labels + add test for parent/child link 2018-10-27 21:00:49 +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 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