582 B

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

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

Page snapshot

- heading "All Tests Passed 🎉" [level=1] [ref=e3]