8a36950235
- playwright.config.ts with authenticated test projects - e2e/auth.setup.ts authenticates via OIDC or token - e2e/rook.spec.ts smoke tests for sidebar, overview page, storage classes navigation, and plugin settings - scripts/deploy-e2e-headlamp.sh deploys Headlamp + rook in headlamp-dev - scripts/teardown-e2e-headlamp.sh cleans up after tests - e2e.yaml uses reusable workflow from .github repo - @playwright/test ^1.58.2 devDep added - PRI-640 Co-Authored-By: Paperclip <noreply@paperclip.ing>
55 lines
1.7 KiB
JSON
55 lines
1.7 KiB
JSON
{
|
|
"name": "rook",
|
|
"version": "1.0.2",
|
|
"description": "Headlamp plugin for Rook-Ceph cluster visibility and CSI driver monitoring",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/privilegedescalation/headlamp-rook-plugin.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/privilegedescalation/headlamp-rook-plugin/issues"
|
|
},
|
|
"homepage": "https://github.com/privilegedescalation/headlamp-rook-plugin#readme",
|
|
"author": "privilegedescalation",
|
|
"license": "Apache-2.0",
|
|
"scripts": {
|
|
"start": "headlamp-plugin start",
|
|
"build": "headlamp-plugin build",
|
|
"package": "headlamp-plugin package",
|
|
"tsc": "tsc --noEmit",
|
|
"lint": "eslint --ext .ts,.tsx src/",
|
|
"lint:fix": "eslint --ext .ts,.tsx --fix src/",
|
|
"format": "prettier --write src/",
|
|
"format:check": "prettier --check src/",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"e2e": "playwright test",
|
|
"e2e:headed": "playwright test --headed"
|
|
},
|
|
"devDependencies": {
|
|
"@headlamp-k8s/eslint-config": "^0.6.0",
|
|
"@kinvolk/headlamp-plugin": "^0.13.0",
|
|
"@mui/material": "^5.15.14",
|
|
"@playwright/test": "^1.58.2",
|
|
"@testing-library/jest-dom": "^6.4.8",
|
|
"@testing-library/react": "^16.0.0",
|
|
"@testing-library/user-event": "^14.5.2",
|
|
"@types/react": "^18.0.0",
|
|
"@types/react-dom": "^18.0.0",
|
|
"eslint": "^8.57.0",
|
|
"jsdom": "^24.0.0",
|
|
"notistack": "^3.0.0",
|
|
"prettier": "^2.8.8",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"react-router-dom": "^5.3.0",
|
|
"typescript": "~5.6.2",
|
|
"vitest": "^3.2.4"
|
|
},
|
|
"overrides": {
|
|
"tar": "^7.5.11",
|
|
"undici": "^7.24.3",
|
|
"vite": ">=6.4.2",
|
|
"lodash": ">=4.18.0"
|
|
}
|
|
} |