This patch aligns Puppeteer testing infrastructure with the approach we use in Puppeteer-Firefox. This patch: - makes all tests accept Puppeteer object as a function argument rather than require it statically. This way we can pass either Puppeteer or Puppeteer-Firefox to drive tests. - renames the `puppeteer.spec.js` into `launcher.spec.js`. The `puppeteer.spec.js` is now the entry point for all cross-browsers tests.
35 KiB
500x500px
35 KiB
500x500px
![](/thunderstrike/puppeteer/raw/commit/8e0ec2a8410849e6f7555c66179c59ac7cede025/test/golden-chromium/screenshot-sanity.png)