test: slow Motion

This commit is contained in:
ISA
2025-09-16 16:38:14 +02:00
parent 81b6379895
commit bfd091b1b1
6 changed files with 21 additions and 6 deletions

View File

@@ -20,7 +20,11 @@ module.exports = defineConfig({
trace: "off",
video: "off",
screenshot: "off",
headless: true,
headless: process.env.PW_HEADED ? false : true,
// Apply slow motion to all actions when PW_SLOWMO is set
launchOptions: {
slowMo: process.env.PW_SLOWMO ? Number(process.env.PW_SLOWMO) : 0,
},
},
projects: [
{