Sebastian Martinez
d03f0ae2c0
Add missing tests to project and session routes
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-07-12 10:58:46 +02:00
Sebastian Martinez
4bf37b6d26
Add support functions for httpd-api tests
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-07-12 10:58:45 +02:00
Sebastian Martinez
3d4e1bbfd9
Add httpd test fixture to vitest httpd-api tests
...
This fixture is simil to the way Playwright handles fixtures, which are
being setup and teardown for each test.
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-07-12 10:58:45 +02:00
Sebastian Martinez
92f19d0ca4
Bring cobsFixture back to the httpd-api tests
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-07-12 10:58:45 +02:00
Sebastian Martinez
00f752a990
Fix @httpd-client path resolving in httpd-api tests
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-07-12 10:58:45 +02:00
Sebastian Martinez
db94969f8a
Allow httpd API ports to be generated randomly.
...
To avoid port collisions between tests that can eventually run in
parallel, we need to be able to generate random port numbers.
This commit generates random httpd port numbers for inline tests,
while keeping the current palm seed with the default port number 8080.
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-07-09 14:19:47 +02:00
Sebastian Martinez
3e797a2d08
Make a globalSetup for the httpd-client tests
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-07-04 09:56:23 +02:00
Sebastian Martinez
889b13303b
Extract markdown from source-browsing fixture
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-05 15:08:32 +02:00
Sebastian Martinez
c32b303744
Add CLI tooling to create seed fixtures on the fly
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-05-12 14:23:10 +02:00
Rūdolfs Ošiņš
b997b12353
Implement data loading in router
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-11 10:51:35 +02:00
Rūdolfs Ošiņš
c8c251fabd
Add httpd-client api library
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-04-11 15:31:08 +02:00