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.
6.6 KiB
69x100px
6.6 KiB
69x100px
![](/thunderstrike/puppeteer/raw/commit/e237ba0f2e1f3e2e895e3d8d4060f70b3c2754c1/test/golden-chromium/mock-binary-response.png)