e2e-testing

Automates Playwright-based end-to-end testing for the Langflow UI.

153k|9.8k|Updated Feb 8, 2023
One-click install
npx skills add https://github.com/langflow-ai/langflow --skill e2e-testing-langflow-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: e2e-testing
Source: https://github.com/langflow-ai/langflow/tree/main/.agents/skills/e2e-testing
Command: npx skills add https://github.com/langflow-ai/langflow --skill e2e-testing-langflow-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Langflow UI often requires robust end-to-end tests to catch regressions across the full user journey. Writing, updating, and maintaining Playwright-based tests can be error-prone without standardized helpers and references.

Core Features & Use Cases

  • Create, fix, and review Playwright E2E tests for Langflow features and UI flows.
  • Use centralized references and utilities to ensure consistency with selectors, fixtures, and test patterns.
  • Validate UI behavior across components using stable data-testid selectors and the provided helper functions.

Quick Start

Install dependencies and run the Playwright test suite to begin creating and validating tests.

Frequently Asked Questions about e2e-testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write Playwright E2E tests for frontend UI workflows?

Create Playwright E2E tests by utilizing centralized references, stable data-testid selectors, and repository-specific helper functions to validate full user journeys and catch UI regressions consistently.

How does a custom fixture help with API error detection in E2E testing?

Custom fixtures for API error detection automatically intercept and validate backend failures during your UI test execution, ensuring that your end-to-end workflows correctly handle API errors without requiring manual assertion logic.

Do I need to install dependencies before running Playwright test specs?

Yes, you must install dependencies and run the Playwright test suite to begin creating and validating tests, ensuring the required test runners and browser binaries are available for executing your frontend specs.

What is the best way to review and update existing E2E tests?

The best way to review and update E2E tests is to cross-reference existing Playwright specs and test helpers against the centralized references and utilities, ensuring selectors and test patterns remain standardized.

Why does my Playwright test fail when selectors change in the frontend?

Playwright tests fail when selectors change if they do not use stable data-testid attributes; relying on centralized references and stable selectors ensures tests remain robust against minor UI styling updates.