Max Schmitt
178489d091
fix(test-runner): support passing slowMo option ( #6991 )
...
Fixes #6984
Reverts #6967
2021-06-09 14:02:05 -07:00
Pavel Feldman
021f51cc1f
feat(trace): add a trace option into the test runner ( #6961 )
...
Co-authored-by: Andrey Lushnikov <aslushnikov@gmail.com>
2021-06-08 11:22:07 -07:00
Max Schmitt
42a9e4a0d3
docs(mobile): make experimental Android support more present ( #6932 )
2021-06-07 17:04:18 +02:00
Dmitry Gozman
8c13f679b7
fix(test runner): remove folio/jest namespaces in expect matchers ( #6930 )
2021-06-07 08:02:01 -07:00
Dmitry Gozman
b556ee6f5b
chore: brush up playwright-test types ( #6928 )
2021-06-06 20:18:47 -07:00
Dmitry Gozman
f745bf1fbc
chore: bring in folio source ( #6923 )
...
- Source now lives at `src/test`.
- Former folio tests live at `tests/playwright-test`.
- We use `src/test/internal.ts` that exposes base test without
Playwright fixtures for most tests (to avoid modifications for now).
- Test types live in `types/testFoo.d.ts`.
- Stable test runner is installed to `tests/config/test-runner` during `npm install`.
- All deps including test-only are now listed in `package.json`.
Non-test deps must also be listed in `build_package.js` to get included.
2021-06-06 17:09:53 -07:00
Dmitry Gozman
82041b2f74
test: roll to folio@0.4.0-alpha28 ( #6918 )
2021-06-04 20:54:58 -07:00
Dmitry Gozman
3de3a88930
feat(test): introduce npx playwright test
( #6816 )
2021-06-03 08:07:55 -07:00
Pavel Feldman
b2143a951b
chore: make tracing zero config ( #6859 )
2021-06-02 22:00:34 -07:00
Pavel Feldman
d28f45b6ee
api(tracing): export -> stop({path}) ( #6802 )
2021-06-02 10:04:25 -07:00
Max Schmitt
79b244a2f4
chore: use bash instead of sh in code blocks ( #6847 )
2021-06-02 18:23:06 +02:00
Andrey Lushnikov
3c3a7f9293
feat(chromium): roll Chromium to r888113 ( #6832 )
...
References #6818 , references #6390
2021-06-01 18:06:44 -07:00
Ross Wollman
c8c849e164
docs(page): add TypeScript $eval type-hint notes ( #6693 )
2021-06-01 22:50:31 +02:00
Max Schmitt
c8c77e4df0
docs: use sha256 for exposeFunction everywhere ( #6805 )
2021-05-31 15:47:14 -07:00
Pavel Feldman
9233a61bda
doc: text nit
2021-05-26 16:22:38 -07:00
Pavel Feldman
fb3c6e50d4
api(dotnet): remove whenall ( #6768 )
2021-05-26 15:50:42 -07:00
Pavel Feldman
f7f08c9c02
api(dotnet): normalize enums, remove browser channel enum ( #6738 )
2021-05-25 14:33:27 -07:00
gboer
15bf6a0a1b
docs(class-page.md): Add additional clarification on requestFailed event ( #6724 )
2021-05-25 12:58:48 -07:00
Max Schmitt
ba29e99ace
feat: added reduced motion media query emulation ( #6646 )
2021-05-22 01:56:09 +02:00
Andrey Lushnikov
d1d49b3412
feat(chromium): roll Chromium to r884693 ( #6686 )
2021-05-21 11:05:44 -07:00
Joel Einbinder
447a0c4bb8
feat(types): export ScreenshotOptions ( #6419 )
2021-05-20 09:22:01 -07:00
Max Schmitt
202511d60a
docs: chromiumSandbox is by default false ( #6662 )
2021-05-20 00:16:55 +02:00
Joel Einbinder
754ee13c93
feat(electron): accept BrowserContextOptions in electron.launch ( #6621 )
2021-05-19 06:56:29 -07:00
Pavel Feldman
bc18529191
docs(ff): temporarily remove ff-stable reference ( #6585 )
2021-05-14 12:03:38 -07:00
Sébastien Règne
e87fbfcc1d
feat(download): add Page in Download ( #6501 )
2021-05-13 14:18:21 -07:00
Pavel Feldman
bdb4aefc8f
docs(tracing): remove the relative link
2021-05-13 11:24:53 -07:00
Vignesh Shanmugam
4b3e5e5c17
feat(network): expose network events via browser context ( #6370 )
...
- fix #6340
- Exposes all the network related events (request, response, requestfailed, requestfinished) through the browser context to allow for managing network activity even if the is any navigations through popups or to new tabs which could result in creation of multiple page objects.
2021-05-13 10:29:14 -07:00
Pavel Feldman
1a39843df5
docs: follow up on adding trace dir, unify launch options ( #6545 )
2021-05-12 16:16:36 -07:00
Pavel Feldman
21cb726b7d
chore(tracing): expose tracing api ( #6523 )
2021-05-12 12:21:54 -07:00
Max Schmitt
8af8b6340d
docs: add ref to waitForSelector from querySelector ( #6514 )
2021-05-12 08:07:49 +02:00
Sébastien Règne
33823a9143
docs(download): improve documentation ( #6486 )
2021-05-11 13:27:50 -07:00
Max Schmitt
e0aaef5eab
docs: get rid of dollar sign prefix in code snippets ( #6494 )
2021-05-11 20:47:48 +02:00
Fili
f1a888de02
feat: support Moto G4 device in emulated devices for performance testing ( #5946 )
...
Adding Moto G4 to deviceDescriptors.
2021-05-10 09:33:11 -07:00
Max Schmitt
5f7739962c
chore: get rid of trailing spaces in types.d.ts ( #6481 )
2021-05-10 16:26:11 +02:00
Michael Rienstra
8737207d5a
feat(devices): add more Android device descriptions ( #6413 )
...
Adds device descriptions for:
- Galaxy S8
- Galaxy S9+
- Galaxy Tab S4
- Pixel 3
- Pixel 4
These devices are regarded as worthy of targeting by BrowserStack.
Sources (both have identical data for these 5 devices):
1. https://github.com/aerokube/moon-deploy/blob/master/moon-local.yaml#L199
2. https://www.danhendricks.com/2018/04/adding-iphone-galaxy-chrome-mobile-emulated-devices/#heading_device_data
2021-05-05 14:02:28 -07:00
Darío Kondratiuk
9e36f5cc26
docs(consoleMessage): add missing console message comments ( #6320 )
...
Co-authored-by: Max Schmitt <max@schmitt.mx>
2021-05-05 13:18:07 -07:00
Jason Harwig
42a5566653
fix(types): fix waitForSelector typing to not union null when appropriate ( #6344 )
...
Previously when options were defined, but no `state` key was provided,
the types would return null as an option. Even though the default state
is `visible` and shouldn't allow `null`.
Tests updated to fail appropriately and new tests added for this case.
2021-05-05 13:03:27 -07:00
Yury Semikhatsky
47cf9c3e8f
feat(chromium): bump to r878941 ( #6216 )
...
This roll was blocked by a few upstream bugs that were crashing Chromium on Windows.
- https://bugs.chromium.org/p/chromium/issues/detail?id=1198567#c33
- https://bugs.chromium.org/p/chromium/issues/detail?id=1200964
2021-05-05 09:47:34 -07:00
Dmitry Gozman
14ebcfdf0b
docs: update fill/selectOption docs to mention label retargeting ( #6406 )
2021-05-04 13:08:38 -07:00
Andrey Lushnikov
653d483ba8
docs: add firefox-stable channel documentation ( #6328 )
...
Fixes #5993
2021-05-03 16:52:33 -07:00
Pavel Feldman
1a859ebe68
chore(electron): fix node/browser race conditions, expose browser window asynchronously ( #6381 )
2021-05-02 22:45:06 -07:00
Max Schmitt
6da7e70232
chore: regenerate types after non-clean merge
...
Follow-up to #6379
2021-05-01 10:58:23 +02:00
Darío Kondratiuk
dec973611c
docs(page): add missing docs on emulateMedia ( #6322 )
2021-04-29 21:08:30 -07:00
Max Schmitt
1c40c94ed7
chore: only throw the proxy on launch required on win/CR ( #6350 )
2021-04-30 00:02:48 +02:00
Joel Einbinder
abb61456d1
docs(keyboard): clarify how page.type works for non-US characters ( #6273 )
2021-04-26 20:54:40 -07:00
Dmitry Gozman
ce0331038b
docs: add route example with some logic ( #6324 )
2021-04-26 08:46:17 -07:00
Yury Semikhatsky
fd31ea8b0d
feat: support extra http headers in browserType.connect() ( #6301 )
2021-04-23 14:52:27 -07:00
Dmitry Gozman
ff147b0007
docs: update waitForRequest/Response snippets ( #6294 )
2021-04-23 08:53:25 -07:00
Max Schmitt
7053ac9097
chore(types): add channel to launchServer ( #6256 )
2021-04-21 21:23:08 +02:00
Dmitry Gozman
6bdc67ac6a
feat(actions): trial
option that only performs the checks ( #6246 )
...
Available for check, click, dblclick, hover, tap, uncheck.
2021-04-21 12:22:19 -07:00