carlos / platform Public

console: settings section test reads the new Environments markup

Environments now render as <h3 class="envhead"> and variables as
<code class="envvar-name">; the test still proves the section shows its
own data and reads only its own groups.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 6b53c2a07f966e774be10217e03f4e6ce11a0446 parent 441cc05
1 file changed, +1 −1
  • internal/console/perfquickwins_test.go +1 −1
diff --git a/internal/console/perfquickwins_test.go b/internal/console/perfquickwins_test.go
index 4028c3bb1..905658b33 100644
--- a/internal/console/perfquickwins_test.go
+++ b/internal/console/perfquickwins_test.go
@@ -423,7 +423,7 @@ func TestSettingsSectionReadsOnlyItsOwn(t *testing.T) {
{"general", "/apps/kass/settings", nil,
[]string{"<h2>Identity</h2>", "Renaming: ", "Deploys"}},
{"environments", "/apps/kass/settings/environments", []string{"environments", "stores"},
- []string{"<code>staging</code>", "<code>production</code>", "<code>APP_ORIGIN</code>", "<code>API_KEY</code>", "carlos-"}},
+ []string{`<h3 class="envhead">staging</h3>`, `<h3 class="envhead">production</h3>`, `<code class="envvar-name">APP_ORIGIN</code>`, `<code class="envvar-name">API_KEY</code>`, "carlos-"}},
{"storage", "/apps/kass/settings/storage", []string{"stores"},
[]string{"Object storage &mdash; staging environment", "Object storage &mdash; production environment", "<code>CARLOS_STORE_*</code>"}},
{"email", "/apps/kass/settings/email", []string{"mail"},