towerops/e2e/package.json
Graham McIntire bdfb20efdf feat(insights): superuser regenerate button + dialyzer cleanup
- /insights now shows a "Regenerate insights" button for superusers
  that enqueues all seven insight workers (Preseem baselines,
  capacity, device-health, Gaiia, system, wireless, LLM enrichment).
  Non-superusers neither see the button nor can trigger the event.
- Dialyzer is clean: added :tools to plt_add_apps, gave
  Preseem.Insight a @type t, pinned a few unmatched returns, and
  suppressed a known MapSet opaque false-positive in Towerops.Unused.
- e2e: NODE_OPTIONS=--disable-warning=DEP0205 silences the Node 25
  deprecation noise from Playwright's internal ESM loader.
2026-05-10 13:41:25 -05:00

24 lines
1,017 B
JSON

{
"name": "towerops-e2e",
"version": "1.0.0",
"type": "module",
"description": "End-to-end tests for Towerops",
"scripts": {
"test": "NODE_OPTIONS=--disable-warning=DEP0205 playwright test",
"test:local": "NODE_OPTIONS=--disable-warning=DEP0205 BASE_URL=http://localhost:4000 playwright test",
"test:staging": "NODE_OPTIONS=--disable-warning=DEP0205 BASE_URL=https://staging.towerops.net playwright test",
"test:ui": "NODE_OPTIONS=--disable-warning=DEP0205 playwright test --ui",
"test:headed": "NODE_OPTIONS=--disable-warning=DEP0205 playwright test --headed",
"test:debug": "NODE_OPTIONS=--disable-warning=DEP0205 playwright test --debug",
"codegen": "NODE_OPTIONS=--disable-warning=DEP0205 playwright codegen http://localhost:4000",
"report": "playwright show-report"
},
"devDependencies": {
"@playwright/test": "^1.59.0",
"@scure/base": "^2.0.0",
"@types/node": "^25.4.0",
"dotenv": "^17.3.1",
"otplib": "^13.3.0",
"speakeasy": "^2.0.0"
}
}