Add per-store test_query for automated store testing

Each store can now have its own test_query (e.g., "logitech" for
electronics stores). The "Test All" button uses each store's
configured query instead of prompting — just click and watch.

- Add test_query column (migration 003)
- Add field to YAML sync, store forms, and route schema
- Set test_query in HG Spot and Links.hr configs
- Test All runs immediately using per-store queries
- Hover test result to see which query was used

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
mariosemes
2026-03-26 23:08:41 +01:00
parent b3647be434
commit cb71421d8d
9 changed files with 39 additions and 45 deletions

View File

@@ -4,6 +4,7 @@ search_url: https://www.hgspot.hr/pretraga?q={query}&page=0
category: Electronics
currency: EUR
render_js: true
test_query: logitech
rate_limit: 1
selectors:

View File

@@ -3,6 +3,7 @@ base_url: https://www.links.hr
search_url: https://www.links.hr/hr/search?q={query}
category: Electronics
currency: EUR
test_query: logitech
selectors:
container: ".card.mobile-card"