Max Schmitt
94d1fcf835
chore: move create-playwright build to build.js infra ( #9687 )
...
Co-authored-by: Joel Einbinder <joel.einbinder@gmail.com>
2021-10-22 10:13:05 +02:00
Andrey Lushnikov
6b1767efbb
chore: cut v1.16.0 branch ( #9656 )
2021-10-20 12:44:32 -07:00
Max Schmitt
5426e24248
chore: roll stable-test-runner to ToT ( #9655 )
2021-10-20 10:35:37 -07:00
Max Schmitt
d851f4d58b
Reland chore: update to webpack v5.58.2 ( #9498 )
...
* Revert "Revert "chore: update to webpack v5.58.2 (#9479 )" (#9489 )"
This reverts commit e5a3c9b907
.
* Fix icons
2021-10-14 17:36:59 +02:00
Pavel Feldman
e5a3c9b907
Revert "chore: update to webpack v5.58.2 ( #9479 )" ( #9489 )
...
This reverts commit e4056d3c83
.
2021-10-13 17:13:43 -07:00
Joel Einbinder
e4056d3c83
chore: update to webpack v5.58.2 ( #9479 )
2021-10-13 13:42:29 -07:00
Pavel Feldman
c0945d9d00
chore(trace): make trace viewer a pwa ( #9438 )
2021-10-12 14:42:50 -07:00
Joel Einbinder
c89d5a50dd
chore: migrate to monorepo ( #9421 )
2021-10-11 16:52:17 +02:00
Michael Rienstra
09250fd265
chore: bump 'expect' dev dep from v26 to v27 ( #8718 )
...
Co-authored-by: Max Schmitt <max@schmitt.mx>
2021-10-08 17:01:31 +02:00
Pavel Feldman
2a628d0e0e
chore: read trace off zip file ( #9377 )
2021-10-07 15:49:30 -07:00
Sidharth Vinod
be30f9f1c4
feat(test-runner): Add GitHub Actions reporter ( #9191 )
2021-10-04 10:32:56 +02:00
Pavel Feldman
913821f675
chore: roll Electron to 12.2.1 ( #9271 )
2021-10-01 19:40:47 -07:00
github-actions[bot]
131e26c65e
feat(chromium): roll to r926934 ( #9259 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-10-01 15:57:19 +02:00
Max Schmitt
cf12a1a97e
chore: upgrade commander.js to version 8 ( #9230 )
2021-09-30 12:24:24 +02:00
Joel Einbinder
219d00d17b
chore(typescript): bump typescript to v4.4.3 ( #9087 )
2021-09-23 11:55:44 -04:00
Dmitry Gozman
2afe76d86d
feat(launch): connect to process.env.SELENIUM_REMOTE_URL instead of local launch ( #9056 )
2021-09-22 21:13:32 -07:00
Pavel Feldman
d1a2803a57
docs: improve the auth state docs ( #9052 )
2021-09-21 13:20:50 -07:00
Max Schmitt
5689d9bc24
chore: cut v1.15.0 release ( #8964 )
2021-09-16 14:59:55 +02:00
Joel Einbinder
351c20be48
chore(expect): remove some dependencies on jest internals ( #8782 )
2021-09-14 11:47:06 -04:00
Pavel Feldman
bb33b8923e
feat(report): add show-report option ( #8895 )
2021-09-13 15:19:40 -07:00
Pavel Feldman
199a08abf4
chore: run lint in parallel ( #8660 )
2021-09-03 11:30:34 -07:00
Dmitry Gozman
2b4a93972d
test: use ToT test runner for non-test-runner tests ( #8671 )
2021-09-03 11:22:25 -07:00
Max Schmitt
5f6ec04cfe
fix(test-runner): add jest-matcher-utils to dependencies ( #8501 )
2021-09-02 19:56:30 +02:00
Yury Semikhatsky
210ad72228
fix: remove node-fetch dependency, use custom fetch implementation ( #8486 )
2021-08-26 16:18:54 -07:00
Yury Semikhatsky
c0010d16c6
feat: introduce BrowserContext._fetch ( #8349 )
2021-08-24 14:29:04 -07:00
Yury Semikhatsky
d42169aba1
test: proxy server fixture, new test for https via http proxy ( #8299 )
2021-08-19 07:36:03 -07:00
Andrey Lushnikov
86b08c92bc
chore: cut v1.14.0 release ( #8147 )
2021-08-11 11:21:38 -07:00
Pavel Feldman
a8d404cd29
feat(test-runner): basic html reporter ( #7994 )
2021-08-05 13:36:47 -07:00
Joel Einbinder
a2cbba9c1c
chore(typescript): update to 4.3 ( #7809 )
2021-08-03 12:21:07 -04:00
Max Schmitt
74cd7584ac
chore: enable linting with ESLint for TSX files ( #7885 )
2021-07-28 18:21:55 +02:00
Andrey Lushnikov
8eab2d0e5b
chore: cut v1.13.0 release ( #7728 )
2021-07-19 14:57:11 -07:00
Dmitry Gozman
47885db116
chore: move install to Registry ( #7433 )
...
This is an effort to consolidate all handling of browser binaries in a single place.
2021-07-06 20:59:16 -07:00
Max Schmitt
aabd1b2f7f
chore: move unnecessary deps to devDependencies ( #7327 )
2021-06-25 22:27:19 +02:00
Joel Einbinder
1a6d46d844
chore(typescript): compile with babel, lint everything with tsc ( #6872 )
2021-06-23 18:01:48 -07:00
Joel Einbinder
9e95e86082
fix(deps): remove extra colors dev dependency ( #7195 )
2021-06-17 13:41:59 -07:00
Andrey Lushnikov
50027fa649
chore: cut v1.12.0 release ( #6960 )
2021-06-08 11:22:56 -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
21b00d0bcc
test: roll to folio@0.4.0-alpha27 ( #6897 )
2021-06-03 22:06:59 -07:00
Andrey Lushnikov
f264e85a6c
chore: bump dependency to fix vulnerability ( #6882 )
2021-06-03 15:11:15 -07:00
Dmitry Gozman
0830c85dc6
test: roll to folio@0.4.0-alpha26 ( #6877 )
2021-06-03 13:40:00 -07:00
Dmitry Gozman
cc2c6917cf
test: roll to folio@0.4.0-alpha25 ( #6863 )
2021-06-02 22:35:18 -07:00
Dmitry Gozman
ec7d37d92f
chore: update eslint config ( #6840 )
2021-06-02 08:41:48 -07:00
dependabot[bot]
329fdb18ff
chore(deps): bump ws from 7.4.5 to 7.4.6 ( #6792 )
2021-05-31 15:38:48 -07:00
Dmitry Gozman
8fefac9b8c
test: roll to folio@0.4.0-alpha21 ( #6789 )
2021-05-28 17:03:18 -07:00
Dmitry Gozman
ee7e38c60d
test: roll to folio@0.4.0-alpha19 ( #6774 )
2021-05-27 11:13:51 -07:00
Joel Einbinder
ddce546ed2
chore(lint): upgrade @typescript-eslint/eslint-plugin to 4.25.0 ( #6770 )
2021-05-26 23:17:56 -07:00
Dmitry Gozman
48b48828cc
test: roll to folio@0.4.0-alpha17 ( #6712 )
2021-05-23 16:21:18 -07:00
Dmitry Gozman
57f3a53a7e
test: roll to folio@0.4.0-alpha16 ( #6656 )
2021-05-20 09:51:09 -07:00
Dmitry Gozman
4c3bd11820
test: roll to folio@0.4.0-alpha14 ( #6602 )
2021-05-16 19:58:26 -07:00
Dmitry Gozman
5e84eade85
test: roll to folio@0.4.0-alpha13 ( #6570 )
2021-05-15 07:42:35 -07:00
Pavel Feldman
cc43b0d23f
chore: remove storybook ( #6549 )
2021-05-12 19:55:49 -07:00
Dmitry Gozman
b01ccc282f
test: roll to folio@0.4.0-alpha11 ( #6496 )
2021-05-11 06:40:06 -07:00
Dmitry Gozman
573327b7b5
test: roll to folio@0.4.0-alpha8 ( #6451 )
2021-05-07 15:25:55 -07:00
Andrey Lushnikov
c44f2dc12a
chore: cut v1.11 release ( #6426 )
2021-05-05 16:58:40 -07:00
Dmitry Gozman
de21a94b75
test: roll to folio@0.4.0-alpha6 ( #6366 )
2021-04-30 13:26:13 -07:00
Max Schmitt
a59a494e64
chore: drop support for Node.js 10 ( #6371 )
2021-04-30 07:49:10 -07:00
Dmitry Gozman
11882cdda7
test: roll to folio@0.4.0-alpha3 ( #6262 )
2021-04-29 11:11:32 -07:00
Pavel Feldman
be27f47309
feat(tracing): introduce context.tracing, allow exporting trace ( #6313 )
2021-04-24 20:39:48 -07:00
Yury Semikhatsky
6d38b10603
chore: abbreviate roll-browser to roll ( #6296 )
2021-04-23 09:23:01 -07:00
Dmitry Gozman
bd8433ba49
test: cleanup various testing env variables ( #6155 )
2021-04-09 07:59:09 -07:00
Dmitry Gozman
310692b101
test: run page tests on electron bot ( #6122 )
2021-04-08 10:26:26 -07:00
Dmitry Gozman
36a546999e
test: roll to folio 0.3.21-alpha ( #6108 )
2021-04-06 16:09:54 -07:00
Dmitry Gozman
e3cf675624
test: remove a copy of folio, use upstream ( #6080 )
2021-04-05 13:23:49 -07:00
Dmitry Gozman
4f7e7450e2
test: migrate last tests to new folio ( #6071 )
2021-04-05 09:18:56 -07:00
Dmitry Gozman
be79b3883b
test: bring new folio and migrate small amount of tests to it ( #5994 )
2021-04-01 16:35:26 -07:00
Andrey Lushnikov
2016fdbc52
chore: cut v1.10.0 ( #5925 )
2021-03-23 13:35:03 -07:00
Andrey Lushnikov
1cd398e700
chore: bump storybook dependency ( #5619 )
2021-02-25 08:11:02 -08:00
Andrey Lushnikov
0eb96d77f9
chore: cut v1.9.0 ( #5551 )
2021-02-22 15:39:05 -08:00
Pavel Feldman
a06cf70d28
chore: pass parsed stack in metainfo ( #5407 )
2021-02-10 18:52:28 -08:00
Andrey Lushnikov
8e7fc06839
chore: migrate to Folio 0.3.17 ( #5115 )
...
Folio 0.3.17 doesn't differentiate between expected and unexpected
flakiness, thus no longer supporting the "flaky" annotation.
Flaky specs are reported after run, but flaky specs do not render
test run as failed. We'll track flakiness separately via a dashboard.
2021-01-23 02:22:40 +03:00
Pavel Feldman
c757ba72a9
chore: add storybook dep ( #5082 )
2021-01-21 08:29:01 -08:00
Dmitry Gozman
c567f94885
chore: mark tot as 1.9.0-next ( #5059 )
2021-01-19 14:29:56 -08:00
Andrey Lushnikov
38dac2f35a
chore: bump electron version to 11 ( #4968 )
...
Electron 11+ supports apple silicon.
2021-01-14 21:43:05 +03:00
Joel Einbinder
31d980fc92
chore(webpack): minify injected sources ( #4946 )
2021-01-08 16:15:05 -08:00
Dmitry Gozman
2e05feac25
feat(cli): bring in trace viewer ( #4920 )
2021-01-07 16:15:34 -08:00
Dmitry Gozman
ffa169ba92
chore: use chokidar for build ( #4932 )
2021-01-07 13:26:34 -08:00
Dmitry Gozman
4ff7e1a419
chore: cleanup our build system ( #4903 )
...
- Consolidate our build and watch to a single build.js file.
- Update contributing docs.
- Remove unused scripts and package.json script entries.
2021-01-06 12:41:17 -08:00
Dmitry Gozman
f672033e11
chore: bundle small build of highlight.js ( #4907 )
...
This follows the "build from source" configuration (https://highlightjs.org/usage/#source )
and reduces the footprint from 2mb to 100kb.
2021-01-06 09:31:42 -08:00
Dmitry Gozman
a9c776f56e
chore: watch to regenerate api.json ( #4901 )
2021-01-05 15:25:25 -08:00
Pavel Feldman
31ffeb32e3
doc: further align docs w/ playwright.dev (2) ( #4871 )
2021-01-04 13:50:29 -08:00
Dmitry Gozman
a1232b6980
chore: simplify and remove some scripts ( #4838 )
2020-12-28 16:19:28 -08:00
Dmitry Gozman
293a7bdd4c
feat(cli): bring in codegen and tests ( #4815 )
2020-12-28 14:50:12 -08:00
Dmitry Gozman
94077e0e74
chore: remove JS types checker, rely on typescript ( #4831 )
...
chore: remove JS types checker, rely on typescript
We keep checking that all methods are documented, and no extra methods
are documented, but rely on typescript for everything else.
2020-12-28 10:54:47 -08:00
Dmitry Gozman
9dd982c508
chore: commit generated types to the repository ( #4826 )
...
Also check them during `npm run lint` and regenerate during `npm run watch`.
2020-12-26 13:52:05 -08:00
Dmitry Gozman
d40afa2fbf
feat(cli): first few cli commands ( #4773 )
...
This sets up cli capabilities and brings in a few commands from playwright-cli.
2020-12-22 14:54:13 -08:00
Andrey Lushnikov
e91eee84d8
chore: cut v1.7.0 ( #4705 )
2020-12-14 10:28:50 -08:00
Pavel Feldman
4799e8f20b
feat(adb): add screenshot ( #4701 )
2020-12-13 23:20:13 -08:00
Pavel Feldman
6cc695d92a
test(adb): fix the adb tests ( #4691 )
2020-12-12 01:18:32 -08:00
Pavel Feldman
aa1b546bd0
chore(android): respect timeout, add build script ( #4690 )
2020-12-11 23:35:25 -08:00
Andrey Lushnikov
cb4fef1497
chore: cut v1.6.0 ( #4408 )
2020-11-11 14:37:52 -08:00
Pavel Feldman
333916a83d
infra: bump to next version on trunk at a branch point ( #4288 )
2020-10-29 17:46:07 -07:00
Pavel Feldman
efdb15470c
test: roll folio to 0.3.16 ( #4275 )
2020-10-28 15:53:17 -07:00
Andrey Lushnikov
aa219c65b6
chore: roll folio to v0.3.15 ( #4252 )
2020-10-26 23:07:58 -07:00
Andrey Lushnikov
ccf68ec298
chore: roll folio to 0.3.14 ( #4240 )
2020-10-26 11:37:58 -07:00
Pavel Feldman
ba7949359f
chore: roll folio to 0.3.13 ( #4215 )
2020-10-23 12:39:46 -07:00
Pavel Feldman
381f49a0b8
chore: roll folio to 0.3.11 ( #4130 )
2020-10-13 22:40:25 -07:00
Pavel Feldman
5804131c99
chore: bump folio to 0.3.9, use fixture timeout ( #4118 )
2020-10-13 12:17:23 -07:00
Andrey Lushnikov
58c53c1039
chore: cut v1.5.0-post version ( #4115 )
2020-10-12 18:20:54 -07:00
Pavel Feldman
c2adc98cb0
chore: roll folio to 0.3.8 ( #4113 )
2020-10-12 13:48:56 -07:00
Dmitry Gozman
46b14bc740
chore: roll folio to 0.3.6 ( #4110 )
2020-10-12 09:16:02 -07:00
Max Schmitt
fd769ec911
chore: remove test dependency on pw itself ( #4078 )
2020-10-07 11:08:30 -07:00
Pavel Feldman
1fe3c783b4
test: roll test runner 0.9.22 ( #4072 )
2020-10-06 15:51:18 -07:00
Pavel Feldman
0db09f8ed4
test: roll test runner to 0.9.20 ( #4062 )
2020-10-05 17:03:24 -07:00
Pavel Feldman
81c1daed73
test: roll test runner 0.9.17 ( #4035 )
2020-10-01 13:32:52 -07:00
Pavel Feldman
7ccdc5176d
chore: include api.json into the Playwright package ( #4003 )
2020-09-29 13:48:24 -07:00
Pavel Feldman
de1e63dff1
test: roll test runner 0.9.16 ( #3998 )
2020-09-29 11:51:00 -07:00
Pavel Feldman
cef27d620b
chore: split playwright.fixtures into files (3) ( #3984 )
2020-09-25 23:30:46 -07:00
Pavel Feldman
59daaab1c6
chore: roll @playwright/test-runner to 0.9.14 ( #3981 )
2020-09-25 17:54:50 -07:00
Pavel Feldman
970b011cba
chore: roll @playwright/test to 0.9.6 ( #3977 )
2020-09-25 12:52:06 -07:00
Pavel Feldman
49bcf6efce
chore: roll test runner to 0.9.1 ( #3972 )
2020-09-24 13:04:09 -07:00
Pavel Feldman
1bb44e4cf2
test: roll test runner to 0.3.29 ( #3966 )
2020-09-24 08:45:41 -07:00
Pavel Feldman
e15ac44ead
test: roll test runner to 0.3.25 ( #3965 )
2020-09-23 23:30:05 -07:00
Pavel Feldman
4aaf3b7596
test: roll test runner to 0.3.20 ( #3963 )
2020-09-23 14:52:06 -07:00
Pavel Feldman
2d1cabdd3f
test: roll test runner to 0.3.18 ( #3949 )
2020-09-22 12:52:39 -07:00
Andrey Lushnikov
7925a51149
feat: support concurrent installation of browsers ( #3929 )
...
A few details on locking registry to prohibit concurrent access:
- locking is done by creating a `__dirlock` directory in the top-level
of our registry.
- since `__dirlock` directory does not match any of browser
directories, old versions of the installer will ignore it
- in case of concurrent access, installation will wait for a lock to be
released for 10 minutes, periodically trying to grab the lock. If it
fails to do so in 10 minutes, the installation will fail.
Fixes #3912
2020-09-21 16:09:11 -07:00
Pavel Feldman
c2d9af8618
test: roll test runner to 0.3.17 ( #3927 )
2020-09-20 17:43:17 -07:00
Pavel Feldman
d4d0239a86
test: roll test runner to 0.3.14 ( #3913 )
2020-09-17 00:07:35 -07:00
Pavel Feldman
10e725b1af
test: roll test runner to 0.3.13 ( #3911 )
2020-09-16 22:27:48 -07:00
Pavel Feldman
823a7a517e
test: roll test runner to 0.3.12 ( #3895 )
2020-09-16 10:04:39 -07:00
Pavel Feldman
f758a09d8e
test: roll test runner to 0.3.11 ( #3885 )
2020-09-14 21:21:40 -07:00
Pavel Feldman
c20cbae529
chore: remove trace viewer ( #3869 )
2020-09-14 07:56:04 -07:00
Pavel Feldman
f94df318d5
chore: roll test runner to 0.3.9 ( #3847 )
2020-09-11 10:02:07 -07:00
Pavel Feldman
a597004780
chore: roll test runner to 0.3.5 ( #3832 )
2020-09-10 21:31:46 -07:00
Andrey Lushnikov
1e8e24c3d0
chore: cut v1.4.0-post version ( #3833 )
2020-09-10 14:17:54 -07:00
Jon Picchietti
f6aab9e5bd
chore: fix minimum node version ( #3777 )
2020-09-04 17:18:18 -07:00
Andrey Lushnikov
bbe2233f08
feat(chromium): use bundled ffmpeg instead of npm deps ( #3771 )
...
Fixes #3680
2020-09-04 04:17:51 -07:00
Pavel Feldman
91671f5452
chore: remove unused dev dependencies ( #3758 )
2020-09-03 10:34:22 -07:00
Pavel Feldman
8df1fe47bc
test: explicitly require expect ( #3755 )
2020-09-03 09:43:08 -07:00
Pavel Feldman
42a64048e8
test: roll test-runner to 0.2.9 ( #3753 )
2020-09-02 23:22:23 -07:00
Pavel Feldman
175fc52747
test: roll test-runner to 0.2.8 ( #3748 )
2020-09-02 21:43:38 -07:00
Pavel Feldman
659013051f
test: roll test runner to 0.2.5 ( #3723 )
2020-09-01 20:07:49 -07:00
Yury Semikhatsky
8ec55e1fb2
feat(screencast): use ffmpeg to produce webm in chromium ( #3668 )
2020-08-31 08:43:14 -07:00
Joel Einbinder
3cc91093a1
chore(testrunner): move out of the repo ( #3687 )
2020-08-29 08:27:32 -07:00
Max Schmitt
63a0e0c1d0
chore: bump dev dependencies ( #3659 )
2020-08-28 13:43:57 -07:00
Dmitry Gozman
b34d9aba25
feat(trace): experimental traces for our tests ( #3567 )
...
This introduces basic tracing enabled in our tests.
What is captured:
- network resources;
- snapshots at the start of most actions;
- snapshot after the test failure.
How this integrates with test runner:
- context fixture calls private method context._initSnapshotter() and uses Tracer to trace all events;
- all tests share a single test-results/trace-storage directory to store blobs;
- each test has its own trace file.
- npm run show-trace opens a bare-minimum trace viewer that renders snapshots.
2020-08-28 10:51:55 -07:00
Max Schmitt
254238cdce
enh: bake browser revisions and api into driver ( #3514 )
2020-08-26 16:01:42 -07:00
Pavel Feldman
a20bb949ea
chore(testrunner): introduce test result, reuse it in ipc ( #3644 )
2020-08-26 14:14:23 -07:00
Joel Einbinder
4249a11d7e
chore(types): upgrade to TypeScript 4.0.2 ( #3637 )
2020-08-26 08:57:03 -07:00
Pavel Feldman
53ac35a613
chore(testrunner): complete ts migration ( #3587 )
2020-08-23 11:44:41 -07:00
Pavel Feldman
e5dae0daf7
test: move reporters off mocha ( #3577 )
2020-08-22 08:46:45 -07:00
Joel Einbinder
d4dac04212
chore(testrunner): add exit code tests ( #3562 )
2020-08-21 13:22:43 -07:00
Joel Einbinder
012f9425bf
chore(test-runner): move into its own folder and typescript project ( #3548 )
2020-08-20 16:04:27 -07:00
Joel Einbinder
0d03cc0f9a
feat(utils): add a script for watching various builds ( #3545 )
...
Watches our main typescript compilation, webpacks, type generation, and rpc channel generation.
2020-08-20 09:27:04 -07:00
Pavel Feldman
86815d70e0
test: convert rename options to parameters, remove options magic ( #3543 )
2020-08-19 21:32:12 -07:00
Pavel Feldman
30f4c0c9fe
test runner: remove dependencies on playwright ( #3539 )
2020-08-19 17:47:24 -07:00
Max Schmitt
f3c2584dfc
feat: added rpc driver ( #3500 )
2020-08-17 12:44:39 -07:00
Joel Einbinder
c1de95f91f
feat(testrunner): pretty error messages ( #3469 )
2020-08-14 07:28:35 -07:00
Joel Einbinder
f45791dd8b
feat(testrunner): support sourcemaps ( #3459 )
2020-08-13 23:17:46 -07:00
Dmitry Gozman
9b52ca8676
chore: remove unused non-rpc code, test options, infra, bots ( #3444 )
2020-08-13 16:00:23 -07:00
Joel Einbinder
84441f8f77
chore(test): run doclint tests with mocha, delete testrunner again ( #3447 )
2020-08-13 13:57:27 -07:00
Pavel Feldman
51bd3709ff
Revert "chore(test): run doclint tests with mocha, delete utils/testrunner ( #3428 )" ( #3432 )
2020-08-12 22:01:37 -07:00
Joel Einbinder
061ff25741
chore(test): run doclint tests with mocha, delete utils/testrunner ( #3428 )
2020-08-12 20:02:48 -07:00
Joel Einbinder
d3677357b8
feat(testrunner): take the first argument as the test root dir ( #3423 )
2020-08-12 20:01:13 -07:00
Pavel Feldman
962ddc09c4
test: consolidate runner files ( #3415 )
2020-08-12 13:47:44 -07:00
Pavel Feldman
7e07634cc6
test: use mocha in ci/cd ( #3406 )
2020-08-12 11:48:30 -07:00
Pavel Feldman
bfdb59eada
test: make mocha runner work in parallel ( #3383 )
2020-08-11 10:57:30 -07:00
Pavel Feldman
823ef86470
test: add support for mocha ( #3376 )
2020-08-10 20:10:39 -07:00
Dmitry Gozman
3179e71912
feat(rpc): in-process rpc on by default ( #3104 )
2020-08-10 14:18:58 -07:00
Pavel Feldman
6f09590c9a
test: restore nojest runner ( #3359 )
2020-08-08 19:43:00 -07:00
Pavel Feldman
5c0b88fb10
feat(test): add dot report for aslushnikov ( #3317 )
2020-08-05 21:18:20 -07:00
Pavel Feldman
4956054a0f
test: bump jest to 26.2 - per-test progress, slow thresholds ( #3314 )
2020-08-05 14:17:17 -07:00
Andrey Lushnikov
83539d1ab5
chore: cut v1.3.0-post ( #3309 )
2020-08-05 12:32:56 -07:00
Dmitry Gozman
126b1f79d4
feat(rpc): run doclint against rpc client ( #3260 )
2020-07-31 17:00:36 -07:00
Dmitry Gozman
6297f86cfa
feat(rpc): run generate-channels during lint ( #3238 )
2020-07-30 15:08:21 -07:00
Dmitry Gozman
6cb1e03713
feat(rpc): disallow deps into rpc client from outside ( #3199 )
...
For this, common converters are extracted from rpc serializers.
2020-07-28 15:33:38 -07:00
Dmitry Gozman
e406119f0c
chore: add check_deps script ( #3182 )
...
This will be used to disallow cross-directory imports,
for example from impl to rpc.
2020-07-27 13:02:28 -07:00
Andrey Lushnikov
20b7cff935
fix: update jpeg-js version ( #3179 )
2020-07-27 10:39:59 -07:00
Dmitry Gozman
68c4f79b02
feat(rpc): convert protocol to yaml ( #3102 )
2020-07-22 19:38:19 -07:00
Joel Einbinder
773ee08e9d
chore(test): restore api coverage checks ( #3068 )
...
* chore(test): restore api coverage checks
* try to catch the correct error on the bots
* try to trick github into taking the new code
* uninstall coverage
* dgozman comments
2020-07-22 09:08:10 -07:00
Yury Semikhatsky
6e75533c63
chore: respect jest params in npm run wtest ( #3085 )
2020-07-22 08:57:54 -07:00
Pavel Feldman
9d9801192e
test: wire test commands to jest ( #3014 )
2020-07-17 16:09:27 -07:00
Dmitry Gozman
4c8ba3ed67
chore: remove cli ( #2976 )
...
It will be a separate package instead.
2020-07-16 13:13:26 -07:00
Pavel Feldman
ecc130c644
test: convert evaluation.spec to jest+fixtures ( #2968 )
2020-07-16 11:18:38 -07:00
Pavel Feldman
19cd96c46a
test: add the jest-circus experimental runner ( #2962 )
2020-07-15 16:52:41 -07:00
Pavel Feldman
d561465214
devops: use matrix in GHA, add non-linux rpc ( #2907 )
2020-07-10 13:15:57 -07:00
Yury Semikhatsky
b93e0994bc
browser(webkit, firefox): bump versions ( #2866 )
2020-07-08 17:10:33 -07:00
Joel Einbinder
040c6a6a41
chore(jest): run tests with jest ( #2754 )
...
Experimentally run `npx jest` to run our tests with jest.
2020-07-08 11:13:18 -07:00
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
Joel Einbinder
6ed8b5fcc6
chore(eslint): lint for copyrights on files ( #2858 )
2020-07-07 11:12:45 -07:00
Andrey Lushnikov
ef125e13e2
chore: cut v1.2 ( #2850 )
2020-07-06 15:12:03 -07:00
Dmitry Gozman
5c4751d5dd
chore: generate protocol during browser roll ( #2719 )
...
We now commit protocol.ts files during the roll.
New utils/roll_browser.js helps with that.
This makes our installation very shallow:
- build installer;
- download browsers.
2020-07-01 15:22:29 -07:00
Andrey Lushnikov
922cbe6718
chore: roll https-proxy-agent to v5 ( #2777 )
...
Co-authored-by: Luke Edwards <luke.edwards05@gmail.com>
2020-06-30 17:03:01 -07:00
Pavel Feldman
f2c47b1d33
feat(cli): introduce basic playwright CLI tool ( #2571 )
2020-06-14 17:24:45 -07:00
Andrey Lushnikov
d5c55749d8
chore: cut v1.1.0-post version ( #2491 )
2020-06-05 18:18:58 -07:00
Pavel Feldman
fb058ffe0d
feat(proxy): allow specifying proxy ( #2485 )
2020-06-05 13:50:15 -07:00
Andrey Lushnikov
505d94ab1a
chore: drop dependency on playwright-core in all our packages ( #2318 )
...
This patch:
- drops dependency on playwright-core in all our packages. Instead of
the dependency, packages are now built with `//packages/build_package.sh`
script.
- unifies `browsers.json` - now there's a single `//browsers.json` file
that is used to manage browser revisions.
This patch temporary switches canary publishing to `--dryn-run` from CI/CD so that we
can verify that it does sane things.
We'll unify all our package management scripts under `//packages/` in a
follow-up.
Fixes #2268
2020-05-21 13:18:15 -07:00
Pavel Feldman
ffe7084652
feat(electron): experimental electron support ( #2166 )
2020-05-11 18:00:33 -07:00
Pavel Feldman
c5b0baacd1
chore: remove main index.js from playwright-core ( #2178 )
2020-05-11 09:38:09 -07:00
Tobias Hernstig
d39ec35cd7
chore: Add "homepage" to package.json ( #2127 )
2020-05-07 12:31:59 -07:00
Andrey Lushnikov
7a01bb1f33
chore: bump package.json version to v1.0.0-post ( #2128 )
2020-05-06 12:13:23 -07:00
Pavel Feldman
41de5bc388
Revert "chore: mark v0.18.0 ( #2122 )"
...
(should go only into branch)
This reverts commit 19e8c327ba
.
2020-05-05 16:55:55 -07:00
Pavel Feldman
19e8c327ba
chore: mark v0.18.0 ( #2122 )
2020-05-05 16:52:54 -07:00
Pavel Feldman
da903cb5bb
chore: cut v0.18.0-post version
2020-05-05 15:07:44 -07:00
Andrey Lushnikov
6eabb95b49
chore: cut v0.17.0-post ( #2095 )
2020-05-04 12:15:20 -07:00
Andrey Lushnikov
28bbd93f40
chore: cut v0.16.0 ( #2065 )
2020-04-30 17:41:03 -07:00
Pavel Feldman
2cdf297245
chore: remove uncompiled download-browser ( #2018 )
2020-04-28 17:06:01 -07:00
Pavel Feldman
d52bd92983
chore: read browser revisions off browsers.json ( #2009 )
2020-04-28 10:37:23 -07:00
Pavel Feldman
e534568736
feat(chromium): roll back to r760827 to make headful happy ( #2010 )
2020-04-27 23:02:30 -07:00
Yury Semikhatsky
f58d909db4
fix(firefox): use separate processes for pages in different contexts ( #1976 )
2020-04-27 10:13:43 -07:00