diff --git a/package.json b/package.json index 78cc86e..1d920a3 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "start-prod": "next start --port ${SERVER_PORT:=80}", "serve": "next start --port 3000", "test": "npm run test:e2e:verbose", - "test:e2e": "npm-run-all -p -r serve testcafe", + "test:e2e": "testcafe --list-browsers && npm-run-all -p -r serve testcafe", "test:e2e:verbose": "npm-run-all -p -r serve testcafe:verbose", "testcafe": "testcafe --skip-js-errors -S -s 'e2e-screenshots' --app-init-delay 2000 chrome:headless tests/testcafe", "testcafe:verbose": "testcafe --skip-js-errors -S -s 'e2e-screenshots' --app-init-delay 2000 chrome tests/testcafe",