Commit Graph

1372 Commits

Author SHA1 Message Date
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
ac1e0de39b Refactor test code. 2022-03-16 10:29:53 -07:00
Dillon Kearns
b8b4729821 Resolve mock data in test prototype for initial route and on route change. 2022-03-15 21:10:52 -07:00
Dillon Kearns
7ff9b555f3 Add DataSource request mocking prototype. 2022-03-14 19:17:19 -07:00
Dillon Kearns
2a80161392 Try new wiring for elm-program-test prototype. 2022-03-14 16:13:01 -07:00
Dillon Kearns
ec33b62323 Add prototype of elm-program-test setup. 2022-03-14 14:02:37 -07:00
Dillon Kearns
55ac3da02d Update starter template. 2022-03-14 11:39:41 -07:00
Dillon Kearns
06decb5d28 Update package-lock. 2022-03-11 11:12:15 -08:00
Dillon Kearns
ddcea02130 Remove resolved todo comment. 2022-03-11 11:11:50 -08:00
Dillon Kearns
25972e5724 Run adapter script from build step (if configured). 2022-03-10 11:49:07 -08:00
Dillon Kearns
3e12b48112 Update template project. 2022-03-09 15:06:49 -08:00
Dillon Kearns
aaca1b0a12 Try a new cypress start command for ci. 2022-03-09 14:00:24 -08:00
Dillon Kearns
c6a5096357 Remove extra complexity of markdown parsing in routing test. 2022-03-09 11:18:23 -08:00
Dillon Kearns
3c4bcac4f4 Remove unused dependencies. 2022-03-09 11:10:00 -08:00
Dillon Kearns
41fd2bf645 Update dependencies. 2022-03-09 10:57:47 -08:00
Dillon Kearns
ef89edf54b Update esbuild. 2022-03-09 10:55:16 -08:00
Dillon Kearns
e35b8b6516 Update cypress. 2022-03-09 10:54:36 -08:00
Dillon Kearns
38c31745d6 Update commander. 2022-03-09 10:53:58 -08:00
Dillon Kearns
b3d0d8667a Update vite. 2022-03-09 10:53:32 -08:00
Dillon Kearns
1309fbe329 Update test snapshot. 2022-03-09 10:46:24 -08:00
Dillon Kearns
0e1ccd8e3b Update base-path example. 2022-03-09 10:43:30 -08:00
Dillon Kearns
84fe59f9c7 Update escaping test snapshot. 2022-03-09 10:35:40 -08:00
Dillon Kearns
aa98e1b914 Update test projects. 2022-03-09 10:33:33 -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
661c84467b Remove unnecessary Request Parser helper. 2022-03-08 16:04:46 -08:00
Dillon Kearns
a93a530439 Rename Request.cookies -> allCookies. Add map5. 2022-03-08 15:34:59 -08:00
Dillon Kearns
cfd91b7b6d Update Request API, docs, and add a test suite. 2022-03-08 11:02:19 -08:00
Dillon Kearns
8911ef9bb3 Rename Server.Request.Request -> Server.Request.Parser. 2022-03-08 08:57:46 -08:00
Dillon Kearns
9f788d8aba Fix naming in end-to-end to use new route exposed top-level value. 2022-03-07 08:34:22 -08:00
Dillon Kearns
8acabc3281 Simplify Response API to use builder pattern for different ways to construct a body and remove redundant permutations. 2022-03-07 08:33:03 -08:00
Dillon Kearns
b7495d73bb Change exported value from page -> route from Route Modules. 2022-03-05 10:35:17 -08:00
Dillon Kearns
f16a30320d Rename Page.elm -> RouteBuilder.elm. 2022-03-05 09:50:01 -08:00
Dillon Kearns
0310152df4 Change Page.* modules to be Route.* modules. 2022-03-05 09:05:12 -08:00
Dillon Kearns
b7f6c6cff8 Add page with route params to skeleton example. 2022-03-05 08:56:07 -08:00
Dillon Kearns
020e870883 Simplify basic auth example. 2022-03-05 08:48:46 -08:00
Dillon Kearns
2ed0ab08bc Add basic auth example to pokedex deployment. 2022-03-05 08:44:45 -08:00
Dillon Kearns
0c469c225b Return headers for content.dat responses. 2022-03-04 20:45:03 -08:00