fix: make dashboard login responsive
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user