browser: Add console log capture tools
This was entirely Sketch-coded.
Co-Authored-By: sketch <hello@sketch.dev>
Change-ID: sc6bbdde6b1a71d8fk
diff --git a/claudetool/browse/browse_test.go b/claudetool/browse/browse_test.go
index 7cffa0e..d417a06 100644
--- a/claudetool/browse/browse_test.go
+++ b/claudetool/browse/browse_test.go
@@ -73,8 +73,8 @@
// Test with screenshot tools included
t.Run("with screenshots", func(t *testing.T) {
toolsWithScreenshots := tools.GetTools(true)
- if len(toolsWithScreenshots) != 10 {
- t.Errorf("expected 9 tools with screenshots, got %d", len(toolsWithScreenshots))
+ if len(toolsWithScreenshots) != 12 {
+ t.Errorf("expected 12 tools with screenshots, got %d", len(toolsWithScreenshots))
}
// Check tool naming convention
@@ -88,8 +88,8 @@
// Test without screenshot tools
t.Run("without screenshots", func(t *testing.T) {
noScreenshotTools := tools.GetTools(false)
- if len(noScreenshotTools) != 8 {
- t.Errorf("expected 7 tools without screenshots, got %d", len(noScreenshotTools))
+ if len(noScreenshotTools) != 10 {
+ t.Errorf("expected 10 tools without screenshots, got %d", len(noScreenshotTools))
}
})
}