0
0
mirror of https://github.com/puppeteer/puppeteer synced 2024-06-14 14:02:48 +00:00
Commit Graph

154 Commits

Author SHA1 Message Date
Miki Lombardi
39e3d4bceb docs: Upgrading to Docusaurus V3 ()
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2023-11-29 13:08:08 +01:00
dependabot[bot]
9673b1f562
chore(deps-dev): Bump the dev-dependencies group with 10 updates ()
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-27 15:43:09 +01:00
dependabot[bot]
d6cecd4ae0
chore(deps): Bump the dependencies group with 2 updates ()
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-21 14:30:54 +01:00
Alex Rudenko
4fdf80b30d
ci: fix deprecation of old pptr packages () 2023-11-17 01:16:13 +01:00
Nikolay Vitkov
b58ba6b07c
chore: small fixes () 2023-11-16 08:16:40 +01:00
Nikolay Vitkov
52263f7241
chore: update tooling () 2023-11-14 13:07:24 +01:00
dependabot[bot]
92f586cf18
chore(deps): Bump the dependencies group with 4 updates ()
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-13 14:08:18 +01:00
Alex Rudenko
02d62be58e
ci: add lint for expectations () 2023-11-13 13:39:24 +01:00
dependabot[bot]
f22a33bfa2
chore(deps-dev): Bump the dev-dependencies group with 13 updates ()
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-08 08:39:53 +00:00
dependabot[bot]
2e4ddb82d3
chore(deps): Bump the dependencies group with 2 updates ()
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-07 15:11:01 +00:00
dependabot[bot]
07777c14d0
chore(deps-dev): Bump the dev-dependencies group with 5 updates ()
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-07 14:25:16 +01:00
Nikolay Vitkov
8a54722328
refactor: move dependencies where they are used () 2023-11-06 14:03:57 +01:00
Nikolay Vitkov
619d9d0262
chore: fix RxJs import for BiDi () 2023-11-06 06:58:20 +01:00
browser-automation-bot
325fa8b1b1
feat: roll to Chrome 119.0.6045.105 (r1204232) ()
Co-authored-by: Nikolay Vitkov <nvitkov@chromium.org>
2023-11-02 16:31:34 +01:00
dependabot[bot]
d4a378a088
chore(deps): Bump the dependencies group with 1 update ()
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-02 10:27:33 +01:00
dependabot[bot]
0b756aa443
chore(deps): Bump the dependencies group with 2 updates ()
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-31 09:47:45 +01:00
dependabot[bot]
ecb64e2fa9
chore(deps): Bump the dependencies group with 2 updates ()
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-30 13:43:00 +01:00
dependabot[bot]
8379f468f4
chore(deps): Bump acorn from 8.10.0 to 8.11.1 ()
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-27 14:15:27 +02:00
dependabot[bot]
133bbe7fec
chore(deps): Bump the dependencies group with 1 update ()
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-24 12:09:08 +02:00
Nikolay Vitkov
5278de9276
chore: use internal method for networkidle with BiDi () 2023-10-24 10:07:35 +02:00
dependabot[bot]
0e10ba0530
chore(deps): Bump the dependencies group with 1 update ()
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-19 12:00:54 +02:00
dependabot[bot]
00ef6d7fce
chore(deps-dev): Bump the dev-dependencies group with 17 updates ()
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-19 10:46:16 +02:00
Nikolay Vitkov
eae37d99e9
ci: fix empty retries env var () 2023-10-13 14:13:54 +02:00
jrandolf
8a2b9f1280
chore: remove jobs () 2023-10-12 15:04:29 +02:00
Nikolay Vitkov
4a2a37b825
chore: add a deflake utility () 2023-10-11 19:21:50 +02:00
dependabot[bot]
5a3c49b8f7
chore(deps-dev): Bump the dev-dependencies group with 5 updates ()
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-11 14:01:22 +00:00
dependabot[bot]
6eaaea5c65
chore(deps): Bump the dependencies group with 4 updates ()
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-11 15:32:57 +02:00
jrandolf
30bd030078
chore: use yargs for mocha runner () 2023-09-27 16:02:55 +02:00
dependabot[bot]
03b22ab456
chore(deps): Bump glob from 10.3.4 to 10.3.10 ()
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-27 12:06:48 +00:00
dependabot[bot]
897fb64aba
chore(deps): Bump @swc/core from 1.3.86 to 1.3.90 ()
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-27 08:56:37 +02:00
jrandolf
bd6c246b18
chore: add @typescript-eslint/no-import-type-side-effects () 2023-09-26 18:24:24 +02:00
Alex Rudenko
e0e7e3a5df
test: move cdp only tests to a subfolder ()
Co-authored-by: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com>
2023-09-26 10:13:22 +02:00
Alex Rudenko
52468adcff
test: test sharding for firefox ()
Co-authored-by: jrandolf <101637635+jrandolf@users.noreply.github.com>
2023-09-25 12:00:09 +00:00
Alex Rudenko
e2d4c9f78e
chore: fix versions.js () 2023-09-22 11:05:45 +02:00
jrandolf
07fe42fce0
chore: create internal package for mocha-runner () 2023-09-22 10:58:14 +02:00
jrandolf
d124c83dad
chore: rename mocha-runner () 2023-09-22 10:57:18 +02:00
jrandolf
7aa3063acd
chore: update dependencies ()
Co-authored-by: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com>
2023-09-20 16:13:32 +02:00
jrandolf
88e0997b39
chore: implement @puppeteer/doctest () 2023-09-19 17:13:30 +02:00
jrandolf
86df093824
chore: use cross-platform clean script () 2023-09-19 12:51:09 +02:00
jrandolf
c949656a43
chore: use @typescript-eslint/consistent-type-imports () 2023-09-15 13:00:20 +02:00
jrandolf
7e74439c51
chore: enable 'return-await` () 2023-09-01 09:49:33 +02:00
jrandolf
cb5ab7e02f
chore: implement code fix for 'use-using' rule () 2023-08-30 10:46:06 +02:00
jrandolf
dca327f99f
chore: implement use-using rule () 2023-08-29 19:41:29 +00:00
jrandolf
a3db064cbb
chore: update dependencies () 2023-08-28 13:01:52 +02:00
Nikolay Vitkov
8fd0157c95
docs: fix website building () 2023-08-23 14:38:12 +02:00
jrandolf
04369db145
chore: implement partial ElementHandle.prototype.boundingBox () 2023-08-01 15:07:48 +02:00
Nikolay Vitkov
0757d04358
chore: update chromium-bidi () 2023-07-28 11:11:14 +02:00
Alex Rudenko
7af3e8d1fc
test: skip failing on successful retries ()
Co-authored-by: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com>
2023-07-18 10:00:33 +02:00
Nikolay Vitkov
de09b058ba
chore: update Prettier and other deps () 2023-07-17 10:52:54 +02:00
Nikolay Vitkov
d0d738d2fc
chore: readd browser setup hook () 2023-07-03 14:01:29 +02:00
Nikolay Vitkov
10fa352102
docs: add ng-schematics page () 2023-06-28 08:07:14 +00:00
Alex Rudenko
c16a4a7276
ci: check number of tests () 2023-06-20 13:56:11 +02:00
Nikolay Vitkov
0d219c79de
ci: fix updating Chrome () 2023-06-14 09:59:01 +02:00
Nikolay Vitkov
3552d97360
chore: update dependencies () 2023-06-07 11:17:31 +00:00
Nikolay Vitkov
651a378521
ci: fix Chrome auto-roller () 2023-06-06 15:38:58 +00:00
Nikolay Vitkov
7b8f1e2a0d
ci: make formatter run on changed files () 2023-06-06 14:59:58 +00:00
Nikolay Vitkov
5b3ff64cf5
ci: update auto-roller to be more robust () 2023-06-02 15:37:48 +02:00
Alex Rudenko
6e39a2eb1d
chore: update license checker () 2023-06-02 10:11:53 +02:00
Nikolay Vitkov
7a765e9fab
ci: automate PR for Chrome roll () 2023-06-01 10:13:42 +02:00
Nikolay Vitkov
6f8ea5764d
chore: add Page.reload for BiDi () 2023-05-31 13:13:34 +02:00
Nikolay Vitkov
faab64e1f3
chore: use Chrome Canary for BiDi testing () 2023-05-24 11:43:45 +00:00
Nikolay Vitkov
070ee03d31
chore: network module for BiDi () 2023-05-22 14:52:31 +02:00
Nikolay Vitkov
2808240c71
chore: implement Frames for BiDi () 2023-05-15 16:39:47 +02:00
Alex Rudenko
df4d60c187
feat!: switch to Chrome for Testing instead of Chromium ()
Co-authored-by: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com>
2023-05-02 08:53:40 +02:00
Nikolay Vitkov
f6ae5764f7
fix: test suggestions when skip exp + only test () 2023-04-27 08:00:23 +02:00
Nikolay Vitkov
e4b57c279a
chore: add EsLint rule for no-floating-promises () 2023-04-26 09:53:02 +00:00
Alex Rudenko
e3f8ff23c3
chore: fix build on win () 2023-04-14 10:51:35 +02:00
Alex Rudenko
dba1b2d9cc
docs: add readme to the API reference index () 2023-04-11 14:47:25 +02:00
Alex Rudenko
75a136e0de
docs: website docs for browsers () 2023-04-06 14:23:10 +02:00
Nikolay Vitkov
fe934ad092
chore: fix only for skipped tests () 2023-04-04 09:37:15 +02:00
Nikolay Vitkov
a99abc9a2f
docs: remove unhelpful api pages () 2023-03-28 18:02:00 +00:00
Alex Rudenko
3a31070d05
chore: store artifacts with test results () 2023-03-24 15:31:47 +01:00
Alex Rudenko
f6ef167b0f
chore: validate licenses () 2023-03-23 10:22:52 +01:00
Alex Rudenko
ad7bbaebef
chore: remove retries and fix expectations () 2023-03-23 10:22:17 +01:00
Nikolay Vitkov
9ccde6ebf5
chore: added * pattern for test expectations () 2023-03-20 10:59:50 +01:00
jrandolf
e5b5645a0a
chore: use puppeteer-core for Node version () 2023-03-13 10:25:03 +00:00
Nikolay Vitkov
0680b498c9
chore: fix action debugging option parsing () 2023-03-07 17:00:05 +01:00
jrandolf
813882db7b
chore: update glob () 2023-03-06 12:28:33 +01:00
Nikolay Vitkov
f88729224a
chore: add more debugging info on Debug Runs () 2023-03-01 12:30:42 +01:00
Nikolay Vitkov
232873ae76
chore: fix Mocha test runner suggestion when hooks fail () 2023-02-28 12:55:20 +01:00
Alex Rudenko
e449406581
chore: improve recommendations by the test runner () 2023-02-22 08:06:24 +00:00
Nikolay Vitkov
eefe9583d0
chore: Add EsLint rule import/order () 2023-02-15 15:09:31 -08:00
jrandolf
b53838682f
chore: cleanup wireit scripts () 2023-02-13 10:22:43 -08:00
Nikolay Vitkov
90ef8793ac
chore: Add --no-suggestion to custom test runner () 2023-01-27 12:20:32 +00:00
Nikolay Vitkov
ab89d30bb6
chore: Suggest latest version when analyzing issue ()
Suggest using latest puppeteer rather then last supported version.
2023-01-23 10:31:43 +00:00
Kian-Meng Ang
4437bceb6e docs: fix typos ()
Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
2023-01-16 20:25:09 +01:00
Alexandra Borovova
31ff55cc03
chore: filter expectations by the whole test or file name ()
<!-- Thanks for submitting a pull request! Please provide enough
information so that others can review your pull request. -->

**What kind of change does this PR introduce?**

This is a change to a custom mocha runner to look for expectation of the
test case by the whole test name instead of by the part of the name.

**Summary**

Working on integration of the puppeteer expectation file in mozilla repo
and unskipping a lot of tests, I've noticed that some tests get wrong
statuses. For example, a test case with the name `navigation Page.goto
should fail when navigating to bad SSL` got the status of `navigation
Page.goto should fail when navigating to bad SSL after redirects` or
`ElementHandle specs ElementHandle.boundingBox should work` get the
status of `ElementHandle specs ElementHandle.boundingBox should work
with SVG nodes`. So it seems like checking for the whole name of the
test should be safer, but let me know if I'm missing something here.

**Does this PR introduce a breaking change?**
no
2023-01-13 16:14:37 +01:00
Alexandra Borovova
47f51c8a7d
chore: forward mocha arguments through the custom runner ()
<!-- Thanks for submitting a pull request! Please provide enough
information so that others can review your pull request. -->

**What kind of change does this PR introduce?**

This is a change to a custom mocha runner to forward arguments to mocha.

**Summary**

In order to start using puppeteer custom mocha runner, the Firefox team
needs to forward some arguments to mocha through the runner to make it
compatible with our log parser.

**Does this PR introduce a breaking change?**

no
2023-01-13 09:51:59 +00:00
jrandolf
305183c330
chore: remove version prefix for IA () 2023-01-11 14:09:45 +01:00
jrandolf
000ad18792
chore: do not slice error in IA () 2023-01-11 14:04:52 +01:00
jrandolf
3fde00525e
chore: use node version from puppeteer for issue analyzer () 2023-01-11 13:38:23 +01:00
jrandolf
ef35ee7296
chore: add issue analyzer ()
See internal note.
2023-01-11 12:33:53 +01:00
Alex Rudenko
842008102f
chore: add deps needed for BiDi ()
Extracted new dev deps from
https://github.com/puppeteer/puppeteer/pull/9410 to avoid constance
merge conflicts. https://github.com/puppeteer/puppeteer/pull/9410 needs
some investigation on Windows.
2022-12-19 15:54:58 +01:00
Nikolay Vitkov
1875da6191
feat(chromium): roll to Chromium 109.0.5412.0 (r1069273) ()
Closes 
2022-12-07 14:54:00 +01:00
Alex Rudenko
b8ef826079
chore: remove pinned deps script () 2022-11-24 14:30:23 +01:00
jrandolf
65007a29b5
chore: deprecate old versions () 2022-11-15 12:54:25 +01:00
Nikolay Vitkov
3f2c0590f1
chore(ng-schematics): Add Angular Schematics ()
**What kind of change does this PR introduce?**

It introduces schematic for Angular that integrate with its CLI.
First revision support Jasmine.

**Did you add tests for your changes?**

Added Unit tests for each scenario. 

**Summary**

The idea is to provide a an example for setting up Puppeteer and Angular
for testing user flows.

**Does this PR introduce a breaking change?**

No

**Other information**

For Feature PRs:

- Introduce CL for tests
- Hook up NPM package publishing
- Update README.md
2022-11-09 14:52:10 +01:00
jrandolf
2d2120cea1
docs: improve docs ()
This PR drastically improves the documentation by improving the sidebars
and adding a GitHub icon.

Fixed: https://github.com/puppeteer/puppeteer/pull/9176
Fixed: https://github.com/puppeteer/puppeteer/issues/9173


![image](https://user-images.githubusercontent.com/101637635/198374826-399219f6-e04f-4613-9613-f7e3281d332f.png)
2022-10-28 08:49:28 +02:00
Alex Rudenko
e78a4e89c2
feat(chromium): roll to Chromium 108.0.5351.0 (r1056772) () 2022-10-25 12:55:19 +02:00
jrandolf
f07ad2c661
fix: update documentation on configuring puppeteer ()
This PR updates the docs regarding configuring puppeteer. In addition,
some changes have been made to the documentation generator to show
default values on the documentation site.

Also fixes: https://github.com/puppeteer/puppeteer/pull/9144
2022-10-24 09:07:05 +02:00