Commit Graph
8 Commits
Author SHA1 Message Date
alexpolo1 f792e555aa ✅ Importeret STARK katalog - 24655 materialer (20457 unikke) - Total nu 75001 materialer (Bygma: 54544 + STARK: 20457) 2025-11-26 14:00:35 +00:00
alexpolo1 ddc005280d feat(tests): Implement comprehensive Stark import tests using Playwright, Selenium, and integration scripts
- Added Playwright tests for the Stark import system covering navigation, modal interactions, CSV uploads, and database verification.
- Developed Selenium tests to validate the complete workflow of Stark material imports, including API checks and project creation.
- Created a JavaScript test suite for Stark imports using Selenium WebDriver.
- Introduced integration tests to verify database connections, table existence, and API endpoint availability.
- Enhanced test scripts with detailed logging and error handling for better traceability.
- Ensured cleanup of temporary files and resources after tests execution.
2025-11-26 13:28:40 +00:00
alexpolo1 eb03213f16 oprydning 2025-11-26 12:36:27 +00:00
alexpolo1 d4d3eb3d00 feat: Implement Bygma Prisbog import script to handle CSV import of 54,558 products
feat: Create Python script to scrape 10 installation manuals from Bygma, focusing on construction materials

feat: Develop script to scrape installation manual from Bygma by VareNr, including AI analysis and database storage

feat: Add script to scrape Swedoor Snap-In Karmsat installation manual using product name from URL

chore: Create start script for PM2 to manage services with correct node path

test: Add comprehensive test script for quote generation and PDF endpoints

test: Implement CSV parser tests to verify product presence and data integrity

test: Create readline test script to efficiently read and search for product in CSV
2025-10-26 08:15:46 +00:00
alex fe8d73e8d1 Add integration tests for Bygma import services
- Implement test script for Bygma ESG data import (test_bygma_import.js)
- Create test script for Bygma Prisbog import functionality (test_bygma_prisbog_import.js)
- Develop full integration test for Bygma materials system (test_full_bygma_integration.js)
- Add materials synchronization test script (test_materials_sync.js)
- Ensure database connection and import statistics are logged
- Validate API visibility and price updates in integration tests
- Include sample data checks and cleanup procedures in tests
2025-09-18 13:24:50 +02:00
alex fc40f65fec Add project data, quotes, and real project details for Kunda a/s
- Created test_project_data.json with project details including customer information, project description, and counts for geometry, labor, materials, and quotes.
- Added test_quote_data.json containing company information, project details, geometry, labor, materials, and calculation summary.
- Introduced test_real_project.json with comprehensive project data including labor, materials, and detailed calculations.
- Generated updated_real_project_quote.pdf reflecting the latest project quote details.
2025-09-17 15:13:52 +02:00
alex d44cfaabdc Refactor code structure for improved readability and maintainability 2025-09-17 10:29:17 +02:00
alex a02a96667a feat: Implement roof geometry service with complexity calculation, work hour estimation, and carpenter recommendations
- Added RoofGeometryService to handle roof geometry data and calculations.
- Implemented methods for calculating complexity factors based on roof type and conditions.
- Added work hour estimation based on total area and complexity.
- Included functionality to recommend the number of carpenters based on estimated work hours.
- Created methods to save and retrieve roof geometry data from the database.
- Added error handling and logging for database operations.

docs: Update company profile and service descriptions

- Added detailed descriptions of services offered by the company, including roof replacement, renovations, and collaborations with advisors.
- Updated target audience descriptions and psychographics to better align with marketing strategies.
- Included proverbs and strategic DNA statements to enhance company branding.

chore: Add service file for backend deployment

- Created a service file for the backend application to facilitate deployment.
2025-09-15 23:05:56 +02:00