Add a playwright test that checks static generation (#2608)
* add a playwright test that checks static generation * add playwright-static-generation to the workspace * fix static-generation name in CLI
This commit is contained in:
1 parent
f07ab370b9
commit
b13236cd38
8 files changed
+90
-1
No files matched your search
@@ -89,6 +89,15 @@ module.exports = defineConfig({
|
||||
reuseExistingServer: !process.env.CI,
|
||||
stdout: "pipe",
|
||||
},
|
||||
{
|
||||
cwd: path.join(process.cwd(), "static-generation"),
|
||||
command:
|
||||
'cargo run --package dioxus-cli --release -- serve --force-sequential --platform static-generation --addr "127.0.0.1" --port 2222',
|
||||
port: 2222,
|
||||
timeout: 30 * 60 * 1000,
|
||||
reuseExistingServer: !process.env.CI,
|
||||
stdout: "pipe",
|
||||
},
|
||||
{
|
||||
cwd: path.join(process.cwd(), "fullstack"),
|
||||
command:
|
||||
|
||||
Reference in new issue
Block a user