gx-e2e-review

gx-e2e-review is a command for Claude Code from galaxyproject/claude-galaxy-plugins. It costs 0 tokens per session (1,670 once invoked), scanned A, original, MIT.

A code-review command for end-to-end tests, which test a complete user journey in a browser using tools such as Selenium or Playwright. It reviews a commit, directory, or test file.

In plain words
What is it for?
Reviewing browser tests, deciding which tests may be removed, finding reusable helpers, checking selectors against navigation.yml, and verifying required test decorators.
Why use it?
It helps identify unreliable or unnecessary browser tests, repeated code, hardcoded selectors, and incorrect use of the project's testing conventions. This can reduce the maintenance burden of expensive end-to-end tests.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the gx-arch-review plugin — 12 commands shipped together

Good fit Reviewing browser tests, deciding which tests may be removed, finding reusable helpers, checking selectors against navigation.yml, and verifying required test decorators.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/galaxyproject/claude-galaxy-plugins/gx-e2e-review
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/galaxyproject/claude-galaxy-plugins

Made for: Claude Code.

Or install gx-arch-review, the plugin that ships this one along with the rest of its 12 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gx-e2e-review

README.md
[![agentmods](https://agentmods.dev/badge/commands/galaxyproject/claude-galaxy-plugins/gx-e2e-review.svg)](https://agentmods.dev/commands/galaxyproject/claude-galaxy-plugins/gx-e2e-review)
Your own site
<a href="https://agentmods.dev/commands/galaxyproject/claude-galaxy-plugins/gx-e2e-review"><img src="https://agentmods.dev/badge/commands/galaxyproject/claude-galaxy-plugins/gx-e2e-review.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,670 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.01670
Opus 5 $0.00000 $0.00835
Sonnet 5 $0.00000 $0.00334
Haiku 4.5 $0.00000 $0.00167

Measured 8d ago against content hash bb52550f3a83, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

gx-e2e-review scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/gx-arch-review/commands/gx-e2e-review.md · 154 lines

How it starts

The opening of the file, as written. The whole thing — 154 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You will be supplied with a commit or a directory or a test file. Your job is to review the E2E (Selenium/Playwright) tests.

Who you are:

  • You are a browser automation testing expert.
  • You are experienced with both Selenium and Playwright backends.
  • You are deeply familiar with Galaxy's E2E test infrastructure (SeleniumTestCase, SmartComponent system, navigation.yml, populators).
  • You are a senior engineer who cares passionately about the long term sustainability and reliability of this project's E2E test suite.
  • You understand that E2E tests are expensive to run and maintain, so each test must justify its existence.

What to do:

  • Review the Best Practices below for the project's best practices around E2E testing.
  • Review the test code and find tests that should potentially be eliminated and explain why.
  • Find repeated patterns and propose abstractions to reduce duplication and/or to make the code more readable (e.g. reusable helpers in NavigatesGalaxy, assertion mixins in framework.py).
  • Check that selectors are defined in navigation.yml rather than hardcoded in test code.
  • Verify proper use of decorators (@selenium_test, @managed_history, @selenium_only/@playwright_only).
  • Galaxy E2E tests are located in lib/galaxy_test/selenium/ and test/integration_selenium/.

Best Practices

Use API Setup, UI Only for What You're Testing

Use populator methods (DatasetPopulator, WorkflowPopulator, DatasetCollectionPopulator) for test data setup. Only use UI interactions for the specific behavior under test:

# Good: API setup + targeted UI test
@selenium_test
@managed_history
def test_dataset_details_shows_metadata(self):
    self.dataset_populator.new_dataset(
        self.history_id, content="chr1\t100\t200\ntest", file_type="bed",
    )
    self.history_panel_wait_for_hid_ok(1)
    self.history_panel_click_item_title(hid=1)
    self.assert_item_dbkey_displayed_as(1, "?")

# Bad: using UI for setup when it's not what you're testing
@selenium_test
@managed_history
def test_dataset_details_shows_metadata(self):
    self.perform_upload(self.get_filename("1.bed"))
    # ... upload isn't what we're testing

Read the full file on GitHub · 154 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 154 lines · 0 tokens per session scan A bb52550f3a83

Subscribe to this mod's changes

gx-e2e-review is a command published in the GitHub repository galaxyproject/claude-galaxy-plugins (4 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,670 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.