We fully rely on upstream PDF functionality. Our PDF tests are inferior to those upstream and inconvenient to write.
This simplifies waiting for events in tests.
This patch breaks huge `page.spec.js` into a bunch of smaller files.