Skip to content

Commit e2787a7

Browse files
roberttwangclaude
andcommitted
test(web): allow the page-scoped asset bundle stylesheet after issues-list.css
asset-bundle.css only styles the .asset-bundle-* dialog and builds on the shared --hui-* tokens, like the other assets-page sheets the harness already allows after issues-list.css. Without it core failed in TestIssuesListStylesheetLoadsLast. Co-Authored-By: Claude Code <noreply@anthropic.com>
1 parent 6aed744 commit e2787a7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎web/issues_list_harness_test.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ func TestIssuesListStylesheetLoadsLast(t *testing.T) {
7474
links := regexp.MustCompile(`<link rel="stylesheet" href="([^"?]+)`).FindAllStringSubmatch(string(html), -1)
7575
// Page stylesheets that build on the shared --hui-* tokens, and the
7676
// .topbar-scoped sheet, may follow it.
77-
pageSheets := map[string]bool{"/app/assets-harness.css": true, "/app/sops-harness.css": true, "/app/sop-catalog.css": true, "/app/approvals-harness.css": true, "/app/observability-harness.css": true, "/app/observability-dashboard.css": true, "/app/topbar-harness.css": true, "/app/business-harness.css": true, "/app/requirement-wizard.css": true}
77+
pageSheets := map[string]bool{"/app/assets-harness.css": true, "/app/sops-harness.css": true, "/app/asset-bundle.css": true, "/app/sop-catalog.css": true, "/app/approvals-harness.css": true, "/app/observability-harness.css": true, "/app/observability-dashboard.css": true, "/app/topbar-harness.css": true, "/app/business-harness.css": true, "/app/requirement-wizard.css": true}
7878
for len(links) > 0 && pageSheets[links[len(links)-1][1]] {
7979
links = links[:len(links)-1]
8080
}

0 commit comments

Comments
 (0)