v0.281.0: 'Done' asks the probe first; sign-up closed after the first admin (decision 47); R-713 code-bound values refused, ${NAME|base64}
gates / gates (push) Successful in 23s
gates / gates (push) Successful in 23s
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
@@ -37,8 +37,9 @@ func TestSetupGatePage_TheCardAndItsButton(t *testing.T) {
|
||||
t.Fatal("closed, no probe: the card or its button is missing")
|
||||
}
|
||||
closedProbe := renderAppInfoWith(t, map[string]interface{}{"SetupGateClosed": true, "SetupGateHasProbe": true})
|
||||
if !strings.Contains(closedProbe, `id="setup-gate-card"`) || strings.Contains(closedProbe, "/apps/gapp/setup-gate/open") || !strings.Contains(closedProbe, "magától észreveszi") {
|
||||
t.Fatal("closed with a probe: want the card and the 'notices it by itself' line, no button")
|
||||
// v0.281.0: a probe app has the press too — the server asks the probe before it opens (TestSetupGateButton_*).
|
||||
if !strings.Contains(closedProbe, `id="setup-gate-card"`) || !strings.Contains(closedProbe, "/apps/gapp/setup-gate/open") || !strings.Contains(closedProbe, "magától észreveszi") {
|
||||
t.Fatal("closed with a probe: want the card, the 'notices it by itself' line and the press")
|
||||
}
|
||||
if open := renderAppInfoWith(t, nil); strings.Contains(open, `id="setup-gate-card"`) {
|
||||
t.Fatal("an app with no closed gate shows the gate card")
|
||||
|
||||
Reference in New Issue
Block a user