e2e-testing
Skill by langflow-ai
Write, fix and review Playwright end-to-end tests for the Langflow UI. Aimed at developers who change Langflow frontend specs, data-testid attributes, or test helpers in tests/utils.
Install e2e-testing
Built from the published package, never by AI.
git clone --depth 1 https://github.com/langflow-ai/langflow /tmp/langflow && mkdir -p ~/.claude/skills && cp -r /tmp/langflow/.agents/skills/e2e-testing ~/.claude/skills/e2e-testingRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/langflow-ai/langflow /tmp/langflow && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/langflow/.agents/skills/e2e-testing ~/.gemini/antigravity-cli/skills/e2e-testingAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill guides an AI assistant through writing, fixing and reviewing Playwright end-to-end tests for Langflow. It covers the tech stack, key test commands, the Playwright configuration, the test directory layout and file naming rules. It also explains the required tagging system and the custom fixtures that fail a test when API errors or flow execution failures occur.
The skill describes shared helper functions in tests/utils, selector priorities with common data-testid patterns, and the inspection panel steps. It is written for developers working on the Langflow frontend who add or change E2E specs, data-testid attributes, or test helpers. The source says unit tests and backend tests are handled by other skills.
Written from the project's SKILL.md and checked against it.
What it can do
- Write E2E testsGuides writing Playwright specs for a feature or user flow in Langflow.
- Fix failing E2E testsCovers how to repair an existing failing Playwright test.
- Review test coverageHelps review E2E test coverage for the Langflow UI.
- Tagging rulesExplains the required @release tag and the six allowed domain tags.
- Custom fixturesDescribes error detection for API responses and flow execution failures.
- Selector strategySets selector priority and lists common data-testid patterns.
- Helper functionsDocuments shared helpers such as awaitBootstrapTest and initialGPTsetup.
- Inspection panel patternExplains the steps to open the field editor in the inspection panel.
What you need
- Node.js (npx and npm commands are used)
- Playwright 1.59.1
- Langflow repository with src/frontend
- Python backend started by Playwright on port 7860
Try asking
- Write a Playwright E2E test for creating and running a blank flow
- Review the E2E test coverage for the Langflow playground feature
- Fix this failing Playwright spec that uses getByTestId in Langflow
Good to know
- Chromium is the default browser. Firefox and Safari are disabled.
- Every E2E test must carry the @release tag.
- Only six tags are allowed. New tags should not be invented.
- Fields with a global variable render a badge, so the input test id is not found.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/e2e-testing/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md13 KB -
references/fixtures.md3 KB -
references/helpers.md6 KB -
references/selectors.md5 KB
Alternatives to e2e-testing
All alternatives →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.
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.
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.
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.
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.
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.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
e2e-testing: common questions
Does this skill write unit tests?
No. The source says unit tests use the frontend-testing skill for Jest, and backend tests use the backend-code-review skill for pytest.
Why must tests import from fixtures instead of @playwright/test?
The custom fixture monitors /api/ responses and fails the test on HTTP 400, 404, 422, or 500 errors and on flow execution errors. Importing from @playwright/test bypasses this detection.
How do I run only release tests in Langflow?
Use npx playwright test with --grep "@release". The source also lists --grep for @workspace and @starter-projects.
How do I install e2e-testing?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is e2e-testing free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is e2e-testing safe to use?
It scores 94 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 e2e-testing?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
