test: add Playwright browser tests and document test loop

- add real browser test for overview and options pages
- document engineering learnings in AGENTS.md
- commit NiceGUI header layout fix
- limit options initial expirations for faster first render
This commit is contained in:
Bu5hm4nn
2026-03-23 23:11:38 +01:00
parent 199ecb933f
commit d51fa05d5a
6 changed files with 109 additions and 18 deletions

View File

@@ -84,6 +84,9 @@ class DataService:
await self.cache.set_json(cache_key, options_chain)
return options_chain
# Limit initial load to the nearest expirations so the page can render quickly.
expirations = expirations[:3]
calls: list[dict[str, Any]] = []
puts: list[dict[str, Any]] = []