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