Skip to content

test(e2e): share the end-to-end test helpers - #133

Open
PiquelChips wants to merge 1 commit into
feat/sync-benchfrom
feat/sync-test-helpers
Open

PiquelChips wants to merge 1 commit into
feat/sync-benchfrom
feat/sync-test-helpers

Conversation

@PiquelChips

Copy link
Copy Markdown
Member

The sync tests drive several users and a server, which the CLI and serve tests each did with their own copies of the helpers.

tests/common now holds the helpers every end-to-end test shares:

  • User: a configuration directory, with its node key.
  • Repo: a working copy of a user, with the crash helpers the CLI tests use.
  • Server: a running origin serve hosting demo.

The CLI and serve tests use them; nothing they test changes.

Note

Written by Claude Opus 5.5 in Claude Code (via T3 Code)

@coderabbitai

coderabbitai Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 34 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 0110f65b-98c9-4276-9bce-6f093fc73022
Commits

Reviewing files that changed from the base of the PR and between 28e27f3 and 05a6e71.

Files selected for processing: 4

  • AGENTS.md
  • apps/origin-src/tests/cli.rs
  • apps/origin-src/tests/common/mod.rs
  • apps/origin-src/tests/serve.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@PiquelChips
PiquelChips added this pull request to stack #165 November 22, 2026 14:59
@PiquelChips
PiquelChips force-pushed the feat/sync-test-helpers branch from 36a513a to 02c68b0 Compare November 22, 2026 15:04
@PiquelChips
PiquelChips force-pushed the feat/sync-test-helpers branch 2 times, most recently from 1944cc9 to 6ffad9b Compare November 22, 2026 18:54
The sync tests will drive several users and a server, like the CLI and
serve tests do on their own. `tests/common` now holds the helpers every
end-to-end test shares: `User`, a configuration directory with its node
key, `Repo`, a working copy of a user, with the crash helpers the CLI
tests use, and `Server`, a running `origin serve` hosting `demo`. The
CLI and serve tests use them instead of their own copies.
@PiquelChips
PiquelChips force-pushed the feat/sync-test-helpers branch from 6ffad9b to 05a6e71 Compare November 22, 2026 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant