Webperf-se / webperf_core

webperf-core is an open-source testing suite tailored to help you improve your digital presence in areas like web performance, security and accessibility to email best practice using many small improvements.
https://webperf.se/articles/webperf-core/
MIT License
19 stars 30 forks source link

Running sitespeed tests locally on macOS fails since the --xvfb arg is always added #559

Closed perlan closed 3 months ago

perlan commented 3 months ago

URL

https://www.kth.se

Webperf_core version

2024.6.5

What environment are you running?

Has anyone else reported it already?

Expected Behavior

All sitespeed tests should work on macOS

Actual Behavior.

All sitespeed fails with a stack trace like [2024-06-27 21:00:56] ERROR: Caught error from Browsertime Error: spawn Xvfb ENOENT at ChildProcess._handle.onexit (node:internal/child_process:286:19) at onErrorNT (node:internal/child_process:484:16) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) Finished: 2024-06-27 21:00:56

How to reproduce

Checkout the main branch on a macOS computer and follow the
https://github.com/Webperf-se/webperf_core/blob/main/docs/getting-started-local.md (Getting Started on Local machine) instructions.

Log output

No response