File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ python3 -m http.server 8000
2424
2525Then visit [ http://localhost:8000 ] ( http://localhost:8000 )
2626
27- ### Local Testing
27+ ### Local Data
2828
2929To test with local benchmark data, symlink the ` balatrobot/benchmarks ` directory:
3030
@@ -33,3 +33,26 @@ ln -s ../balatrobot/benchmarks benchmarks
3333```
3434
3535Then in ` config.js ` , comment/uncomment to switch environment to ` development ` .
36+
37+ ## Testing
38+
39+ The project includes end-to-end tests using Playwright. Make sure the local server is running before executing tests.
40+
41+ ### Running Tests
42+
43+ ``` bash
44+ # Install dependencies (first time only)
45+ npm install
46+
47+ # Run tests headless (default)
48+ npm test
49+
50+ # Run tests with interactive UI
51+ npx playwright test --ui
52+
53+ # Run tests with browser visible
54+ npm run test:headed
55+
56+ # Run tests in debug mode
57+ npm run test:debug
58+ ```
You can’t perform that action at this time.
0 commit comments