test(*): Add basic BDD tests

This commit is contained in:
Josh Creek
2025-04-24 08:15:24 +01:00
parent fa69411829
commit a7c1d60db8
17 changed files with 1722 additions and 41 deletions
+12 -2
View File
@@ -11,11 +11,17 @@
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"format": "prettier --write .",
"lint": "prettier --check . && eslint ."
"lint": "prettier --check . && eslint .",
"test:bdd": "cucumber-js tests/bdd/features --import tests/bdd/steps/**/*.ts --import tests/bdd/support/**/*.ts",
"bdd:full": "start-server-and-test dev http://localhost:5173 test:bdd",
"test:e2e": "playwright test",
"playwright:install": "npx playwright install"
},
"devDependencies": {
"@cucumber/cucumber": "^9.2.2",
"@eslint/compat": "^1.2.5",
"@eslint/js": "^9.18.0",
"@playwright/test": "^1.44.1",
"@sveltejs/adapter-auto": "^4.0.0",
"@sveltejs/kit": "^2.16.0",
"@sveltejs/vite-plugin-svelte": "^5.0.0",
@@ -26,15 +32,19 @@
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-svelte": "^3.0.0",
"globals": "^16.0.0",
"playwright": "^1.44.1",
"prettier": "^3.4.2",
"prettier-plugin-svelte": "^3.3.3",
"prettier-plugin-tailwindcss": "^0.6.11",
"start-server-and-test": "^2.0.11",
"svelte": "^5.0.0",
"svelte-check": "^4.0.0",
"tailwindcss": "^4.0.0",
"ts-node": "^10.9.2",
"typescript": "^5.0.0",
"typescript-eslint": "^8.20.0",
"vite": "^6.2.5"
"vite": "^6.2.5",
"wait-on": "^8.0.3"
},
"pnpm": {
"onlyBuiltDependencies": [