- Implemented VisualAITester class for automated UI/UX testing - Configured environment variables for API keys and paths - Developed methods for browser setup, login, screenshot capture, and image encoding - Integrated OpenAI Vision API for visual quality analysis with detailed feedback - Created tests for various application pages including homepage, project flow, geometry form, and more - Generated comprehensive HTML report summarizing test results and AI analysis - Added functionality to copy AI prompts for automated issue resolution
58 lines
1.6 KiB
JSON
58 lines
1.6 KiB
JSON
{
|
|
"name": "tilbudgivern-unified",
|
|
"version": "1.0.0",
|
|
"description": "Unified Tilbudgivern application with frontend and backend",
|
|
"main": "unified-server.js",
|
|
"engines": {
|
|
"node": ">=18.0.0",
|
|
"npm": ">=9.0.0"
|
|
},
|
|
"scripts": {
|
|
"start": "node unified-server.js",
|
|
"dev": "nodemon unified-server.js",
|
|
"test-smart-packages": "node test-smart-packages-api.js",
|
|
"build": "cd frontend && npm run build && cd ..",
|
|
"test": "python3 selenium_test_suite.py",
|
|
"test-minimal": "python3 test_countdown_selenium_minimal.py",
|
|
"test-visual-ai": "python3 selenium_visual_ai_test.py",
|
|
"build-and-test": "npm run build && pm2 restart tilbudgivern-unified && sleep 3 && npm run test",
|
|
"quick-test": "npm run test-minimal",
|
|
"visual-qa": "npm run test-visual-ai"
|
|
},
|
|
"dependencies": {
|
|
"axios": "^1.12.2",
|
|
"bcrypt": "^5.1.1",
|
|
"cors": "^2.8.5",
|
|
"csv-parser": "^3.2.0",
|
|
"dotenv": "^16.6.1",
|
|
"express": "^4.18.2",
|
|
"graphql": "^16.11.0",
|
|
"graphql-request": "^7.3.1",
|
|
"html-pdf-node": "^1.0.8",
|
|
"joi": "^17.11.0",
|
|
"jsonwebtoken": "^9.0.2",
|
|
"multer": "^1.4.5-lts.1",
|
|
"mysql2": "^3.6.5",
|
|
"nodemon": "^3.0.2",
|
|
"openai": "^4.20.1",
|
|
"pdf-parse": "^1.1.1",
|
|
"puppeteer": "^24.21.0",
|
|
"socket.io": "^4.8.1",
|
|
"sqlite3": "^5.1.7",
|
|
"tesseract.js": "^5.0.4",
|
|
"winston": "^3.11.0"
|
|
},
|
|
"keywords": [
|
|
"tilbudgivern",
|
|
"ai",
|
|
"quotes",
|
|
"construction"
|
|
],
|
|
"author": "Alex",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.56.1",
|
|
"react-scripts": "^5.0.1"
|
|
}
|
|
}
|