Commit Graph

67 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
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
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
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
020e870883 Simplify basic auth example. 2022-03-05 08:48:46 -08:00
Dillon Kearns
0c469c225b Return headers for content.dat responses. 2022-03-04 20:45:03 -08:00
Dillon Kearns
e6488024a3 Add basic auth example. 2022-03-04 20:24:50 -08:00
Dillon Kearns
8df43bcd71 Use pure Elm for parsing cookies header. 2022-03-04 10:43:32 -08:00
Dillon Kearns
5c77acc96c Add test case for Server.Request cookie API. 2022-03-04 10:07:35 -08:00
Dillon Kearns
a0c378a1df Move final test cases to glob end-to-end test suite. 2022-03-04 09:37:00 -08:00
Dillon Kearns
bb81c49d0e Move test case to end-to-end suite. 2022-03-04 09:32:21 -08:00
Dillon Kearns
088dc59ec3 Move another test case to end-to-end suite. 2022-03-04 09:30:00 -08:00
Dillon Kearns
a937049993 Move test case to end-to-end suite. 2022-03-04 09:27:32 -08:00
Dillon Kearns
bfffe9e43b Move test case to end-to-end suite. 2022-03-04 09:12:06 -08:00
Dillon Kearns
2639d1333d Move test case. 2022-03-04 09:09:43 -08:00
Dillon Kearns
509535304e Remove duplicate test case. 2022-03-04 09:07:31 -08:00
Dillon Kearns
be20a6c9ee Remove duplicate test case. 2022-03-04 09:06:58 -08:00
Dillon Kearns
fb7f5fa1e9 Remove duplicate test case. 2022-03-04 09:06:10 -08:00
Dillon Kearns
8adac30f30 Move test case. 2022-03-04 09:05:35 -08:00
Dillon Kearns
0688e579dd Move test case. 2022-03-04 09:03:59 -08:00
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
f572ee7218 Run esbuild to compile ports file from build command. 2022-03-02 14:35:48 -08:00
Dillon Kearns
6a006cd9bc Add missing file for end-to-end test build. 2022-03-02 14:26:11 -08:00
Dillon Kearns
514a82b596 Move entrypoint files for build. 2022-03-02 10:51:18 -08:00
Dillon Kearns
8489f44a3d Use esbuild to transpile port-data-source file, and watch for changes. 2022-03-02 10:14:55 -08:00
Dillon Kearns
8a0eae997b Remove unused package. 2022-03-01 19:07:31 -08:00
Dillon Kearns
288dc1c266 Add Glob.toDataSourceWithOptions. 2022-03-01 15:46:10 -08:00
Dillon Kearns
121556f2ef Use html test runner for glob tests. 2022-02-28 17:45:16 -08:00
Dillon Kearns
ddff730b26 Add Glob.listDirectories. 2022-02-28 16:52:41 -08:00
Dillon Kearns
068f73c811 Extract glob test cases into a module. 2022-02-28 14:47:22 -08:00
Dillon Kearns
ace71d09ce Run glob test code directly through elm-pages so the test assertions can be against Elm data instead of JSON. 2022-02-28 14:43:57 -08:00