diff --git a/CHANGELOG.md b/CHANGELOG.md index 1908550ff..179639ea8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## v0.129 +### Fixed + +- Settings from the config file were not being pushed to the UI - #6696. + ### Changed - Switched logging from zerolog to slog. Log output format has changed. diff --git a/cmd/karma/views_test.go b/cmd/karma/views_test.go index 45a9d2794..1ac6f1cc1 100644 --- a/cmd/karma/views_test.go +++ b/cmd/karma/views_test.go @@ -3,6 +3,7 @@ package main import ( "bytes" "context" + "encoding/base64" "encoding/json" "fmt" "html/template" @@ -3008,3 +3009,106 @@ func TestLabelSettings(t *testing.T) { }) } } + +func TestIndexUIDefaultsJSON(t *testing.T) { + // Verifies that the index handler embeds a complete, valid JSON object + // in the `) + matches := re.FindStringSubmatch(body) + if len(matches) < 2 { + t.Fatal("Could not find