Commit Graph

33 Commits

Author SHA1 Message Date
Dillon Kearns
f76870cabe Fix flaky test. 2023-02-06 22:40:49 -08:00
Dillon Kearns
e546b97186 Remove empty cypress plugins config. 2023-01-24 16:15:13 -08:00
Dillon Kearns
89491a9515 Use HTTP conditional requests, and fix some handling of HTTP error cases for BackendTask error paths (return the error data instead of handling them as build errors). 2023-01-06 10:03:19 -08:00
Dillon Kearns
89d3348b82 Skip multi-part form test. 2022-12-11 19:44:38 -08:00
Dillon Kearns
ec43f67268 Increase timeout time to try to fix CI error. 2022-12-11 19:34:49 -08:00
Dillon Kearns
0685561fd1 Prevent use of wait in cypress test to make it more resilient. 2022-11-18 10:21:58 -08:00
Dillon Kearns
d16c1699f1 Add fetcher test for race conditions. 2022-11-18 10:08:10 -08:00
Dillon Kearns
5ccf361985 Add cypress types to test file. 2022-10-19 12:04:28 -07:00
Dillon Kearns
5be89eaa22 Add fetcher cypress test. 2022-10-18 15:35:06 -07:00
Dillon Kearns
3986e296dd Add dark mode session example. 2022-10-07 09:59:48 -07:00
Dillon Kearns
abfa27ee9f Fix bug that causes extra navigation for form POSTs. 2022-08-09 08:44:12 -07:00
Dillon Kearns
206603fb48 Migrate to latest cypress. 2022-08-09 06:32:47 -07:00
Dillon Kearns
c6933c2497 Update test assertion. 2022-03-09 13:51:35 -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
d989a9ad9b Add tset case for form POST. 2022-03-08 15:56:02 -08:00
Dillon Kearns
cfd91b7b6d Update Request API, docs, and add a test suite. 2022-03-08 11:02:19 -08:00
Dillon Kearns
0c469c225b Return headers for content.dat responses. 2022-03-04 20:45:03 -08:00
Dillon Kearns
5c77acc96c Add test case for Server.Request cookie API. 2022-03-04 10:07:35 -08:00
Dillon Kearns
121556f2ef Use html test runner for glob tests. 2022-02-28 17:45:16 -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
Dillon Kearns
81ab07897f Use micromatch to get glob captures to ensure that they match with the globby matching logic. 2022-02-27 11:27:49 -08:00
Dillon Kearns
ff9141d7ec Add some end-to-end glob specs. 2022-02-27 09:47:50 -08:00
Dillon Kearns
3872c5a365 Use rawUrl to parse query params. 2022-02-26 10:51:37 -08:00
Dillon Kearns
1c7ff8aa7c Fix 404 page message for non-matching routes. 2022-02-25 10:40:08 -08:00
Dillon Kearns
d99f908be3 Add an API end-to-end test case for mime type params. 2022-02-25 10:04:36 -08:00
Dillon Kearns
9d50907053 Add some end-to-end test cases for API handlers and remove some obsolete request payload pre-processing in JavaScript (optimizations that were there for OptimizedDecoder's before but aren't needed with Lamdera Wire). 2022-02-25 09:07:57 -08:00
Dillon Kearns
49bce28926 Comment out test case for now - need to figure out how to get multiple dev servers running for cypress GH actions run. 2021-07-29 12:32:09 -07:00
Dillon Kearns
a2f08e03d6 Add some cypress boilerplate files. 2021-07-28 07:45:19 -07:00
Dillon Kearns
0a77ab5f04 Read path from the right spot for initial ContentCache data. 2021-07-26 11:17:39 -07:00
Dillon Kearns
d865c20ccb Add cypress example for data sources. 2021-07-21 13:33:05 -07:00
Dillon Kearns
852a84d8bb Update not found page. 2021-06-06 11:04:06 -07:00
Dillon Kearns
1d42eeb6e1 Add cypress setup for dev server. 2021-06-04 18:06:39 -07:00