testcafe testing

This commit is contained in:
jadera
2025-12-10 20:04:40 +02:00
parent 84b2b450c6
commit cd2a58a76d
2 changed files with 4 additions and 2 deletions
+3 -2
View File
@@ -67,11 +67,12 @@ build:
- .next/cache/
test:e2e:
image: circleci/node:16-browsers
image: cimg/node:20.18-browsers
needs: ["install", "build"]
stage: test
script:
- npm run testcafe
- npm ci
- npm run testcafe:ci
artifacts:
paths:
- e2e-screenshots
+1
View File
@@ -30,6 +30,7 @@
"test:unit": "jest --coverage",
"test": "npm run testcafe",
"testcafe": "testcafe --config-file testcafe.json",
"testcafe:ci": "testcafe chrome:headless --config-file testcafe.json",
"build-analyze": "ANALYZE=true npm run build",
"prepare": "husky install"
},