Skip to content

docs(examples): add the e2e-electron example (ENG-1586) - #2551

Merged
okwasniewski merged 2 commits into
mainfrom
kacper/eng-1586-docsexamples-add-the-e2e-electron-example-to
Nov 30, 2026
Merged

okwasniewski merged 2 commits into
mainfrom
kacper/eng-1586-docsexamples-add-the-e2e-electron-example-to

Conversation

@kacperkapusciak

@kacperkapusciak kacperkapusciak commented Nov 30, 2026 •

Copy link
Copy Markdown
Member
  • Lists e2e-inc/e2e-electron on e2e.com/examples as an official example, after the other official example repositories.
  • The repo is a demo Electron app, tested with @e2e-dev/electron on macOS, Windows, and Linux with locator tests and agent tests.
  • Slug electron and short title "Electron app", so it doesn't clash with with-electron (feat(examples): add with-electron (ENG-1585) #2547), which takes "Electron".
  • Tags: electron framework, desktop platform. No use case and no icon: electron.svg only lands with feat(examples): add with-electron (ENG-1585) #2547.
  • MIT, like the other e2e-inc/e2e-* example repositories.

Verified

Ran it locally: yes

  • node scripts/check-examples.ts: examples/examples.json: 87 examples OK
  • The entry's repository and license (MIT, from the GitHub API) were checked against the repo on GitHub.

Summary by CodeRabbit

  • New Features
    • Added an official Electron example for desktop apps, with its title, description, repository, author, and license details.

@github-actions github-actions Bot added e2e team Opened by the e2e team size:S Up to 29 changed lines, not counting tests, fixtures, translated docs, or the lockfile labels Nov 30, 2026
@coderabbitai

coderabbitai Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Changes: Electron Example

Layer / File(s) Summary
Register Electron example
examples/examples.json
The registry adds the Electron example metadata, including its repository, author, license, framework, and platform.

Possibly related PRs

  • e2e-inc/e2e#2547: Adds an Electron example to the same registry and provides naming and icon context for this entry.

Suggested reviewers: okwasniewski, jxnxts, bszafranow

Change: Other

Merge Risk: Minimal · up to 59840

This adds an Electron desktop example listing to the examples registry. It is data-only and appears consistent with the registry's schema and validation rules, so merge risk is minimal.

Architecture risk: Low · up to 59840

The change affects 1 source area.

Changed areas: examples

Review details

Systems and components

  • observed — 1 changed file mapped to examples.
Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
Fix failing CI checks

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1949a49a-5eff-4feb-9401-ef031bc1e018
Commits

Reviewing files that changed from the base of the PR and between 75b4724 and 5984017.

Files selected for processing: 1

  • examples/examples.json

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

View guided diff | Turn on auto-fix | Re-trigger cubic

@github-actions

github-actions Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Docs preview

Built from 5984017: https://e2e-inc-docs-pr-2551.vercel.app/docs

Changed pages:

@blacksmith-sh

blacksmith-sh Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Found 2 test failures on Blacksmith runners:

Failures

Test View Logs
tests/integration/test-step.test.ts/test.step around a test timeout >
cuts the call running in a step as the timeout cuts any call, not as one the test did
not await
View Logs
tests/integration/test-step.test.ts/test.step around a test timeout >
cuts the call running in a step as the timeout cuts any call, not as one the test did
not await
View Logs

Fix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0 issues found across 1 file (changes from recent commits).

View guided diff | Turn on auto-fix | Re-trigger cubic

@kacperkapusciak
kacperkapusciak added this pull request to the merge queue Nov 30, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 30, 2026

@okwasniewski okwasniewski left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated review (AI triage pass), not yet read by a maintainer.

Reviewed 598401761. Adds e2e-inc/e2e-electron to the examples registry as an official example; the entry is correct and node scripts/check-examples.ts passes on the branch merged with main (88 examples OK).

Checked: the repository is public, MIT, has LICENSE and README.md on main, so licenseUrl and the README fetch resolve. Slug electron and short title "Electron app" do not clash with with-electron (#2547). Tags electron / desktop exist in the registry. Placement after web-scraper keeps it with the other e2e-inc/e2e-* entries.

Nits

  1. examples/examples.json:1036 - the body skips the icon because electron.svg "only lands with #2547". #2547 is on main now (examples/icons/electron.svg), so "icon": "electron.svg" can be added, like stripe and vercel-previews use theirs.

For the maintainer

  • The example repo pins e2e@0.26.0-nightly-20261130030410 and @e2e-dev/electron@0.0.1-nightly-20261130030410. On npm, @e2e-dev/electron latest is still 0.0.0 and e2e latest is 0.25.0. Listing it as official before the electron release means readers copy nightly pins; bump the repo to the released versions once they publish.

@okwasniewski okwasniewski added the Ready for Human Review Green, conflict-free, every thread handled. Waiting on a maintainer. label Nov 30, 2026
@kacperkapusciak
kacperkapusciak added this pull request to the merge queue Nov 30, 2026
@okwasniewski
okwasniewski removed this pull request from the merge queue due to a manual request Nov 30, 2026
@okwasniewski
okwasniewski merged commit 2b4ec2f into main Nov 30, 2026
69 of 72 checks passed
@okwasniewski
okwasniewski deleted the kacper/eng-1586-docsexamples-add-the-e2e-electron-example-to branch November 30, 2026 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

e2e team Opened by the e2e team Ready for Human Review Green, conflict-free, every thread handled. Waiting on a maintainer. size:S Up to 29 changed lines, not counting tests, fixtures, translated docs, or the lockfile

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants