Commit Graph

177 Commits

Author SHA1 Message Date
jrandolf
30bd030078
chore: use yargs for mocha runner (#11045) 2023-09-27 16:02:55 +02:00
dependabot[bot]
03b22ab456
chore(deps): Bump glob from 10.3.4 to 10.3.10 (#11043)
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 (#11042)
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 (#11040) 2023-09-26 18:24:24 +02:00
Alex Rudenko
e0e7e3a5df
test: move cdp only tests to a subfolder (#11033)
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 (#11008)
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 (#10993) 2023-09-22 11:05:45 +02:00
jrandolf
07fe42fce0
chore: create internal package for mocha-runner (#10985) 2023-09-22 10:58:14 +02:00
jrandolf
d124c83dad
chore: rename mocha-runner (#10984) 2023-09-22 10:57:18 +02:00
jrandolf
7aa3063acd
chore: update dependencies (#10958)
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 (#10933) 2023-09-19 17:13:30 +02:00
jrandolf
86df093824
chore: use cross-platform clean script (#10938) 2023-09-19 12:51:09 +02:00
jrandolf
c949656a43
chore: use @typescript-eslint/consistent-type-imports (#10913) 2023-09-15 13:00:20 +02:00
jrandolf
7e74439c51
chore: enable 'return-await` (#10832) 2023-09-01 09:49:33 +02:00
jrandolf
cb5ab7e02f
chore: implement code fix for 'use-using' rule (#10805) 2023-08-30 10:46:06 +02:00
jrandolf
dca327f99f
chore: implement use-using rule (#10798) 2023-08-29 19:41:29 +00:00
jrandolf
a3db064cbb
chore: update dependencies (#10785) 2023-08-28 13:01:52 +02:00
Nikolay Vitkov
8fd0157c95
docs: fix website building (#10777) 2023-08-23 14:38:12 +02:00
jrandolf
04369db145
chore: implement partial ElementHandle.prototype.boundingBox (#10660) 2023-08-01 15:07:48 +02:00
Nikolay Vitkov
0757d04358
chore: update chromium-bidi (#10620) 2023-07-28 11:11:14 +02:00
Alex Rudenko
7af3e8d1fc
test: skip failing on successful retries (#10563)
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 (#10555) 2023-07-17 10:52:54 +02:00
Nikolay Vitkov
d0d738d2fc
chore: readd browser setup hook (#10478) 2023-07-03 14:01:29 +02:00
Nikolay Vitkov
10fa352102
docs: add ng-schematics page (#10459) 2023-06-28 08:07:14 +00:00
Alex Rudenko
c16a4a7276
ci: check number of tests (#10423) 2023-06-20 13:56:11 +02:00
Nikolay Vitkov
0d219c79de
ci: fix updating Chrome (#10382) 2023-06-14 09:59:01 +02:00
Nikolay Vitkov
3552d97360
chore: update dependencies (#10336) 2023-06-07 11:17:31 +00:00
Nikolay Vitkov
651a378521
ci: fix Chrome auto-roller (#10330) 2023-06-06 15:38:58 +00:00
Nikolay Vitkov
7b8f1e2a0d
ci: make formatter run on changed files (#10328) 2023-06-06 14:59:58 +00:00
Nikolay Vitkov
5b3ff64cf5
ci: update auto-roller to be more robust (#10308) 2023-06-02 15:37:48 +02:00
Alex Rudenko
6e39a2eb1d
chore: update license checker (#10301) 2023-06-02 10:11:53 +02:00
Nikolay Vitkov
7a765e9fab
ci: automate PR for Chrome roll (#10287) 2023-06-01 10:13:42 +02:00
Nikolay Vitkov
6f8ea5764d
chore: add Page.reload for BiDi (#10274) 2023-05-31 13:13:34 +02:00
Nikolay Vitkov
faab64e1f3
chore: use Chrome Canary for BiDi testing (#10222) 2023-05-24 11:43:45 +00:00
Nikolay Vitkov
070ee03d31
chore: network module for BiDi (#10159) 2023-05-22 14:52:31 +02:00
Nikolay Vitkov
2808240c71
chore: implement Frames for BiDi (#10121) 2023-05-15 16:39:47 +02:00
Alex Rudenko
df4d60c187
feat!: switch to Chrome for Testing instead of Chromium (#10054)
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 (#10090) 2023-04-27 08:00:23 +02:00
Nikolay Vitkov
e4b57c279a
chore: add EsLint rule for no-floating-promises (#10084) 2023-04-26 09:53:02 +00:00
Alex Rudenko
e3f8ff23c3
chore: fix build on win (#10022) 2023-04-14 10:51:35 +02:00
Alex Rudenko
dba1b2d9cc
docs: add readme to the API reference index (#10001) 2023-04-11 14:47:25 +02:00
Alex Rudenko
75a136e0de
docs: website docs for browsers (#9986) 2023-04-06 14:23:10 +02:00
Nikolay Vitkov
fe934ad092
chore: fix only for skipped tests (#9964) 2023-04-04 09:37:15 +02:00
Nikolay Vitkov
a99abc9a2f
docs: remove unhelpful api pages (#9933) 2023-03-28 18:02:00 +00:00
Alex Rudenko
3a31070d05
chore: store artifacts with test results (#9912) 2023-03-24 15:31:47 +01:00
Alex Rudenko
f6ef167b0f
chore: validate licenses (#9873) 2023-03-23 10:22:52 +01:00
Alex Rudenko
ad7bbaebef
chore: remove retries and fix expectations (#9897) 2023-03-23 10:22:17 +01:00
Nikolay Vitkov
9ccde6ebf5
chore: added * pattern for test expectations (#9870) 2023-03-20 10:59:50 +01:00
jrandolf
e5b5645a0a
chore: use puppeteer-core for Node version (#9832) 2023-03-13 10:25:03 +00:00
Nikolay Vitkov
0680b498c9
chore: fix action debugging option parsing (#9796) 2023-03-07 17:00:05 +01:00
jrandolf
813882db7b
chore: update glob (#9776) 2023-03-06 12:28:33 +01:00
Nikolay Vitkov
f88729224a
chore: add more debugging info on Debug Runs (#9754) 2023-03-01 12:30:42 +01:00
Nikolay Vitkov
232873ae76
chore: fix Mocha test runner suggestion when hooks fail (#9750) 2023-02-28 12:55:20 +01:00
Alex Rudenko
e449406581
chore: improve recommendations by the test runner (#9724) 2023-02-22 08:06:24 +00:00
Nikolay Vitkov
eefe9583d0
chore: Add EsLint rule import/order (#9685) 2023-02-15 15:09:31 -08:00
jrandolf
b53838682f
chore: cleanup wireit scripts (#9662) 2023-02-13 10:22:43 -08:00
Nikolay Vitkov
90ef8793ac
chore: Add --no-suggestion to custom test runner (#9598) 2023-01-27 12:20:32 +00:00
Nikolay Vitkov
ab89d30bb6
chore: Suggest latest version when analyzing issue (#9564)
Suggest using latest puppeteer rather then last supported version.
2023-01-23 10:31:43 +00:00
Kian-Meng Ang
4437bceb6e docs: fix typos (#9476)
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 (#9503)
<!-- 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 (#9502)
<!-- 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 (#9488) 2023-01-11 14:09:45 +01:00
jrandolf
000ad18792
chore: do not slice error in IA (#9487) 2023-01-11 14:04:52 +01:00
jrandolf
3fde00525e
chore: use node version from puppeteer for issue analyzer (#9485) 2023-01-11 13:38:23 +01:00
jrandolf
ef35ee7296
chore: add issue analyzer (#9480)
See internal note.
2023-01-11 12:33:53 +01:00
Alex Rudenko
842008102f
chore: add deps needed for BiDi (#9439)
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) (#9364)
Closes #9233
2022-12-07 14:54:00 +01:00
Alex Rudenko
b8ef826079
chore: remove pinned deps script (#9326) 2022-11-24 14:30:23 +01:00
jrandolf
65007a29b5
chore: deprecate old versions (#9277) 2022-11-15 12:54:25 +01:00
Nikolay Vitkov
3f2c0590f1
chore(ng-schematics): Add Angular Schematics (#9222)
**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 (#9179)
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) (#9153) 2022-10-25 12:55:19 +02:00
jrandolf
f07ad2c661
fix: update documentation on configuring puppeteer (#9150)
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
Alex Rudenko
3499cbf4e1
chore: save test stats (#9138) 2022-10-19 15:21:18 +02:00
jrandolf
618ee743ca
chore: fix ToT CI (#9125) 2022-10-17 13:11:53 +02:00
jrandolf
6a05d8e9c1
chore: improve docs and scripts (#9107)
This PR updates some docs and scripts related to the recent changes in
the repository.
2022-10-13 18:55:11 +02:00
jrandolf
416d56b033
chore: refactor utils (#9053)
This PR

- renames the `utils` folder to `tools` (follows internal practice),
- migrates the contents of `scripts` into `tools` and removes scripts.
2022-10-06 10:27:14 +02:00