To make the "testcafeTestRunner.customArguments" setting value a bit more readable, it would be nice if entering an array of arguments is supported as well, like this:
{
"testcafeTestRunner.customArguments": [
"--window-size=1920,1080",
"--window-position=0,0",
"--no-sandbox",
"--disable-extensions",
"--screenshots apps/myapp/e2e/screenshots",
"--screenshots-on-fails",
"--screenshots-full-page",
"--disable-features=DarkMode",
"--screenshot-path-pattern \"${DATE}_${TIME}/${FIXTURE}/${TEST}/${BROWSER}.png\"",
"--video apps/myapp/e2e/videos",
"--video-options failedOnly=true,singleFile=true",
"--video-encoding-options r=30,crf=18"
]
}
Instead of just this:
{
"testcafeTestRunner.customArguments": "--window-size=1920,1080 --window-position=0,0 --no-sandbox --disable-extensions --disable-web-security --disable-dev-shm-usage --screenshots apps/myapp/e2e/screenshots --screenshots-on-fails --screenshots-full-page --disable-features=DarkMode --screenshot-path-pattern \"${DATE}_${TIME}/${FIXTURE}/{TEST}/${BROWSER}.png\" --video apps/myapp/e2e/videos --video-options failedOnly=true,singleFile=true --video-encoding-options r=30,crf=18"
}
To make the "testcafeTestRunner.customArguments" setting value a bit more readable, it would be nice if entering an array of arguments is supported as well, like this:
{ "testcafeTestRunner.customArguments": [ "--window-size=1920,1080", "--window-position=0,0", "--no-sandbox", "--disable-extensions", "--screenshots apps/myapp/e2e/screenshots", "--screenshots-on-fails", "--screenshots-full-page", "--disable-features=DarkMode", "--screenshot-path-pattern \"${DATE}_${TIME}/${FIXTURE}/${TEST}/${BROWSER}.png\"", "--video apps/myapp/e2e/videos", "--video-options failedOnly=true,singleFile=true", "--video-encoding-options r=30,crf=18" ] }Instead of just this:
{ "testcafeTestRunner.customArguments": "--window-size=1920,1080 --window-position=0,0 --no-sandbox --disable-extensions --disable-web-security --disable-dev-shm-usage --screenshots apps/myapp/e2e/screenshots --screenshots-on-fails --screenshots-full-page --disable-features=DarkMode --screenshot-path-pattern \"${DATE}_${TIME}/${FIXTURE}/{TEST}/${BROWSER}.png\" --video apps/myapp/e2e/videos --video-options failedOnly=true,singleFile=true --video-encoding-options r=30,crf=18" }