fix: make dashboard login responsive

This commit is contained in:
Курнат Андрей
2026-07-19 22:56:19 +03:00
parent 393454c9e0
commit 3ce92b6428
3 changed files with 50 additions and 24 deletions
+4 -2
View File
@@ -72,8 +72,10 @@ def test_web_ui_assets_are_available() -> None:
assert 'id="usernameInput"' in html
assert 'id="passwordInput"' in html
assert "/web-api/dashboard/snapshot" in script
assert "headers.Authorization = state.authorization" in script
assert "X-TradeBot-Token" not in script
assert 'headers["X-TradeBot-Token"] = state.token' in script
assert 'credentials: "omit"' in script
assert "AbortController" in script
assert 'id="authSubmitButton"' in html
def test_compact_markets_keeps_dashboard_fields_and_limits_candles() -> None: