Alex Rudenko
f8fb2a9236
test: drop node20 code in tests ( #2146 )
2026-05-27 11:12:22 +00:00
Alex Rudenko
82b67b07d3
refactor: add support for CLI sessionIds in tests ( #1919 )
...
Closes https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/1119
2026-04-22 08:15:36 +00:00
Nicholas Roscino
ec895f195a
refactor: use puppeteer Extension API ( #1911 )
...
This PR refactor the extension usages using the new Puppeteer API.
Requires puppeteer release before merging
2026-04-20 14:38:48 +00:00
Alex Rudenko
e102a43bab
test: try things to reduce flakiness ( #1879 )
2026-04-16 15:35:34 +00:00
Nikolay Vitkov
6ba1816173
test: add debug logs when running GitHub actions in debug ( #1878 )
2026-04-16 12:50:27 +00:00
Nikolay Vitkov
764b9cf406
chore: some build and test fixes ( #1861 )
...
Under some cases one could not re-build correctly due to the directory
being remove.
And we can save some CPU cycles in test to disable the update checker.
2026-04-14 15:26:11 +00:00
Alex Rudenko
728d90208d
test: speed up .only ( #1846 )
...
the node test framework runs not only tests respecting
`--test-concurrency=1` but also discovery of the tests (import of the
files). This makes the `npm run test:only` slow. This PR checks ahead of
times which files have .only and only tells the node test runner to
import those.
2026-04-10 10:46:52 +00:00
Alex Rudenko
b5b9a7753b
test: fix install of chrome in test.mjs ( #1087 )
...
This is used by some extension tests that rely on new CDP capabilities.
cc @nroscino
2026-03-03 20:43:53 +00:00
Alex Rudenko
109bf43e4c
chore: fix arg forwarding in CLI ( #1084 )
...
Drive-by: e2e tests for major scenarios.
Drive-by: make stopDaemon more robust.
2026-03-03 17:47:01 +00:00
Nicholas Roscino
8dbf862549
test: installing chrome through test script ( #1085 )
...
Fixes local test failing for triggerAction on extensions.
2026-03-03 16:06:18 +00:00
Alex Rudenko
5696cce035
test: do not suppress uncaught errors in tests ( #1008 )
...
We want to suppress uncaught errors in production because we do not want
to crash the entire server. But it might be useful in tests.
2026-02-20 13:10:24 +00:00
Alex Rudenko
a2950e2e62
test: deflake network test ( #994 )
...
drive-by: switch to dot reporter locally and make it configurable
2026-02-19 13:34:07 +00:00
Alex Rudenko
c0435a2d53
fix: disable usage statistics when CI or CHROME_DEVTOOLS_MCP_NO_USAGE_STATISTICS env is set ( #862 )
...
When CI or CHROME_DEVTOOLS_MCP_NO_USAGE_STATISTICS env variables are
set, we override the set cli args and disable the usage statistics.
2026-01-30 07:58:45 +00:00
Alex Rudenko
a83a338351
fix: increase timeouts for long text input ( #787 )
...
Fixes https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/786
2026-01-19 13:01:41 +00:00
Alex Rudenko
9b21f8b2e9
fix: handle beforeunload dialogs in navigations ( #788 )
...
Closes https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/713
2026-01-19 10:04:45 +00:00
Alex Rudenko
10baac9c48
test: add a retry for the merge queue ( #762 )
...
The tests need to pass checks before being added to the merge queue so
we can avoid merge queue failures in case there are flaky tests.
2026-01-13 12:03:17 +00:00
Alex Rudenko
c4e493b411
test: support testing a single test file without only ( #761 )
...
This PR adds a test.ts wrapper over the test runner to simplify scripts
in package.json and allow running a single test file.
2026-01-13 11:53:54 +00:00