fix: simplify dashboard and disable unauthorized actions
hermetic-ci / test (push) Canceled after 0s
hermetic-ci / test (push) Canceled after 0s
This commit is contained in:
@@ -247,19 +247,17 @@ func TestCommandsRunAsRealProcessesInsideIsolatedUserState(t *testing.T) {
|
||||
}
|
||||
defaultView := string(defaultOutput)
|
||||
for _, expected := range []string{
|
||||
"proxyctl Operations Console",
|
||||
"Active Profile: No Active Profile",
|
||||
"Targets: ● Enabled 0 ○ Disabled 1 ◇ External 0 ! Drifted 1",
|
||||
"proxyctl Profile: No Active Profile",
|
||||
"▶ Targets [focused]",
|
||||
"> ○ Disabled Shell",
|
||||
"! Drifted Docker daemon",
|
||||
"Target details",
|
||||
"State: ○ Disabled",
|
||||
"Evidence: no recognized Shell proxy configuration detected",
|
||||
"Tab: focus details",
|
||||
"○ Disabled",
|
||||
"no recognized Shell proxy configuration detected",
|
||||
"Tab: Details",
|
||||
} {
|
||||
if !strings.Contains(defaultView, expected) {
|
||||
t.Errorf("default Operations Console missing %q; output=%q", expected, defaultOutput)
|
||||
t.Errorf("default dashboard missing %q; output=%q", expected, defaultOutput)
|
||||
}
|
||||
}
|
||||
versionOutput, err := invoke("", "version", "--short")
|
||||
|
||||
Reference in New Issue
Block a user