[Pkg-javascript-devel] RFH: puppeteer tests

Paolo Greppi paolo.greppi at libpf.com
Fri Jan 14 11:26:08 GMT 2022


On 14/01/22 09:48, Jérémy Lal wrote:
> 
> Le ven. 14 janv. 2022 à 09:41, Yadd <yadd at debian.org 
> <mailto:yadd at debian.org>> a écrit :
> ...
>     Hi,
> 
>     I started to modify your package. The problem for tests is that it
>     launches chromium, then this requires X server.
> 
> 
> Unless the tests run chromium with the --headless flag...
> but i guess some tests don't.
> 
> Jérémy
> 

With puppeteer chrome UI appears if it is started with:

   const browser = await puppeteer.launch({
     headless: false
   })

Paolo



More information about the Pkg-javascript-devel mailing list