2026-05-27 23:02:25 +08:00
|
|
|
# Instructions
|
|
|
|
|
|
|
|
|
|
- Following Playwright test failed.
|
|
|
|
|
- Explain why, be concise, respect Playwright best practices.
|
|
|
|
|
- Provide a snippet of code with the fix, if possible.
|
|
|
|
|
|
|
|
|
|
# Test info
|
|
|
|
|
|
|
|
|
|
- Name: all.spec.js >> base project comprehensive tests and scrolling benchmarks
|
|
|
|
|
- Location: test/all.spec.js:3:1
|
|
|
|
|
|
|
|
|
|
# Error details
|
|
|
|
|
|
|
|
|
|
```
|
2026-05-29 22:45:56 +08:00
|
|
|
Error: page.evaluate: TypeError: Cannot read properties of null (reading 'scrollTop')
|
|
|
|
|
at eval (eval at evaluate (:302:30), <anonymous>:9:21)
|
|
|
|
|
at async <anonymous>:328:30
|
2026-05-27 23:02:25 +08:00
|
|
|
```
|
|
|
|
|
|
2026-05-29 22:45:56 +08:00
|
|
|
# Page snapshot
|
2026-05-27 23:02:25 +08:00
|
|
|
|
2026-05-29 22:45:56 +08:00
|
|
|
```yaml
|
|
|
|
|
- heading "All Tests Passed 🎉" [level=1] [ref=e3]
|
2026-05-27 23:02:25 +08:00
|
|
|
```
|