Commit Graph

100 Commits

Author SHA1 Message Date
Dillon Kearns
65bf2113ba Update examples. 2022-07-09 09:03:00 -07:00
Dillon Kearns
169bf18561 Rename some WIP function names. 2022-07-09 08:03:02 -07:00
Dillon Kearns
55bdca78c5 Fix typos. 2022-07-08 18:01:54 -07:00
Dillon Kearns
102d27c84b Update docs. 2022-07-08 18:00:30 -07:00
Dillon Kearns
50ce177be1 Rename module. 2022-07-08 17:58:49 -07:00
Dillon Kearns
8ce539a3a3 Rename module. 2022-07-08 17:56:52 -07:00
Dillon Kearns
76d2ac367f Change module name. 2022-07-08 17:51:26 -07:00
Dillon Kearns
03729f89ed Rename module. 2022-07-08 17:40:01 -07:00
Dillon Kearns
79202cbd68 Update package-lock. 2022-07-08 09:57:06 -07:00
Dillon Kearns
966ceb491a Update package-lock. 2022-07-05 08:25:01 -07:00
Dillon Kearns
c2eecd59b6 Update example to use new Form API. 2022-06-30 09:38:49 -07:00
Dillon Kearns
8ea702f4e7 Update examples. 2022-06-28 15:45:36 -07:00
Dillon Kearns
32b536f78a Use two separate functions for stateless and stateful form rendering. 2022-04-28 09:07:32 -07:00
Dillon Kearns
298faed45c Remove redundant form function for toHtml. 2022-04-25 14:44:51 -07:00
Dillon Kearns
e04310b603 Pass in optional Form.Msg to userMsg function, and don't register event handlers if not present. 2022-04-25 14:42:38 -07:00
Dillon Kearns
4111d4e677 Rename function. 2022-04-25 09:54:08 -07:00
Dillon Kearns
0adfa12bc8 Remove repetitive function from Form API. 2022-04-25 09:53:18 -07:00
Dillon Kearns
2d9695f551 Use logout effect from greet page. 2022-04-09 08:11:45 -07:00
Dillon Kearns
042dddf764 Add Logout Effect. 2022-04-09 08:10:45 -07:00
Dillon Kearns
8cbe96e6b8 Update package-lock. 2022-04-09 08:05:33 -07:00
Dillon Kearns
52c8a73485 Add redirectTo helper. 2022-04-06 16:38:32 -07:00
Dillon Kearns
8112e477e8 Extract functions into record. 2022-04-05 08:26:26 -07:00
Dillon Kearns
fc62058f63 Pass in fetchRouteData to perform. 2022-04-04 09:40:37 -07:00
Dillon Kearns
f8c130fe68 Fix end-to-end example compilation error. 2022-04-01 20:48:50 -07:00
Dillon Kearns
339d54a9e9 Update examples to use ErrorPage, and add to NoContractViolations. 2022-03-29 15:32:43 -07:00
Dillon Kearns
34f428f1df Add proof of concept for error pages. 2022-03-29 11:48:04 -07:00
Dillon Kearns
9e498ca93b Update examples. 2022-03-25 09:03:22 -07:00
Dillon Kearns
979be6f3e4 Simulate user effects in tests. 2022-03-21 12:59:51 -07:00
Dillon Kearns
4ae34b9bf0 Remove unnecessary attribute. 2022-03-21 12:10:39 -07:00
Dillon Kearns
2d0f0f2651 Wire up Effect type. 2022-03-21 09:45:11 -07:00
Dillon Kearns
ef6f80ff01 Run vanilla web form submission simulation when there is no onsubmit handler and a form submit button is clicked. 2022-03-20 13:19:18 -07:00
Dillon Kearns
b3f0ebba9d Extract test helper module. 2022-03-19 15:57:03 -07:00
Dillon Kearns
3d24e970e0 Add another test case. 2022-03-19 14:57:22 -07:00
Dillon Kearns
26f9f02697 Remove obsolete code. 2022-03-19 13:32:32 -07:00
Dillon Kearns
8e242b5a57 Remove obsolete hardcoded value. 2022-03-19 13:30:09 -07:00
Dillon Kearns
339b3c3387 Extract value. 2022-03-19 13:22:40 -07:00
Dillon Kearns
c72dfc8010 Extract value. 2022-03-19 13:21:26 -07:00
Dillon Kearns
d3c1d45342 Extract variable. 2022-03-19 13:17:55 -07:00
Dillon Kearns
d6b2aec595 Remove hardcoded initial url in Request.Parser mocking. 2022-03-19 13:15:21 -07:00
Dillon Kearns
5fc8173781 Remove hardcoded name in form submit body. 2022-03-19 12:01:45 -07:00
Dillon Kearns
0937207468 Maintain cookie jar state. 2022-03-19 11:50:47 -07:00
Dillon Kearns
88f2a1dc14 Get test prototype working with redirects and form POST simulation with no event handlers. 2022-03-18 10:50:23 -07:00
Dillon Kearns
6eb29865e0 Handle initial page redirects in test harness. 2022-03-17 09:33:21 -07:00
Dillon Kearns
15d824c675 Try vendoring entire elm-program-test package. 2022-03-16 14:09:15 -07:00
Dillon Kearns
f541e5576b Copy vendored elm-program-test as starting point for custom elm-pages state. 2022-03-16 14:00:14 -07:00
Dillon Kearns
0b7e6053c9 Add program-test prototype that runs server-rendered routes. 2022-03-16 13:55:31 -07:00
Dillon Kearns
aaca1b0a12 Try a new cypress start command for ci. 2022-03-09 14:00:24 -08:00
Dillon Kearns
6e53ce5f74 Add test case for handling multiple content types. 2022-03-09 09:19:46 -08:00
Dillon Kearns
ad5f092d06 Improve expectContentType. 2022-03-09 08:49:46 -08:00
Dillon Kearns
a93a530439 Rename Request.cookies -> allCookies. Add map5. 2022-03-08 15:34:59 -08:00