Alex Rudenko
8993def882
ci: disable failing doctest ( #11035 )
2023-09-26 09:54:13 +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
5081094657
ci: remove duplicate and redundant steps ( #11009 )
2023-09-22 22:37:52 +02:00
jrandolf
88e0997b39
chore: implement @puppeteer/doctest
( #10933 )
2023-09-19 17:13:30 +02:00
dependabot[bot]
f1d996060b
chore(deps): Bump actions/cache from 3.3.1 to 3.3.2 ( #10876 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-13 10:29:19 +02:00
dependabot[bot]
5a7547b68f
chore(deps): Bump actions/upload-artifact from 3.1.2 to 3.1.3 ( #10875 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-13 10:23:15 +02:00
jrandolf
7e74439c51
chore: enable 'return-await` ( #10832 )
2023-09-01 09:49:33 +02:00
Alex Rudenko
6f1dd09cca
chore: allow enabling the tab target for testing ( #10790 )
2023-08-28 08:53:22 +00:00
dependabot[bot]
ad0c793662
chore(deps): Bump actions/checkout from 3.5.3 to 3.6.0 ( #10789 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-28 10:18:28 +02:00
dependabot[bot]
bb944ad968
chore(deps): Bump actions/setup-node from 3.7.0 to 3.8.1 ( #10759 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 11:03:43 +00:00
dependabot[bot]
1f08c54d83
chore(deps): Bump actions/setup-node from 3.6.0 to 3.7.0 ( #10559 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-18 12:06:17 +00:00
Nikolay Vitkov
40a6f52e14
ci: disable Firefox BiDi ( #10564 )
2023-07-18 09:56:55 +02:00
Nikolay Vitkov
0d2c42a1c4
ci: fix Actions not running sometimes ( #10503 )
2023-07-04 14:17:25 +02:00
dependabot[bot]
2a86aa2629
chore(deps): Bump actions/checkout from 3.5.2 to 3.5.3 ( #10448 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-26 09:54:28 +00:00
Alex Rudenko
c35084dd2c
ci: separate unit tests ( #10436 )
2023-06-26 10:57:48 +02:00
Julian Descottes
9c00c2c57e
chore: Re-enable firefox tests on macos ( #10333 )
2023-06-07 13:58:01 +00:00
Nikolay Vitkov
3552d97360
chore: update dependencies ( #10336 )
2023-06-07 11:17:31 +00:00
Alex Rudenko
4764b9a079
chore: remove commitlint and husky ( #10304 )
2023-06-02 13:17:20 +02:00
Nikolay Vitkov
d20b4fb407
ci: pin dependencies to commit ( #10296 )
2023-06-02 09:52:21 +00:00
Nikolay Vitkov
faab64e1f3
chore: use Chrome Canary for BiDi testing ( #10222 )
2023-05-24 11:43:45 +00: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
4aefaee046
chore: fix GitHub Actions on main ( #10012 )
2023-04-12 17:59:01 +02:00
Nikolay Vitkov
e0581c6915
chore: GitHub Actions needs 0 exit for all commands ( #10010 )
2023-04-12 17:19:25 +02:00
Nikolay Vitkov
3f6670b987
chore: stop CI if search crawler is blocked ( #10008 )
2023-04-12 16:10:08 +02:00
Alex Rudenko
c874a81445
refactor: misc refactoring around browsers debugging and stability ( #9979 )
2023-04-06 11:14:58 +02:00
Alex Rudenko
fa93e4ebdf
chore: test server for browsers ( #9974 )
...
Co-authored-by: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com>
2023-04-05 16:18:25 +02:00
Alex Rudenko
8222bc01b4
chore: cache wireit for the inspect-code action ( #9975 )
2023-04-05 13:27:03 +02:00
Alex Rudenko
3936600ba9
refactor: use @puppeteer/browsers for install ( #9898 )
...
Co-authored-by: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com>
2023-03-28 09:27:50 +00:00
Alex Rudenko
94f680a046
chore: remove long jobs ( #9913 )
2023-03-24 16:36:00 +01: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
Nikolay Vitkov
8bd73175e0
chore: run CI on up to date PRs ( #9885 )
2023-03-22 10:47:22 +01:00
Nikolay Vitkov
4351e0de9e
chore: fix Actions Node version to LTS ( #9859 )
2023-03-15 13:59:42 +01:00
Alex Rudenko
7f05d441d5
chore: fix esbuild problem ( #9820 )
2023-03-10 08:52:48 +01:00
jrandolf
299d44477d
chore: remove pre-push and pre-commit ( #9777 )
2023-03-06 12:28:58 +01:00
Nikolay Vitkov
415da92300
chore: extract Changed packages workflow ( #9741 )
2023-02-23 15:37:36 +00:00
Alex Rudenko
b50e43bc17
chore: introduce @puppeteer/browsers with a fetch method implementation ( #9647 )
...
Co-authored-by: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com>
2023-02-13 11:49:50 +01:00
Nikolay Vitkov
45b7197a73
chore: Build only needed packages ( #9620 )
2023-02-02 11:18:17 +01:00
Nikolay Vitkov
e911f18a93
chore: Extract doc checking job to improve speed ( #9549 )
...
Extracts the Doc checking in CI to `Inspect code` job, this should speed
up of the reset of the test as they need `check-changes` before running.
Drive-by: Updated `actions/checkout` to latest version.
Note: Required Jobs should be changed for this to be possible to merge.
2023-01-20 11:37:11 +01:00
Nikolay Vitkov
db6085df65
chore: Run Test only when necessary ( #9538 )
...
**What kind of change does this PR introduce?**
CI change
**Did you add tests for your changes?**
N/A
**If relevant, did you update the documentation?**
**Summary**
We want to run our test only when relevant parts of the code are
changed.
Example change to `ng-schematics` should not trigger `puppeteer` test.
**Does this PR introduce a breaking change?**
No
**Other information**
2023-01-19 13:53:43 +01:00
Alex Rudenko
29a50764d4
chore: add BiDi integration for Chromium ( #9410 )
...
This PR adds experimental support for WebDriver BiDi by making use of
chromium-bidi to implement the BiDi protocol. The tests are disabled on
Windows due to flakiness (filed
https://github.com/GoogleChromeLabs/chromium-bidi/issues/361 ).
2022-12-20 14:37:31 +00:00
jrandolf
fe986c6a50
chore: trigger reindexing on doc deployment ( #9425 )
2022-12-16 14:19:28 +01:00
Alex Rudenko
e986660d36
chore: disable yarn tests ( #9407 )
...
The number of jobs we run is already high.
Yarn does not work well in our test setup on release PRs. Therefore, I
suggest we disable explicit tests for it and let's assume it's
compatible enough with npm.
2022-12-13 10:22:57 +01:00
Nikolay Vitkov
89ff872120
chore: Update CI file to use new set method ( #9389 )
...
Closes #9373 ,
Fixes #9296
2022-12-09 10:49:53 +01:00
Alex Rudenko
e55fed9d49
chore: use npm 8.3 on windows with node 14 ( #9246 )
...
Workaround for https://github.com/npm/cli/issues/4341#issue-1117047096
2022-11-11 09:34:13 +01:00
Nikolay Vitkov
15604f474a
chore: Add schematics tests to CI ( #9235 )
...
**What kind of change does this PR introduce?**
Add CI for testing Schematics.
**Did you add tests for your changes?**
Not relevant.
**If relevant, did you update the documentation?**
Not relevant.
**Summary**
We want to check if tests for `@puppeteer/ng-schematics` are passing
after
**Does this PR introduce a breaking change?**
No
**Other information**
2022-11-10 15:26:46 +01:00
jrandolf
6bf5f435b8
chore: disable install checks on release PRs ( #9183 )
2022-10-28 12:46:45 +02:00
Alex Rudenko
5885792be4
chore: re-enable firefox on mac ( #9137 )
...
I believe they were previously enabled but got disabled with the recent
changes. Let's re-enable it as they don't appear to be slower than the
chrome tests.
2022-10-19 14:24:56 +00:00
dependabot[bot]
7aaa5f8de5
chore(deps): bump actions/setup-node from 3.4.1 to 3.5.1 ( #9114 )
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from
3.4.1 to 3.5.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/actions/setup-node/releases ">actions/setup-node's
releases</a>.</em></p>
<blockquote>
<h2>Update <code>@actions/core</code> and Print Node, Npm, Yarn
versions</h2>
<p>In scope of this release we updated <a
href="https://github-redirect.dependabot.com/actions/setup-node/pull/587 ">actions/core
to 1.10.0</a>. Moreover, we added logic <a
href="https://github-redirect.dependabot.com/actions/setup-node/pull/368 ">to
print Nodejs, Npm, Yarn versions</a> after installation.</p>
<h2>Add support for engines.node and Volta</h2>
<p>In scope of this release we add support for engines.node. The action
will be able to grab the version form package.json#engines.node. <a
href="https://github-redirect.dependabot.com/actions/setup-node/pull/485 ">actions/setup-node#485</a>.
Moreover, we <a
href="https://github-redirect.dependabot.com/actions/setup-node/pull/532 ">added
support for Volta</a></p>
<p>Besides, we updated <a
href="https://github-redirect.dependabot.com/actions/setup-node/pull/574 "><code>@actions/core</code>
to 1.9.1</a> and <a
href="https://github-redirect.dependabot.com/actions/setup-node/pull/573 "><code>@actions/cache</code>
to 3.0.4</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="8c91899e58
"><code>8c91899</code></a>
Update <code>@actions/core</code> to 1.10.0 (<a
href="https://github-redirect.dependabot.com/actions/setup-node/issues/587 ">#587</a>)</li>
<li><a
href="c81d8ad96d
"><code>c81d8ad</code></a>
Print node, npm and yarn versions after installation (<a
href="https://github-redirect.dependabot.com/actions/setup-node/issues/368 ">#368</a>)</li>
<li><a
href="c96ab56c5b
"><code>c96ab56</code></a>
Add information about always-auth input (<a
href="https://github-redirect.dependabot.com/actions/setup-node/issues/585 ">#585</a>)</li>
<li><a
href="969bd26639
"><code>969bd26</code></a>
Fix test volta priority (<a
href="https://github-redirect.dependabot.com/actions/setup-node/issues/577 ">#577</a>)</li>
<li><a
href="9f3a02bbd1
"><code>9f3a02b</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/actions/setup-node/issues/532 ">#532</a>
from jef/main</li>
<li><a
href="4cffe5c52b
"><code>4cffe5c</code></a>
chore: remove sponge usage</li>
<li><a
href="0efefb3c0b
"><code>0efefb3</code></a>
Merge remote-tracking branch 'upstream/main'</li>
<li><a
href="1e6f2cd312
"><code>1e6f2cd</code></a>
test: add volta e2e test</li>
<li><a
href="30f0e7dc5a
"><code>30f0e7d</code></a>
Update <code>@actions/core</code> to 1.9.1 (<a
href="https://github-redirect.dependabot.com/actions/setup-node/issues/574 ">#574</a>)</li>
<li><a
href="c8f0d10585
"><code>c8f0d10</code></a>
upgrade <code>@action/cache</code> to 3.0.4 to fix stuck issue (<a
href="https://github-redirect.dependabot.com/actions/setup-node/issues/573 ">#573</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/actions/setup-node/compare/v3.4.1...v3.5.1 ">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/setup-node&package-manager=github_actions&previous-version=3.4.1&new-version=3.5.1 )](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-17 14:10:52 +02:00
jrandolf
8f4902eed9
chore: use test runner for installation tests ( #9110 )
2022-10-14 13:37:07 +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
3df375baed
feat!: use ~/.cache/puppeteer
for browser downloads ( #9095 )
2022-10-11 11:20:45 +00:00
jrandolf
3675f168ef
chore: improve CI jobs ( #9054 )
...
This PR separates the installations tests from normal tests and changes
the matrices as follows:
- Installations tests on all platforms and the latest 3 node versions.
- Chrome tests are done on all platforms on the latest node version.
- Firefox tests are done only on linux on the latest node version.
2022-10-06 15:45:22 +02:00
jrandolf
2e3719cd7f
chore: pin checkout action ( #9069 )
2022-10-06 12:44:45 +02:00
jrandolf
f42336cf83
feat: separate puppeteer and puppeteer-core ( #9023 )
...
This PR moves the puppeteer source code into separate mono-repo packages:
- `puppeteer` and `puppeteer-core` are now separated into their own
packages.
- `puppeteer-core` has a new exports called `puppeteer-core/internal`
for internal usage.
Tests and various tools have been updated to accommodate the migration.
2022-10-05 14:17:03 +02:00
Alex Rudenko
023ebd8f78
chore: enable firefox tests on Mac ( #9002 )
2022-09-23 19:06:09 +02:00
Alex Rudenko
a00d466874
chore: add strategy.fail-fast=false ( #9007 )
...
fail-fast=false ensures that we run all jobs even if
some have failures to receive test results from all configurations.
2022-09-23 09:57:40 +02:00
Henrik Skupin
5a1b8d2d7c
chore: add headful support for Firefox ( #9004 )
...
* chore: add headful support for Firefox
* chore: update test expectation data for Firefox headful tests
2022-09-23 07:23:36 +02:00
Alex Rudenko
3939d5510f
chore: enable continue on error ( #9003 )
2022-09-22 12:30:34 +00:00
Alex Rudenko
58c6eab429
chore: remove increase swap action ( #8970 )
...
Now that we generate only a single version and use swc
we should not need increased swap space.
2022-09-16 09:55:20 +00:00
Alex Rudenko
8d5097d7f6
chore: split CI jobs to run in parallel ( #8934 )
2022-09-15 05:59:11 +00:00
Alex Rudenko
d8830cbc55
chore: implement a test runner on top of mocha ( #8866 )
...
* chore: implement a test runner on top of mocha
This PR implements a test runner on top of mocha
that performs multiple mocha runs as defined in
TestSuites.json and compares the outcome of the runs
against TestExpectations.json. This allows us to
remove most of helpers from mocha-utils and be more
flexible when defining the test configurations.
2022-09-08 10:32:39 +00:00
Alex Rudenko
f57dde1c5b
chore: fix builds in CI ( #8877 )
2022-09-01 12:43:26 +00:00
jrandolf
ae4c5ea031
chore: refactor build commands ( #8874 )
2022-09-01 01:05:20 +02:00
jrandolf
eb6cea4f57
chore: use jobs for artifact generation ( #8864 )
2022-08-31 14:42:53 +02:00
Alex Rudenko
73221042db
chore: follow test:$browser[:$flavor] naming for tests + retries for Firefox ( #8775 )
2022-08-11 18:45:52 +00:00
Alex Rudenko
9588072a28
chore: try increasing swap size for website generator ( #8745 )
2022-08-06 14:59:47 +02:00
Alex Rudenko
1f89724b64
chore: increase max-old-space-size for docs ( #8721 )
2022-08-02 13:18:51 +00:00
dependabot[bot]
e237ba0f2e
chore(deps): bump actions/setup-node from 3.3.0 to 3.4.1 ( #8671 )
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 3.3.0 to 3.4.1.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v3.3.0...v3.4.1 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-02 13:18:48 +00:00
Alex Rudenko
936ed8607e
feat: add Dockerfile ( #8315 )
...
This PR adds an official Dockerfile for Puppeteer. The content of the Dockerfile is practically the same as documented in troubleshooting.md:
1) It installs chrome-stable and dependencies via apt-get.
2) it installs a local Puppeteer build into the docker user's home folder.
3) configures required permissions for the user.
4) outputs licenses into the THIRD_PARTY_NOTICES file.
The local Puppeteer build is created by `docker/pack.sh` which is meant to be used in CI. This PR also includes a GitHub action that would build a docker image and run a smote test inside of it.
The next step would be actually publishing the docker image from GitHub Actions to GitHub Registry.
2022-08-02 13:18:47 +00:00
Alex Rudenko
c801ce1c7b
chore: try to fix the docusaurus build by giving Node more old mem space ( #8675 )
2022-07-20 11:18:02 +02:00
jrandolf
b49d530d73
chore: continue-on-error
for non-Linux tests ( #8632 )
2022-07-06 08:23:39 +02:00
jrandolf
9e596d0761
chore: format code ( #8628 )
...
* chore: format code
2022-07-05 15:06:10 +02:00
jrandolf
fc77c1517f
chore: fetch 2 levels of commits on doc check ( #8625 )
2022-07-05 11:04:46 +02:00
jrandolf
6b2b421b7d
chore: use github.ref
( #8618 )
2022-07-01 19:09:43 +02:00
jrandolf
c1d57f3e5f
chore: fix bad revision ( #8617 )
2022-07-01 16:55:12 +02:00
jrandolf
32c9f3e6fb
chore: update contributing.md ( #8616 )
2022-07-01 16:29:21 +02:00
jrandolf
9fa96600f2
chore: update CI ( #8614 )
2022-07-01 16:00:27 +02:00
jrandolf
8cf10fb7b9
chore: Improve CI ( #8601 )
2022-07-01 15:03:12 +02:00
jrandolf
066f440ba7
feat: add documentation ( #8593 )
2022-07-01 11:52:39 +00:00
Alex Rudenko
329195011f
chore: fix chrome-headless ci ( #8560 )
2022-06-27 12:35:09 +02:00
jrandolf
e499515fd6
chore: add type tests ( #8588 )
2022-06-27 10:57:31 +02:00
jrandolf
988aeabfb2
chore: remove type tests ( #8550 )
2022-06-23 10:02:52 +02:00
Randolf J
b007ee4f50
chore: run CI on any PR branch
2022-06-23 09:12:51 +02:00
Randolf J
f0c17378a0
chore: run only unit tests with coverage in CI
...
This will verify coverage and unit tests without duplicating unit runs.
2022-06-15 12:48:20 +02:00
jrandolf
733cbecf48
chore: use c8 coverage ( #8495 )
2022-06-10 18:49:14 +02:00
jrandolf
75c3f94a54
chore: namespace commands ( #8494 )
2022-06-10 11:55:53 +02:00
dependabot[bot]
328c3f5b08
chore(deps): bump actions/setup-node from 3.2.0 to 3.3.0 ( #8478 )
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v3.2.0...v3.3.0 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-07 14:37:49 +02:00
jrandolf
f2d8276d6e
feat: support node 18 ( #8447 )
2022-06-01 13:53:17 +02:00
Randolf Jung
d54c3ad250
chore: disable node 18 linux check
2022-05-31 18:32:49 +02:00
Randolf Jung
0502395624
chore: add node 18 to CI
2022-05-31 16:55:40 +02:00
Randolf Jung
4ba9950cc5
chore: rename actions
2022-05-31 14:56:44 +02:00