Skip to content

Commit 969a308

Browse files
committed
chore: update readme.md
1 parent d06f815 commit 969a308

File tree

1 file changed

+4
-26
lines changed

1 file changed

+4
-26
lines changed

playwright/README.md

Lines changed: 4 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -30,32 +30,6 @@ REFACT_API_KEY=your_api_key_here
3030

3131
To run tests with the Playwright UI, which provides a visual interface for debugging tests:
3232

33-
Start the lsp
34-
35-
```bash
36-
cd ../refact-agent/engine \
37-
&& cargo build \
38-
&& target/debug/refact-lsp \
39-
--address-url Refact \
40-
--http-port 8001 \
41-
--logs-stderr \
42-
--ast \
43-
--vecdb \
44-
-k your-api-key \
45-
--experimental \
46-
-w ../../
47-
```
48-
49-
Start the webserver
50-
51-
```bash
52-
cd ../refact-agent/engine/gui \
53-
npm ci \
54-
npm run dev
55-
```
56-
57-
Then in this directory.
58-
5933
```bash
6034
npm start
6135
```
@@ -68,6 +42,10 @@ This launches the Playwright UI, allowing you to:
6842
- View test traces
6943
- Re-run specific tests
7044

45+
#### Tip
46+
47+
Press the `toogle output` button or press `` ^` `` to see the out put from the lsp web servers stdout and stderr.
48+
7149
### Headless Mode
7250

7351
To run tests in headless mode (without browser UI), which is faster and suitable for CI/CD:

0 commit comments

Comments
 (0)