feat: simplify creator context selection
CI / test (push) Failing after 16s
CI / test (pull_request) Failing after 14s

This commit is contained in:
m
2026-08-21 03:57:53 +03:00
parent 301e5d0b27
commit e55c0ba88e
4 changed files with 116 additions and 6 deletions
+3
View File
@@ -233,6 +233,9 @@ func TestConsoleAndSecurityHeaders(t *testing.T) {
response := httptest.NewRecorder()
handler.ServeHTTP(response, request)
if response.Code != http.StatusOK || !strings.Contains(response.Body.String(), "Домовой") ||
!strings.Contains(response.Body.String(), "context-preset") ||
!strings.Contains(response.Body.String(), "context-state") ||
!strings.Contains(response.Body.String(), "copy-context") ||
!strings.Contains(response.Body.String(), "К содержимому") ||
!strings.Contains(response.Body.String(), "aria-current=\"page\"") ||
!strings.Contains(response.Body.String(), "section-nav-link") ||