How qa-onrex/qa-automation works
This repository collects automated-test reports and presents their results in a web dashboard. The intended workflow runs from emailed ZIP attachments through encrypted storage, HTML extraction and parsing, then result aggregation for dashboard and timeline views. Monthly archives and retention cleanup support the data lifecycle. The Python ingestion and aggregation paths are partly evidenced by excerpts; frontend wiring and several script handoffs are not shown, so those links are marked unverified or omitted.
Main entry points: results.json Test result records · dashboard_data.json Dashboard dataset · extract_html.py Extract report HTML · parse_html.py Parse report results
Components 22
Report ingestion
- Fetch attachments
scripts/fetch_emails.py - Encrypt and decrypt
scripts/encryptor.py - Encrypted ZIPs
Report processing
- Extract report HTML
scripts/extract_html.py - Stored HTML reports
data/html - Publish reports
scripts/upload_html.py - Parse report results
scripts/parse_html.py
Results lifecycle
- Test result records
data/results.json - Build dashboard data
scripts/generate_dashboard.py - Dashboard dataset
docs/dashboard_data.json - Build timeline data
scripts/generate_timeline.py - Timeline dataset
docs/timeline_data.json - Monthly archiving
scripts/archive_manager.py - Archived datasets
docs/archive - Retention cleanup
scripts/cleanup_data.py
Dashboard
- Dashboard interface
docs/index.html - Dashboard views
docs/scripts/dashboard.js - Timeline views
docs/scripts/timeline.js - Archive browsing
docs/scripts/archive.js
Other components
- Report mailbox
- Netlify hosting
- Dashboard user
Connections 24
- Report mailbox → Fetch attachments: provides reports
scripts/fetch_emails.py - Fetch attachments → Encrypt and decrypt: encrypts attachments
scripts/fetch_emails.py - Fetch attachments → Encrypted ZIPs: stores ZIPs
scripts/fetch_emails.py - Extract report HTML → Encrypt and decrypt: decrypts and encrypts
scripts/extract_html.py - Extract report HTML → Encrypted ZIPs: reads ZIPs
scripts/extract_html.py - Extract report HTML → Stored HTML reports: writes reports
scripts/extract_html.py - Publish reports → Stored HTML reports: reads reports
- Publish reports → Netlify hosting: deploys files
scripts/upload_html.py - Parse report results → Encrypt and decrypt: decrypts reports
scripts/parse_html.py - Parse report results → Stored HTML reports: reads reports
- Parse report results → Test result records: writes records
scripts/parse_html.py - Build dashboard data → Test result records: reads records
scripts/generate_dashboard.py - Build dashboard data → Dashboard dataset: writes dataset
- Build timeline data → Test result records: reads records
scripts/generate_timeline.py - Build timeline data → Dashboard dataset: reads dataset
- Build timeline data → Timeline dataset: writes dataset
- Monthly archiving → Dashboard dataset: archives monthly data
scripts/archive_manager.py - Monthly archiving → Archived datasets: writes archives
scripts/archive_manager.py - Retention cleanup → Test result records: prunes records
scripts/cleanup_data.py - Dashboard interface → Dashboard views: loads views
- Dashboard views → Dashboard dataset: reads dataset
- Timeline views → Timeline dataset: reads dataset
- Archive browsing → Archived datasets: browses archives
- Dashboard user → Dashboard interface: views dashboard