Commit Graph

385 Commits

Author SHA1 Message Date
Dillon Kearns
c6ddc0872c Move some test cases from old glob unit tests to new end-to-end tests. 2022-03-04 09:01:34 -08:00
Dillon Kearns
4a2e3c552c Remove cache tests since it's no longer used. 2022-03-04 08:47:30 -08:00
Dillon Kearns
f3c636a45d Review fixes. 2022-02-27 08:50:43 -08:00
Dillon Kearns
68fe1c2539 Remove redundant map function from expectString. 2022-02-27 08:09:33 -08:00
Dillon Kearns
d11226df45 Fix test case. 2022-02-26 14:42:31 -08:00
Dillon Kearns
3d2ebc6965 Remove commented code. 2022-02-26 14:36:03 -08:00
Dillon Kearns
c48cec7cde Fix a test case. 2022-02-26 14:35:52 -08:00
Dillon Kearns
7afbd8188e Fix a test case. 2022-02-26 14:18:37 -08:00
Dillon Kearns
edfe401f30 Fix some test cases. 2022-02-26 14:10:31 -08:00
Dillon Kearns
c56052dd8b Update message in test assertion. 2022-02-26 13:32:34 -08:00
Dillon Kearns
c8a37ed3c5 Review fixes. 2022-02-26 09:48:36 -08:00
Dillon Kearns
f82212e222 Fix test cases. 2022-02-26 09:38:03 -08:00
Dillon Kearns
de74127a3d Fix some test cases. 2022-02-26 08:46:07 -08:00
Dillon Kearns
b54e14570d Fix test compilation errors. 2022-02-26 08:36:55 -08:00
Dillon Kearns
3ec317f031 Fix a test case. 2022-02-26 08:32:31 -08:00
Dillon Kearns
5924109f7c Fix a test case. 2022-02-26 07:44:16 -08:00
Dillon Kearns
00edf1cd6e Fix some test cases. 2022-02-25 17:30:21 -08:00
Dillon Kearns
fc4d470405 Fix some test errors. 2022-02-25 16:57:50 -08:00
Dillon Kearns
e793a8fe89 Ensure that fixes don't infinitely apply for Request.oneOf [] case. 2022-02-21 15:50:17 -08:00
Dillon Kearns
c47dfce740 Handle remaining dead-code elimination cases. 2022-02-13 13:52:31 -08:00
Dillon Kearns
88ca2f8a02 Remove DataSource code from bundle. 2022-02-13 12:42:31 -08:00
Dillon Kearns
8f4491adf0 Remove unused code. 2022-02-07 21:07:54 -08:00
Dillon Kearns
3e65d2fae1 Fix test errors. 2022-02-07 14:50:38 -08:00
Dillon Kearns
6d2ce4d542 Fix some test suite errors. 2022-02-07 14:27:05 -08:00
Dillon Kearns
a39c53de8b Fix ordering for ApiRoute matches. 2022-02-07 09:00:50 -08:00
Dillon Kearns
a7f2fa7eda Remove obsolete unoptimizedRequest function. 2022-01-28 09:42:52 -08:00
Dillon Kearns
406c0cafd8 Rename function. 2022-01-28 09:34:11 -08:00
Dillon Kearns
a81de386d9 Remove unused. 2022-01-27 20:57:48 -08:00
Dillon Kearns
5d35b2c04c Fix compiler errors. 2022-01-27 20:43:16 -08:00
Dillon Kearns
d29d975596 Fix compiler errors. 2022-01-27 20:41:54 -08:00
Dillon Kearns
0e3958a71c Review fixes. 2022-01-27 20:21:49 -08:00
Dillon Kearns
9619e3e199 Apply some elm-review fixes. 2022-01-27 16:03:42 -08:00
Dillon Kearns
0cd9a56675 Add quotes around field name in error message. 2022-01-24 19:09:46 -08:00
Dillon Kearns
2d22f73aa8 Fix tests. 2022-01-24 15:43:37 -08:00
Dillon Kearns
d477687f18 Add test case. 2022-01-24 15:43:05 -08:00
Dillon Kearns
ff44e2757b Allow formData in request tests. 2022-01-23 20:05:05 -08:00
Dillon Kearns
78cc936272 Fix tests. 2022-01-23 19:30:48 -08:00
Dillon Kearns
51aea3b539 Simplify Server.Response API by combining render repsonses and server responses into the same API. 2022-01-17 20:56:37 -08:00
Dillon Kearns
de3a740165 Add float input type, and handle validation errors for int and float inputs. 2022-01-17 10:32:08 -08:00
Dillon Kearns
80c85a1abe Run min/max validations against range input in pure Elm to ensure that UI isn't bypassed. 2022-01-17 09:56:20 -08:00
Dillon Kearns
22b3b54799 Use phantom types to reduce the number of cominations of functions for setting values with different types. 2022-01-16 15:29:06 -08:00
Dillon Kearns
d5478db009 Add time input. 2022-01-16 14:31:08 -08:00
Dillon Kearns
a769a3e569 Fix tests. 2022-01-15 19:29:30 -08:00
Dillon Kearns
6b7c4586c9 Run field-level errors and form-level errors independently to avoid duplicates but get them in real-time. 2022-01-15 09:06:19 -08:00
Dillon Kearns
9c922c8f40 Run field-level validations on field change. Preparing for change to store dependent validation results separately so they can be updated independently. 2022-01-14 15:28:17 -08:00
Dillon Kearns
84e7d9d157 Use user-defined errors instead of a set list of validation errors. 2022-01-14 08:46:35 -08:00
Dillon Kearns
b8e7a47e34 Give multiple errors for non-fatal validation errors. 2022-01-13 14:18:53 -08:00
Dillon Kearns
90d6bc821d Add ability to do dependent validations looking at entire form value. 2022-01-13 09:06:58 -08:00
Dillon Kearns
a875161a8a Fix tests. 2022-01-11 09:33:45 -08:00
Dillon Kearns
95eff70f02 Run validations on init. Make Int and Float ranges. 2022-01-10 18:35:46 -08:00