Make it startable from playwright and also isolate (#5016)
Co-authored-by: Douwe Osinga <douwe@squareup.com>
This commit is contained in:
@@ -143,6 +143,15 @@ run-ui:
|
||||
@echo "Running UI..."
|
||||
cd ui/desktop && npm install && npm run start-gui
|
||||
|
||||
run-ui-playwright:
|
||||
#!/usr/bin/env sh
|
||||
just release-binary
|
||||
echo "Running UI with Playwright debugging..."
|
||||
RUN_DIR="$HOME/goose-runs/$(date +%Y%m%d-%H%M%S)"
|
||||
mkdir -p "$RUN_DIR"
|
||||
echo "Using isolated directory: $RUN_DIR"
|
||||
cd ui/desktop && ENABLE_PLAYWRIGHT=true GOOSE_PATH_ROOT="$RUN_DIR" npm run start-gui
|
||||
|
||||
run-ui-only:
|
||||
@echo "Running UI..."
|
||||
cd ui/desktop && npm install && npm run start-gui
|
||||
@@ -463,4 +472,4 @@ build-test-tools:
|
||||
|
||||
record-mcp-tests: build-test-tools
|
||||
GOOSE_RECORD_MCP=1 cargo test --package goose --test mcp_integration_test
|
||||
git add crates/goose/tests/mcp_replays/
|
||||
git add crates/goose/tests/mcp_replays/
|
||||
|
||||
Reference in New Issue
Block a user