puppeteer/test/assets
Jack Franklin 28797dee41
chore: migrate tests to TypeScript (#6075)
This CL migrates all the tests to TypeScript. The main benefits of this is that we start consuming our TypeScript definitions and therefore find errors in them. The act of migrating found some bugs in our definitions and now we can be sure to avoid them going forwards.

You'll notice the addition of some `TODO`s in the code; I didn't want this CL to get any bigger than it already is but I intend to follow those up once this lands. It's mostly figuring out how to extend the `expect` types with our `toBeGolden` helpers and some other slight confusions with types that the tests exposed.

Co-authored-by: Mathias Bynens <mathias@qiwi.be>
2020-06-23 07:18:46 +02:00
..
cached feat(Response): add Response.fromCache / Response.fromServiceWorker (#1971) 2018-02-05 17:59:07 -05:00
csscoverage test: convert license text file to LF line endings (#4438) 2019-05-21 23:11:25 +03:00
digits Use digit images in test/assets/grid.html 2017-06-16 16:00:36 -07:00
es6 chore: add Prettier (#5825) 2020-05-07 12:54:55 +02:00
frames chore: further unify Puppeteer-Firefox tests with Puppeteer (#3931) 2019-02-06 13:49:14 -08:00
input chore: migrate tests to TypeScript (#6075) 2020-06-23 07:18:46 +02:00
jscoverage feat(coverage): add an option to collect coverage of anonymous scripts (#2796) 2018-07-11 18:38:34 -07:00
popup feat(targets): add target.opener() (#2641) 2018-05-31 17:06:29 -07:00
serviceworkers chore: add Prettier (#5825) 2020-05-07 12:54:55 +02:00
simple-extension chore: add Prettier (#5825) 2020-05-07 12:54:55 +02:00
worker chore: add Prettier (#5825) 2020-05-07 12:54:55 +02:00
beforeunload.html feat(firefox): support running beforeunload hooks when closing (#4003) 2019-02-13 22:16:12 -08:00
chromium-linux.zip feat: Introduce BrowserFetcher class (#1983) 2018-02-07 12:31:53 -05:00
consolelog.html fix(page): consoleMessage.location() should work with workers (#3752) 2019-01-10 18:05:28 -08:00
csp.html test: add test on Page.evaluateOnNewDocument with CSP (#2319) 2018-04-05 23:40:14 -07:00
detect-touch.html refactor: simplify EmulationManager (#2816) 2018-06-28 18:48:44 -07:00
dynamic-oopif.html feat(chromium): roll Chromium to r665405 (#4516) 2019-06-04 11:03:15 -07:00
empty.html Add missing test assets 2017-05-13 11:18:52 -07:00
error.html add forgotten error.html test asset 2017-06-16 11:35:03 -07:00
file-to-upload.txt Implement Page.uploadFile (#61) 2017-07-10 11:21:46 -07:00
firefox-75.0a1.en-US.linux-x86_64.tar.bz2 (feat) Add option to fetch Firefox Nightly (#5467) 2020-03-10 21:59:03 +01:00
global-var.html test(firefox): add puppeteer-firefox unique evaluation tests (#3891) 2019-02-01 18:40:40 -08:00
grid.html fix(tests): normalize scrollbars in headful tests (#2622) 2018-05-29 15:30:08 -07:00
historyapi.html fix(Page): fix page.goto to return Response when page pushes new state (#2468) 2018-04-28 00:15:40 -04:00
injectedfile.js chore: add Prettier (#5825) 2020-05-07 12:54:55 +02:00
injectedstyle.css feat(Frame): Add addStyleTag API to frame - fixes #892 (#947) 2017-10-04 13:42:26 -07:00
mobile.html Add missing test asset 2017-07-20 16:05:17 -07:00
modernizr.js refactor: simplify EmulationManager (#2816) 2018-06-28 18:48:44 -07:00
networkidle.html Add better network idle definition (#38) 2017-06-28 14:39:37 -07:00
offscreenbuttons.html chore: cleanup ElementHandle.isIntersectingViewport (#2874) 2018-07-11 21:04:36 -07:00
one-style.css Add Request.abort() test 2017-06-15 08:26:55 -07:00
one-style.html Add Request.abort() test 2017-06-15 08:26:55 -07:00
playground.html Introduce Page.$ and Page.$$ (#75) 2017-07-17 18:56:56 -07:00
pptr.png feat(interception): Implement request.mockResponse method (#1064) 2017-10-20 16:55:15 -07:00
resetcss.html test(ElementHandle.boxModel): remake test to make it more readable (#2287) 2018-03-29 17:25:52 -07:00
self-request.html fix: page.goto should support pages with self requests (#1391) (#1781) 2018-01-12 00:16:36 -08:00
shadow.html chore: migrate tests to TypeScript (#6075) 2020-06-23 07:18:46 +02:00
simple.json Implement Body interface for both Request and Response 2017-07-06 12:17:01 -07:00
tamperable.html Add tests for all public methods on Page (#62) 2017-07-10 10:09:59 -07:00
title.html chore: further unify Puppeteer-Firefox tests with Puppeteer (#3931) 2019-02-06 13:49:14 -08:00
wrappedlink.html chore: further unify Puppeteer-Firefox tests with Puppeteer (#3931) 2019-02-06 13:49:14 -08:00