Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
32 KiB
@e2e-dev/github
0.4.7
Patch Changes
-
#1887
198d25fThanks @samanyudas! - After a rerun, the merged report counts a serial test that callstest.fixme()in its body as executed, as it does fortest.skip(). The pull request comment does not change. -
#2151
29a7559Thanks @michal-e2e! - A sharded run's report now records its shard asrun.shard { index, total }, and marks each test this invocation's cut gave to another shard withskip.otherShard: true. A--last-failedrerun writesreport-with-reruns.jsonbeside its report: the first run and every rerun since as one report. It also hands its reporters every earlier run folded together aslastRun, throughfoldLastRun, now exported frome2e. The@e2e-dev/githubcomment after a second rerun no longer shows the first pass's passing tests as not run, and a second rerun keeps the first run's evidence on disk. The fold drops deleted tests and explains failures of out-of-shard consumers without counting them in the shard's totals.@e2e-dev/githubnow needse2e0.25.0 or later. -
#2015
23aa697Thanks @satya164! ---stepandscreen.pause()keys now appear below the live summary, withsfor the screen andlfor the app log. Time when every running worker is paused is excluded from the terminal'sDurationrow and the report's newrun.durationMsfield.
0.4.6
Patch Changes
- #1965
60d29cfThanks @szymonrybczak! - List the maintainers'@e2e.comaddresses incontributors.
0.4.5
Patch Changes
- #1672
3735887Thanks @okwasniewski! - Move GitHub repository metadata and CLI links to e2e-inc/e2e after the organization rename. Register the MCP server as io.github.e2e-inc/e2e.
0.4.4
Patch Changes
- #1438
d181e26Thanks @okwasniewski! - Ane2e explorerun posts its own pull request comment. Before, a job that rane2e runand thene2e explorereplaced the test results comment with the exploration's. Test run comments keep their marker, so the comments already on open pull requests are still updated. An exploration comment an earlier version posted keeps the test run's marker: the nexte2e exploreposts a new comment beside it, and a test run in the same job takes it back. A--last-failedrerun no longer folds in an exploration's report that shares its output directory.
0.4.3
Patch Changes
- #1206
da13624Thanks @okwasniewski! - Add test filters:filters: [decisionFilter({ model })]from@e2e-dev/decisionleaves out the tests a change can't affect. They run with--changed-since <ref>, such asorigin/mainon a pull request; without the flag every test runs.e2e list --changed-since origin/mainpreviews the decision, and left-out tests show in the pull request comment,junit.xml, and the report. A run with nothing to run starts no engine or app, and after Ctrl-C, or a reporter that runs past its deadline, the CLI exits as soon as the output is written.
0.4.2
Patch Changes
- #1038
aa9699aThanks @rudycelekli! - Distinguish GitHub primary and secondary API rate limits from read-only token failures in reporter diagnostics.
0.4.1
Patch Changes
- #1161
ce4dac3Thanks @okwasniewski! - The reporter now updates a pull request comment only when its token's user wrote it. WithGITHUB_TOKENor a GitHub App token, which can't look up their user, any bot account's comment matches.
0.4.0
Minor Changes
-
#790
0d1ed15Thanks @okwasniewski! - Breaking: e2e and every@e2e-devpackage now need Node.js 22.22.3 or newer on Node.js 22, or 24.8.0 or newer (engines.nodeis^22.22.3 || >=24.8.0). Node.js 22.12 through 22.22.2, 23, and 24.0 through 24.7 are no longer supported, and the CLI refuses to start on them, naming the versions to upgrade to. Those releases fail when a CommonJS file a test imports requires TypeScript through the new loader'smodule.registerHooks(nodejs/node#59679 fixed it in 22.22.3 and 24.8.0).e2e now loads TypeScript with its own loader, built on oxc, instead of tsx. tsx brought in esbuild, whose postinstall script made every
pnpm installon pnpm 11 and later fail withERR_PNPM_IGNORED_BUILDSuntil the project approved the build; nothing e2e installs runs an install script now. Config and tests load as before: ESM whateverpackage.jsonsays,./x.jsand./xresolve tox.tsand./x.jsxtox.tsx, directory index imports, tsconfigpathsandbaseUrl, workspace packages exporting.tssource, JSX in.tsxand.jsx, enums, namespaces,experimentalDecorators, and source-mapped stack traces. JSON imported withoutwith { type: 'json' }still loads. A test file whose name holds%,#, or a space now collects with its source location instead of failing with "URI malformed" or losing the location. Each file reads its nearesttsconfig.jsonrather than the one in the working directory. What changes:importstatements in a.ctsfile are no longer compiled intorequirecalls (writeimport x = require()); standard decorators withoutexperimentalDecorators, auto-accessors, and ES moduleimportand valueexportdeclarations in.ctsare refused with their line (import type,export type,import x = require(), andexport =work); the CLI refuses the Bun (bun --bun) and Deno runtimes (install with any package manager, run on Node.js); a type imported withoutimport typethat stays in the output (a decorated member's type underemitDecoratorMetadata) fails to load, with an error naming the import; a.tsfile a CommonJS file requires runs as an ES module like every other.ts, so one written withmodule.exportsneeds the.ctsextension; and an import written in a JavaScript file resolves as Node.js resolves it, without TypeScript's extension rules or tsconfigpaths. TypeScript inside an installed package compiles without the project'stsconfig.json.
0.3.3
Patch Changes
-
#713
7ab80bcThanks @okwasniewski! - Breaking: an interrupted test is no longer counted as failed.report.jsongainsrun.summary.interrupted, andrun.summary.failedcounts only failed and timed-out tests.run.summary.skippednow counts only selected tests, sopassed + failed + interrupted + flaky + skippedequalsselected; the tests a filter left out arediscovered - selected. Thelistreporter prints3 interruptedin its own column,summary.mdshows them with ⏹️ and gives them no failure block or page, andjunit.xmlwrites each one as a<skipped>whose message startsinterrupted:. A test that failed and whose retry an interrupt cut short stays failed, and its failure is the one reported. A--repeat-eachrun the interrupt stopped is listed as interrupted, not as a flake. The telemetry event gainstests_interrupted. In@e2e-dev/github, a test that was interrupted and then passed on a--last-failedrerun shows as passed, not flaky. -
#724
3a9667cThanks @okwasniewski! ---last-failedno longer goes green on tests it never ran. It reruns tests--max-failuresskipped, and a test or failedbeforeAll/afterAllanother filter leaves out stays owed in the report's newrun.carrieduntil a rerun runs it. A rerun also keeps the artifacts of the run it reruns and writes its own underartifacts/rerun-<n>/in the output directory (.e2eby default), so the folded pull request comment keeps its evidence and stays red while anything is owed.
0.3.2
Patch Changes
-
#720
62bfe0aThanks @okwasniewski! - Two matrix jobs whosekey, workflow, or job differ only after the first 200 encoded characters now keep their own pull request comments instead of overwriting one. A long field's marker ends in a digest of the whole value; markers of shorter fields are unchanged, so existing comments are still found. A job with a field that long posts one new comment after upgrading and leaves its old one behind. The reporter only takes a comment whose first line is its marker, so a reply quoting the marker is never edited. -
#763
b573756Thanks @okwasniewski! - Installinge2epulls in 29 packages instead of 117 and takes about 31MB instead of 36MB.e2e mcpnow runs on the split MCP SDK (@modelcontextprotocol/server2.2.0) in place of@modelcontextprotocol/sdk, which brought in express, hono, and the rest of an HTTP server stack that stdio never used. The server keeps the same protocol version, so existing clients connect as before. Packages are built and published without sourcemaps, which pointed at asrc/that was never shipped. Stack traces showdist/positions.
0.3.1
Patch Changes
- #706
1a80c23Thanks @okwasniewski! - npm package pages:e2eships the repository README, and every package has keywords people search for.
0.3.0
Patch Changes
- #682
e4fca9dThanks @okwasniewski! -@e2e-dev/githubinstalls next to a stablee2eagain. The published builds pinned theire2epeer to one canary build, sonpm installrefused to resolve it against a versioned runner.
0.3.0-canary-20260928184528
Minor Changes
- #602
67c29fcThanks @okwasniewski! - The engines and the reporter publish under the@e2e-devscope:@e2edev/webis@e2e-dev/web,@e2edev/mobileis@e2e-dev/mobile, and@e2edev/githubis@e2e-dev/github. The@e2edevpackages get no new releases. To move, swap the dependencies (npm uninstall @e2edev/web && npm install --save-dev @e2e-dev/web) and rewrite the imports:from '@e2edev/web'becomesfrom '@e2e-dev/web', and the same for@e2edev/mobile,@e2edev/mobile/tools, and@e2edev/github.e2e initinstalls and imports the new names.
Patch Changes
- #537
61603e6Thanks @okwasniewski! - A--last-failedrerun updates the pull request comment as one run instead of shrinking it to the tests it ran again. The tests the rerun left out keep their results from the run it selected from, a test that failed and then passed shows as flaky with both runs' attempts, a test that failed again stays failed, and the counts cover the whole suite, soe2e run || e2e run --last-failedin one step leaves a comment that says what the job's status says. - Updated dependencies [
89e2a19,f9f49f4,676a015,8ff15d7,786f65d,c089fa6,61603e6,90356f1,301e71d,ac3eb57,67c29fc,c1e9029,dceae62,cf59269,3e1a568,75e4145,cb84c13,21b43b6,299c546,2e96878,a399bac,d0359eb,d6947bc,11a286d,bad98ea,93b45b7,d87465b,eaac502,cef69d2]:- e2e@0.15.0-canary-20260928184528
0.3.0-canary-20260924194828
Patch Changes
- #432
9614834Thanks @okwasniewski! - The peer range one2eis>=0.15.0 <1again instead of the exact version of one runner build, so updatinge2ealone no longer leaves an unmet peer that npm refuses with ERESOLVE, and a runner release no longer republishes the engines and the reporter. - Updated dependencies [
7d93c08,ed151e0,cc691d4,66fb1e3,2ee94cc,3c52f93,8802b0f,edbb84f,ee4929d,91cacc9,4314f5f,1de46ce,7ef3553,881afee,7aa0ffe,943de73,920ac4e,e95135d,18cb9fc,7753859,cdc4109,e2b5570,0dcf6a4,c975fb2,1cb0c73,fa41517,9c847ba,3bbcc96,6efc77d,920ac4e,a0df697,a9f8256,cc23e51,5aaac75,778fccc,4305718,33044a7]:- e2e@0.15.0-canary-20260924194828
0.3.0-canary-20260922161512
Patch Changes
-
#422
b71ecc0Thanks @okwasniewski! - Source links in the pull request comment resolve for a project below the checkout root. The report's files are relative to the project root, so a suite inpackages/e2e-testslinked toblob/<sha>/tests/...and 404ed; the link now carries the project's path insideGITHUB_WORKSPACE.Evidence links open the run page's Artifacts section (
actions/runs/<id>#artifacts) and the page names each file's path inside the upload, so a reader finds the screenshot or trace in the downloaded artifact instead of landing on the run page. -
Updated dependencies [
707c894,b71ecc0]:- e2e@0.15.0-canary-20260922161512
0.3.0-canary-20260922135036
Patch Changes
- Updated dependencies [
eb739e9,4c93414,a577da3,a583a88,0f864ad,2b9361f,2e4d40e,0e525a0,f01c01f,d043035,dcfe53a,ae930bb,856e088]:- e2e@0.15.0-canary-20260922135036
0.3.0-canary-20260921180210
Patch Changes
- Updated dependencies [
54c0dba,f7f86d9,2e18196,9f2b73f,f5e96d0]:- e2e@0.15.0-canary-20260921180210
0.3.0-canary-20260921154506
Patch Changes
- #373
ca5e619Thanks @okwasniewski! - Relicense from MIT to Apache-2.0. The package ships the license text and aNOTICEfile. - Updated dependencies [
45c08b1,ca5e619,d438348,b9abd60,c1d23b2,ea27708,195bd0d,da6b939,fb6e336,f09b69e,f3d61e8,d746ce4,d7d843a,bd2a9a6,fb6e336,e9c2914,91dcd30,ddf9747,9fbba0b]:- e2e@0.15.0-canary-20260921154506
0.3.0-canary-20260917213813
Patch Changes
- Updated dependencies [
ba8d9ba,15081f3,b558e78,d3afa6b,ed3999e,95b3d7f,99f9ea8]:- e2e@0.15.0-canary-20260917213813
0.3.0-canary-20260917081546
Minor Changes
- #310
4c76360Thanks @okwasniewski! - The reporter'skeyalso names the comment in its headline (e2e chromium: 77 passed), so two jobs posting to one pull request read apart. The comment itself takes the new page layout frome2e: no file table, flaky tests folded, one line of small print.
Patch Changes
- Updated dependencies [
0a4b7f4,0b513d9,1c9cc16,9c835ba,7fcb925,9249de2,2e593df,3524a59,6016083,4c76360,17283c8,d3afa6b]:- e2e@0.15.0-canary-20260917081546
0.3.0-canary-20260914134810
Patch Changes
0.3.0-canary-20260914095510
Patch Changes
0.3.0-canary-20260914081513
Minor Changes
- #294
c2c5df7Thanks @okwasniewski! - The runner is published ase2e.@e2edev/e2eis retired and deprecated on npm; every import, config, and peer range now namese2e(e2e,e2e/agent,e2e/engine). The engines and the GitHub reporter declare their peer dependency one2e, so a project on@e2edev/e2emust switch the runner toe2ewhen it takes these versions. The CLI keeps itse2ebin name.
Patch Changes
- #293
e301105Thanks @okwasniewski! - Publishes as a public package, like the rest of the@e2edevscope. - Updated dependencies [
abf1958,aa3b05b,e301105,d486e40,799b29f,c2c5df7]:- e2e@0.15.0-canary-20260914081513
0.2.0
Minor Changes
- #284
8811ba7Thanks @okwasniewski! - A built-inmarkdownreporter writes the run as one markdown page,.e2e/summary.mdbesidereport.json, laid out for a pull request: a headline with the counts and, when the agent ran, what the run spent (agent steps, cache replays, model calls, tokens, cost); run-level errors; one block per test that failed or was flaky with its error, the step it went wrong at, the agent's own explanation of what it saw, the attempt's step timeline, and the paths of its evidence from the project root; a table with one row per test file; and every test folded away, grouped by file. Ane2e explorerun renders its record instead: the goal and steps, every finding with what was expected, what the screen showed, the actions that reach it, and its screenshot, then the assessment. It is the text a coding agent pastes into a pull request or a handoff instead of retelling the result.renderMarkdownReport(report, { artifactsUrl, artifactsDir, sourceUrl })is exported from the main entrypoint for a reporter that posts the page elsewhere.@e2edev/githubposts this page as the pull request comment in place of its one table of tests that did not pass; itsrenderComment,CommentOptions,MAX_MARKER_CHARS, andMAX_URL_CHARSexports are gone (nothing consumed them), and the package now needs@e2edev/e2e0.13 or later.e2e initignores.e2e/summary.md.
0.1.0
Minor Changes
- #246
a0a4df0Thanks @okwasniewski! - The GitHub reporter.reporters: ['list', github()]posts one pull request comment per run from GitHub Actions and keeps it current across reruns: the counts, the run-level errors, one row per test that did not simply pass with its error and the evidence it left, the passed tests folded away, links to each test's source at the PR head and to the workflow run where the artifacts are. The same text goes to the job summary, pull request or not. It readsGITHUB_TOKEN(orGH_TOKEN) and the event when the run finishes;keytells matrix replicas' comments apart. Off GitHub Actions, on a push, or without a token it posts nothing and says so in one summary row.renderCommentis exported so another host can render the same comment from a report-1 document.