Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

visual-test

Skill by zulip

Visually verifies UI changes in the Zulip web app using Puppeteer screenshots. Written for developers working on Zulip who need to check layout, colors, positioning, and text in a real browser.

  • Score 89
  • 26k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install visual-test

Built from the published package, never by AI.

git clone --depth 1 https://github.com/zulip/zulip /tmp/zulip && mkdir -p ~/.claude/skills && cp -r /tmp/zulip/.claude/skills/visual-test ~/.claude/skills/visual-test

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install visual-test in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill runs a headless browser against the Zulip test server and takes screenshots at each significant state of a UI change. The assistant writes a Puppeteer test file in web/e2e-tests, runs it with tools/test-js-with-puppeteer, and reads the saved PNG files as images to check layout, colors, positioning, and text content.

The skill also covers reliable waiting, element interaction, and alignment checks using getBoundingClientRect. It suggests before and after screenshot pairs using a SCREENSHOT_SUFFIX environment variable. It is intended for developers contributing to Zulip who need to confirm visual changes in a pull request.

Written from the project's SKILL.md and checked against it.

What it can do

  • Write puppeteer test scriptCreates a _claude_ prefixed Puppeteer test in web/e2e-tests that logs in and takes named screenshots.
  • Run the testRuns a single test with tools/test-js-with-puppeteer against a fresh test server on port 9981.
  • Read screenshotsReads the saved var/puppeteer step PNG files as images to inspect the rendered page.
  • Soft assertionsReports all PASS and FAIL checks in a visual test instead of stopping at the first failure.
  • Measure alignmentUses getBoundingClientRect and zoomed clips to verify alignment rather than relying on screenshots alone.
  • Before and after comparisonProduces paired screenshots from the main branch and the updated branch using SCREENSHOT_SUFFIX.

What you need

  • A Zulip development checkout with the e2e-tests and tools directories
  • Puppeteer test harness from the Zulip repository
  • Node.js with npx for installing Playwright Chromium when needed
  • Playwright Chromium on aarch64 (ARM) hosts

Try asking

  • Use visual-test to check the layout of my new settings page change
  • Write a visual test that screenshots the compose box before and after my color change
  • Run my _claude_ visual test and tell me if the sidebar alignment looks right

Good to know

  • On aarch64 hosts the Puppeteer bundled Chrome does not work, so PUPPETEER_EXECUTABLE_PATH must point to Playwright Chromium.
  • Each test can take 1 to 3 minutes.
  • Test files are left untracked and should not be committed.
  • Tests run headless with no display server.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/visual-test/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md13 KB

Alternatives to visual-test

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

visual-test: common questions

Does visual-test work on ARM Macs or aarch64 Linux?

The source says Puppeteer's bundled Chrome fails on aarch64, so you must set PUPPETEER_EXECUTABLE_PATH to a Playwright Chromium install.

Where are the screenshots saved?

The source says screenshots are saved to var/puppeteer/ with the name given in each screenshot call.

Should the generated test files be committed?

No. The source says to leave them as untracked _claude_ files so they can be reused, and not to commit them.

How do I install visual-test?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is visual-test free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is visual-test safe to use?

It scores 89 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to visual-test?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

visual-test Install

Add to stack

Loading.