feat: Change e2e to be Playwright
Some checks failed
Build, check & Test / run (push) Failing after 1m0s
Some checks failed
Build, check & Test / run (push) Failing after 1m0s
Signed-off-by: Avior <github@avior.me>
This commit is contained in:
66
package.json
66
package.json
@ -1,32 +1,34 @@
|
||||
{
|
||||
"name": "@fi3d/slicer-as-a-service",
|
||||
"type": "module",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "astro dev",
|
||||
"start": "node ./dist/server/entry.mjs",
|
||||
"build": "astro build",
|
||||
"check": "npm run check:astro && npm run check:typescript",
|
||||
"check:astro": "astro check",
|
||||
"check:typescript": "tsc --noEmit",
|
||||
"test": "npm run test:unit && npm run test:integ",
|
||||
"test:unit": "vitest --coverage --run",
|
||||
"test:integ": "cypress run --headless --browser chromium"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/node": "^5",
|
||||
"@astrojs/tailwind": "^4",
|
||||
"@dzeio/logger": "^3",
|
||||
"@dzeio/object-util": "^1",
|
||||
"@dzeio/url-manager": "^1",
|
||||
"astro": "^2",
|
||||
"lucide-astro": "^0.262.0",
|
||||
"tailwindcss": "^3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^20",
|
||||
"@vitest/coverage-v8": "^0.33.0",
|
||||
"cypress": "^12",
|
||||
"vitest": "^0.33.0"
|
||||
}
|
||||
}
|
||||
{
|
||||
"name": "@fi3d/slicer-as-a-service",
|
||||
"type": "module",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "astro dev",
|
||||
"start": "node ./dist/server/entry.mjs",
|
||||
"build": "astro build",
|
||||
"check": "npm run check:astro && npm run check:typescript",
|
||||
"check:astro": "astro check",
|
||||
"check:typescript": "tsc --noEmit",
|
||||
"test": "npm run test:unit && npm run test:e2e",
|
||||
"test:unit": "vitest --coverage --run",
|
||||
"test:e2e": "playwright test",
|
||||
|
||||
"install:test": "playwright install --with-deps"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/node": "^5",
|
||||
"@astrojs/tailwind": "^4",
|
||||
"@dzeio/logger": "^3",
|
||||
"@dzeio/object-util": "^1",
|
||||
"@dzeio/url-manager": "^1",
|
||||
"astro": "^2",
|
||||
"lucide-astro": "^0.262.0",
|
||||
"tailwindcss": "^3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@playwright/test": "^1.36.1",
|
||||
"@types/node": "^20",
|
||||
"@vitest/coverage-v8": "^0.33.0",
|
||||
"vitest": "^0.33.0"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user