[Pkg-javascript-devel] RFH: puppeteer tests

Jérémy Lal kapouer at melix.org
Fri Jan 14 08:48:31 GMT 2022


Le ven. 14 janv. 2022 à 09:41, Yadd <yadd at debian.org> a écrit :

> On 14/01/2022 08:09, Andrius Merkys wrote:
> > Hello,
> >
> > Martina and I have been working on packaging puppeteer, an API to
> > control Chrome over the DevTools Protocol. Martina got the package
> > building on sbuild, but we are stuck with tests. Most likely the blocker
> > is incorrect combination of extcopies/extlinks, but we are not able to
> > sort it out ourselves. Thus we would be very grateful if someone more
> > experienced could give it a look.
> >
> > Packaging of puppeteer is on salsa [1], be sure to use 'run-tests'
> > branch, as 'master' has tests disabled.
> >
> > puppeteer depends on devtools-protocol (in NEW). It has to be built from
> > salsa [2] too, branch 'package-v0.0.869402', as I uploaded an earlier
> > version to NEW.
> >
> > Bonus issue is de-vendoring of mitt, which is used for puppeteer tests.
> > In turn, mitt depends on esm, and this seems nontrivial to package.
> > However, most likely it has to be done sooner or later, just to be able
> > to run puppeteer tests.
> >
> > [1] https://salsa.debian.org/js-team/node-puppeteer
> > [2] https://salsa.debian.org/js-team/node-devtools-protocol
>
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20220114/c6ec2d77/attachment.htm>


More information about the Pkg-javascript-devel mailing list