Fix playwrite cli args

This commit is contained in:
Jonathan Kelley 2023-07-18 18:39:06 -07:00
parent 236ffe4cb9
commit f69b84bf34
No known key found for this signature in database
GPG key ID: 1FBB50F7EB0A08BE

View file

@ -82,7 +82,7 @@ module.exports = defineConfig({
},
{
cwd: path.join(process.cwd(), "playwright-tests", "web"),
command: "dioxus serve",
command: "dx serve",
port: 8080,
timeout: 10 * 60 * 1000,
reuseExistingServer: !process.env.CI,
@ -90,7 +90,7 @@ module.exports = defineConfig({
},
{
cwd: path.join(process.cwd(), 'playwrite-tests', 'fullstack'),
command: 'dioxus build --features web --release\ncargo run --release --features ssr',
command: 'dx build --features web --release\ncargo run --release --features ssr',
port: 3333,
timeout: 10 * 60 * 1000,
reuseExistingServer: !process.env.CI,