chore(make): add test-browser target for the Chrome-driven suite

This commit is contained in:
pj committed 2026-06-01 22:01:36 +05:30
1 parent bafedcbb92
commit 87e9719a8a
1 file changed
+6 -1
+6 -1
View File
@@ -22,7 +22,7 @@ DOCS_TEMPLATE := docs/_template/page.html
INSPECT_DIST := internal/inspect/dist INSPECT_DIST := internal/inspect/dist
WEB_DIST := inspect-ui/dist WEB_DIST := inspect-ui/dist
.PHONY: bootstrap proto sidecar sanderling install test test-go test-kotlin test-spec-api web-typecheck web-build web-dev inspect-dev docs clean release-cli release-npm-dry .PHONY: bootstrap proto sidecar sanderling install test test-go test-browser test-kotlin test-spec-api web-typecheck web-build web-dev inspect-dev docs clean release-cli release-npm-dry
bootstrap: bootstrap:
$(GO) mod download $(GO) mod download
@@ -74,6 +74,11 @@ test: test-go test-spec-api web-typecheck
test-go: test-go:
$(GO) test $(GO_PACKAGES) $(GO) test $(GO_PACKAGES)
# Drives small web fixtures through the real pipeline against headless Chrome.
# Kept out of `test` because it needs a Chrome binary on PATH.
test-browser:
$(GO) test -tags browser ./internal/integration/...
test-kotlin: test-kotlin:
ANDROID_HOME=$(ANDROID_HOME) $(GRADLE) :sidecar:test ANDROID_HOME=$(ANDROID_HOME) $(GRADLE) :sidecar:test