Improve installation of puppeteer (objdir, only if needed)
Categories
(Remote Protocol :: Agent, defect, P2)
Tracking
(Not tracked)
People
(Reporter: whimboo, Unassigned)
References
Details
(Whiteboard: [webdriver:backlog])
Currently Puppeteer is getting installed into the srcdir. This is suboptimal given that it requires a couple of entries to .hgignore and .gitignore. To prevent that we should install Puppeteer into the objdir instead. npm install provides a --prefix for that purpose.
When doing that we should also make sure that we call npm install not every time when mach puppeteer-test is run but only if the Puppeteer version in the srcdir doesn't match the one in the objdir. This can be done given that there have been made massive improvements in only compiling the modified Typescript code, eg. after making a change to a test file you basically won't have to wait the up to 40s until the tests start. Instead it happens immediately!
| Reporter | ||
Updated•3 years ago
|
Comment 1•3 years ago
|
||
The severity field is not set for this bug.
:whimboo, could you have a look please?
For more information, please visit auto_nag documentation.
| Reporter | ||
Updated•3 years ago
|
| Reporter | ||
Updated•2 years ago
|
| Reporter | ||
Comment 2•20 days ago
|
||
Ideally we actually don't want to install Puppeteer anymore but have it downloaded as fetch artifact.
Description
•