mirror of
https://github.com/chatwoot/chatwoot.git
synced 2026-06-04 21:02:35 +08:00
## Description Adds Playwright E2E testing infrastructure with project configuration and a login flow test. This is Phase 1 of the Playwright E2E suite, kept minimal with only the core setup and login component. Ref: Discussion #13500, PR #13067 ## Type of change Please delete options that are not relevant. - [x] New feature (non-breaking change which adds functionality) ## How Has This Been Tested? - Verified all imports resolve correctly (`login-flow-ui-validation.spec.ts` only imports `Login` from `@components/ui`) - Ran login flow test locally against a running Chatwoot instance ## Checklist: - [x] My code follows the style guidelines of this project - [x] I have performed a self-review of my code - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [x] I have added tests that prove my fix is effective or that my feature works --------- Co-authored-by: Sony Mathew <sony@chatwoot.com> Co-authored-by: Sony Mathew <2040199+sony-mathew@users.noreply.github.com>
36 lines
898 B
JSON
36 lines
898 B
JSON
{
|
|
"name": "playwright",
|
|
"version": "1.0.0",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint . --fix",
|
|
"playwright:open": "npx playwright test --ui",
|
|
"playwright:run": "npx playwright test",
|
|
"playwright:codegen": "npx playwright codegen"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"description": "",
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.39.4",
|
|
"@faker-js/faker": "^9.9.0",
|
|
"@playwright/mcp": "^0.0.48",
|
|
"@playwright/test": "^1.56.1",
|
|
"@types/node": "^24.10.1",
|
|
"@types/uuid": "^10.0.0",
|
|
"ajv": "^8.17.1",
|
|
"ajv-formats": "^3.0.1",
|
|
"dotenv": "^17.2.3",
|
|
"eslint": "^9.39.4",
|
|
"eslint-plugin-playwright": "^2.10.2",
|
|
"genson-js": "^0.0.8",
|
|
"pg": "^8.16.3",
|
|
"playwright": "^1.56.1",
|
|
"typescript": "^6.0.3",
|
|
"typescript-eslint": "^8.59.1",
|
|
"uuid": "^13.0.0"
|
|
}
|
|
}
|