playwright/test
Joel Einbinder 8611ee8df7
chore(testrunner): typescript test files (#2751)
This lets our spec files be .ts instead of just .js. The typescript files will be checked against the public types. Tests are compiled with babel just in time before running them, emulating the jest experience. TypeScript tests are also linted with eslint.

I converted keyboard.spec.js as the first demo. I'll follow up converting some more more tests.
2020-07-08 00:20:36 -07:00
..
assets test: add more failing tests with react recycle (#2731) 2020-06-26 16:31:51 -07:00
chromium feat(rpc): plumb CDPSession (#2862) 2020-07-07 18:47:00 -07:00
electron feat(electron): add a test for clipboard access (#2606) 2020-06-17 14:16:17 -07:00
firefox feat(firefox): allow passing user prefs at launch time (#2417) 2020-05-31 09:28:57 -07:00
fixtures chore: add stack trace utilities and tests (#2371) 2020-05-27 14:26:44 -07:00
golden-chromium test: add iframe screenshot tests (#2495) 2020-06-09 12:59:49 -07:00
golden-firefox test: add iframe screenshot tests (#2495) 2020-06-09 12:59:49 -07:00
golden-webkit test: add iframe screenshot tests (#2495) 2020-06-09 12:59:49 -07:00
accessibility.spec.js test: remove module.export.describe wrapper (#1716) 2020-04-08 15:19:09 -07:00
apicoverage.spec.js test: update http credentials tests (#2806) 2020-07-06 11:28:07 -07:00
autowaiting.spec.js chore(rpc): attribute calles to page, ignore USES_HOOKS (#2764) 2020-06-29 18:58:09 -07:00
browser.spec.js test: remove module.export.describe wrapper (#1716) 2020-04-08 15:19:09 -07:00
browsercontext.spec.js test: update http credentials tests (#2806) 2020-07-06 11:28:07 -07:00
capabilities.spec.js feat(webkit): bump to 1290 (#2652) 2020-06-19 16:35:14 -07:00
channels.spec.js feat(rpc): plumb CDPSession (#2862) 2020-07-07 18:47:00 -07:00
click.spec.js fix(dialogs): let click timeout, log information about dialogs (#2781) 2020-07-01 22:10:37 -07:00
cookies.spec.js test: unflake more cookies tests (#2333) 2020-05-21 15:37:52 -07:00
defaultbrowsercontext.spec.js test: disable flaky test on chromium mac (#2807) 2020-07-01 22:01:44 -07:00
dialog.spec.js fix(dialogs): let click timeout, log information about dialogs (#2781) 2020-07-01 22:10:37 -07:00
dispatchevent.spec.js fix(textContent): make page.textContent(selector) atomic (#2717) 2020-06-26 16:32:42 -07:00
download.spec.js feat(webkit): roll to r1228 (#2232) 2020-05-14 07:57:29 -07:00
downloadsPath.spec.js feat(downloads): accept downloads in persistent, allow specifying the downloadsPath (#2503) 2020-06-08 21:45:35 -07:00
elementhandle.spec.js feat(dom): migrate innerText, innerHTML and getAttribute to tasks (#2782) 2020-07-01 16:10:53 -07:00
emulation.spec.js feat(chromium): roll to r782078 (#2714) 2020-07-01 07:26:08 -07:00
environments.js reland: testrunner: make environment a simple class (#2812) 2020-07-02 11:05:38 -07:00
evaluation.spec.js chore(rpc): attribute calles to page, ignore USES_HOOKS (#2764) 2020-06-29 18:58:09 -07:00
fixtures.spec.js chore(logs): rework logs for simplicity (#2592) 2020-06-16 17:11:19 -07:00
focus.spec.js test: add focus traversal test (#2141) 2020-05-07 16:10:29 -07:00
frame.spec.js fix(evaluate): awaitPromise when Promise is overwritten (#2759) 2020-06-29 16:25:52 -07:00
geolocation.spec.js test(geolocation): test context isolation (#1770) 2020-04-13 21:43:06 -07:00
headful.spec.js feat(webkit): roll webkit to r1301 (#2827) 2020-07-02 18:51:03 -07:00
ignorehttpserrors.spec.js fix(webkit): ignore WebSocket certificate errors on Mac (#1900) 2020-04-22 12:41:39 -07:00
input.spec.js test: await all promises in upload test (#2557) 2020-06-12 10:39:33 -07:00
interception.spec.js fix(cors): allow intercepting cors requests on chromium (#2643) 2020-06-19 17:14:32 -07:00
jshandle.spec.js feat(debug): generate preview for ElementHandle (#2549) 2020-06-12 11:10:18 -07:00
keyboard.spec.ts chore(testrunner): typescript test files (#2751) 2020-07-08 00:20:36 -07:00
launcher.spec.js chore(rpc): attribute calles to page, ignore USES_HOOKS (#2764) 2020-06-29 18:58:09 -07:00
logger.spec.js chore(rpc): support workers, file chooser, browser server (#2766) 2020-06-30 10:55:11 -07:00
mouse.spec.js test: disable flaky firefox tests (#1912) 2020-04-22 00:07:02 -07:00
multiclient.spec.js chore(test): move more test options to state (#1761) 2020-04-12 22:19:26 -07:00
navigation.spec.js chore(testrunner): typescript test files (#2751) 2020-07-08 00:20:36 -07:00
network.spec.js test: add redirect+extraHTTPHeaders test (#2637) 2020-06-18 18:06:10 -07:00
page.spec.js reland: testrunner: make environment a simple class (#2812) 2020-07-02 11:05:38 -07:00
permissions.spec.js test: mark failing headful tests as such (#2226) 2020-05-13 18:33:07 -07:00
popup.spec.js test: add another test for browserContext.addInitScript (#2285) 2020-06-18 12:27:48 -07:00
proxy.spec.js feat(proxy): allow specifying proxy (#2485) 2020-06-05 13:50:15 -07:00
queryselector.spec.js chore(rpc): attribute calles to page, ignore USES_HOOKS (#2764) 2020-06-29 18:58:09 -07:00
recorder.spec.js test: unflake recorder tests (#2808) 2020-07-07 14:11:59 -07:00
run_static_server.js Initial commit 2019-11-19 10:58:15 -08:00
screenshot.spec.js chore(rpc): attribute calles to page, ignore USES_HOOKS (#2764) 2020-06-29 18:58:09 -07:00
test.config.js chore(testrunner): typescript test files (#2751) 2020-07-08 00:20:36 -07:00
test.js chore(testrunner): typescript test files (#2751) 2020-07-08 00:20:36 -07:00
tsconfig.json chore(testrunner): typescript test files (#2751) 2020-07-08 00:20:36 -07:00
types.d.ts chore(testrunner): typescript test files (#2751) 2020-07-08 00:20:36 -07:00
utils.js fix(navigation): ensure that goBack/goForward work with file urls (#2792) 2020-07-01 19:17:27 -07:00
waittask.spec.js chore: run most actions through page._runAbortableTask (#2721) 2020-06-25 16:57:21 -07:00
workers.spec.js fix(firefox): unskip worker error test (#2805) 2020-07-01 22:07:53 -07:00