TheoryOfNekomata
d2cb12ea28
Modify get value test
Include output elements for testing.
1 rok temu
TheoryOfNekomata
8b48a9cc5b
Add fieldset tests
Introduce tests for fieldset field handling.
1 rok temu
TheoryOfNekomata
0843513772
Add ability to set disabled element values
Add options for getFormValues, setFormValues, and clearFormValues to allow managing of values for disabled elements.
1 rok temu
TheoryOfNekomata
e465109d74
Implement clearFormValues, improve test syntax
The clearFormValues method is implemented to be able to clear form
values for selected fields.
Tests are now separated from pre-submit to querying the submitter.
1 rok temu
TheoryOfNekomata
26ec3a2f9c
Cover all input types
Include all input types for testing.
1 rok temu
TheoryOfNekomata
1319146c72
Update tests
Improve test syntax.
1 rok temu
TheoryOfNekomata
5fa727bf45
Make coverage 100%
Include all tests for the primary functions as well as the utilities.
1 rok temu
TheoryOfNekomata
2089f146ef
Update tests, fix multiple value setting
Make tests more comprehensive.
1 rok temu
TheoryOfNekomata
972a65271e
Add date tests, duplicates
Include tests for duplicate values, as well as comprehensive date tests.
1 rok temu
TheoryOfNekomata
48166877e4
Add support for multiple values
Correctly set fields when they are arrays.
1 rok temu
TheoryOfNekomata
fdcdf1ddf3
Refactor code
Make error messages more user-friendly. Also remove magic constants
within functions.
1 rok temu
TheoryOfNekomata
05499e5fdb
Update tests
Include month and week input types.
1 rok temu
TheoryOfNekomata
cc3aa1df91
Switch to pridepack, add setFormValues
Implement setFormValues for easy setting of fields.
Also migrated to pridepack because tsdx is already unmaintained.
1 rok temu
TheoryOfNekomata
67bd13e7ae
Structure tests, document methods
The tests do not depend on separate files for loading templates. This is
for the layouts to be defined alongside the tests for easier updates.
The methods have been refactored and documented for ease of use of the
consumers.
3 lat temu
TheoryOfNekomata
124e107754
Rename everything test
Use correct description.
3 lat temu
TheoryOfNekomata
118147836f
Restructure tests, add other scenarios
Handle selects, as well as file uploads.
3 lat temu
TheoryOfNekomata
dcda8ddfb2
Implement cypress
This commit adds Cypress for testing the library against a real DOM.
3 lat temu