Upgrade Playwright suite to v2.5.1 SQLite deep testing

This commit is contained in:
A R R R Associates
2026-06-24 20:05:36 +05:30
parent 89ba3e85a1
commit ba1075ef19
33 changed files with 16167 additions and 240 deletions
+43
View File
@@ -0,0 +1,43 @@
# v2.5.1 Deep Seed Extension
This suite now includes a seed extension for the additional v2.5.1 deep test cases.
## Files
```text
seed/seed_uat_data_v2_5_1.py
```
## Run order inside ERP container
Copy the file into the ERP app under `scripts/` and run:
```bash
cd /app
PYTHONPATH=/app python scripts/seed_uat_data.py
PYTHONPATH=/app python scripts/seed_uat_data_v2_5_1.py
```
The first command is your existing core seed. The second command adds supporting data for the new v2.5.1 tests.
## What it seeds
- Email settings, templates, queue, logs and inbox sample
- Marketplace/public leads including converted lead
- Platform billing plan, account, subscription, invoice and payment
- RBAC limited role and UAT permissions
- Audit log sample events
- Locked previous financial year and backup export placeholder
- Client-visible, deleted and multi-version document samples
- Storage-agent security node/job
- Attendance, leave balance, leave request, payroll run and payslip
- Draft, issued and cancelled billing invoices with payment
- Deep notice case with hearing/event and client/internal note separation
## Idempotency
The extension uses UAT-coded lookup values and can be rerun safely. If a table or column is not present in your current ERP build, it skips that section and prints a warning.
## Important
This is for UAT only. Do not run against live production data.