About Puppeteer end to end testing.
This didn't work for me but you can try:
Set the following environment variable in ~/.bashrc:
Be sure to run source ~/.bashrc after updating .bashrc.
Check to make sure your work succeeded:
$ echo $PUPPETEER_SKIP_CHROMIUM_DOWNLOAD
If you don't see this when you echo the new environment variable then keep working until you do. Otherwise you will download Chromium which should already be installed on your system.
If this causes errors when you install and try to run puppeteer, then unset the environment variable: