Skip to content

Add 9lives to UI Testing - #115

Open
Desperado wants to merge 1 commit into
cleder:mainfrom
Desperado:add-qualitymax
Open

Add 9lives to UI Testing#115
Desperado wants to merge 1 commit into
cleder:mainfrom
Desperado:add-qualitymax

Conversation

@Desperado

@Desperado Desperado commented Aug 29, 2026

Copy link
Copy Markdown

Summary

Adds 9lives to the UI Testing section — an MIT-licensed Python CLI (pip install 9lives, Python >= 3.10) that repairs UI tests whose locators have drifted.

For Python users it runs your own pytest + Selenium:

9l heal tests/test_checkout.py

It runs the failing spec, classifies the failure, repairs the selector offline from the failure-time page snapshot (no LLM, no network, no account required), re-runs it, and shows a unified diff before applying anything.

It deliberately refuses to rewrite failing assertions — a changed assertion means the application's behaviour changed, not that a selector moved — so it will not mask a real regression to force a green run.

Entry placed first in the UI Testing section, ahead of Agent QA, per digit-before-letter ordering. Branch is rebased on current main, so the diff is a single line.

Context

This replaces #104, which you closed on 2026-08-03. That one proposed QualityMax, a commercial hosted platform. Reading your reasoning on #72 ("I won't include commercial SAAS applications in this list"), that was the wrong submission for this list — so this proposes our open-source package instead.

If it is still not a fit, a one-line "no" is genuinely useful and I won't resubmit.

Disclosure: 9lives is maintained by the QualityMax team; I'm submitting on their behalf.

Summary by Sourcery

New Features:

  • Add 9lives to the UI Testing resources list as an open-source self-healing CLI for pytest and Selenium tests.

@semanticdiff-com

Copy link
Copy Markdown

Review changes with  SemanticDiff

@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@sourcery-ai

sourcery-ai Bot commented Aug 29, 2026

Copy link
Copy Markdown
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Adds the MIT-licensed 9lives Python CLI to the UI Testing resources, positioning it ahead of Agent QA and describing its offline self-healing locator workflow and regression-safe assertion handling.

Flow diagram for the 9lives self-healing UI test workflow

flowchart LR
    CLI["9l heal test"] --> Run["Run pytest + Selenium"]
    Run --> Classify["Classify failure"]
    Classify --> Repair["Repair locator from page snapshot"]
    Repair --> Rerun["Re-run test"]
    Rerun --> Diff["Show unified diff before applying"]
    Classify --> Assertion["Failing assertion"]
    Assertion --> Refuse["Refuse rewrite"]
Loading

File-Level Changes

Change Details Files
Adds 9lives as the first resource in the UI Testing section.
  • Links to the open-source 9lives repository.
  • Describes its offline locator-repair workflow for pytest and Selenium tests.
  • Highlights diff-before-apply behavior and refusal to rewrite assertions.
README.md

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hey - I've reviewed your changes and they look great!

Sourcery assessment

Approved.


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@mergify

mergify Bot commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@llamapreview llamapreview Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LlamaPReview — No blocking issues found

Single README bullet adding a UI-testing CLI entry; no code or contract surface touched, so this documentation edit is safe to merge.

Review details and evidence

LlamaPReview checks

  • Read the complete PR-head file README.md.

LlamaPReview is an open-source pull request reviewer. See how a review is built, from signed webhook to publication.

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