Commit graph

13 commits

Author SHA1 Message Date
Zed A. Shaw
63fdc06438 Use TestMain to setup the database and shut it down after. 2025-06-29 13:33:53 -04:00
Zed A. Shaw
35d1b06a79 Test can now register a user and log in. 2025-06-29 13:30:40 -04:00
Zed A. Shaw
db58b38917 Simple test of having a render handler that simply renders files by URL name. 2025-06-24 14:46:05 -04:00
Zed A. Shaw
0bccddc62c Forgot the tools file 2025-06-24 14:45:39 -04:00
Zed A. Shaw
db9697130e .\tests\tools.go 2025-06-24 14:24:29 -04:00
Zed A. Shaw
74edb069d2 Cleanup how clicking on a link works for the tests. 2025-06-24 14:14:39 -04:00
Zed A. Shaw
fecfc8ee84 chromedp completely fails to reliably click on links when running in non-headless mode on Windows. About 50% of the time it just hangs thinking it clicked when it didn't. So, on Windows need headless only, and then design tests on Linux where it (maybe) works. 2025-06-23 13:08:25 -04:00
Zed A. Shaw
1785a8e4f5 Got the port wrong on the second test. 2025-06-21 23:36:41 -04:00
Zed A. Shaw
985d0edda3 Now just have a base file I can use to start making tests right away. 2025-06-21 22:51:21 -04:00
Zed A. Shaw
23c6092aa6 More coverage report setup. 2025-06-21 22:46:37 -04:00
Zed A. Shaw
831b5ea762 Test can now attempt a login and the browser is shown rather than headless. 2025-06-18 06:54:59 -04:00
Zed A. Shaw
e29c36fb5c Change the test make to build the runtests but not run it so that I can set a constant security under windows, but messed it up. 2025-06-18 04:53:33 -04:00
Zed A. Shaw
849943a01e Changed to pkgsite for docs browsing and then refined the chromedp test some to be nicer to write. 2025-06-17 02:23:23 -04:00