playwright-e2e-tests

Develop and maintain Playwright end-to-end tests for the Onyx application.

305|81|Updated Oct 23, 2025
One-click install
npx skills add https://github.com/onyx-dot-app/onyx-foss --skill playwright-e2e-tests
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: playwright-e2e-tests
Source: https://github.com/onyx-dot-app/onyx-foss/tree/main/.cursor/skills/playwright
Command: npx skills add https://github.com/onyx-dot-app/onyx-foss --skill playwright-e2e-tests

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a robust framework and clear guidelines for writing and maintaining end-to-end (E2E) tests for the Onyx application using Playwright, ensuring application stability and quality.

Core Features & Use Cases

  • E2E Test Development: Create new E2E tests for various application features.
  • Test Debugging: Analyze and fix failing E2E tests.
  • Coverage Improvement: Add tests to increase overall application test coverage.
  • Use Case: When a new chat feature is developed, use this Skill to write comprehensive E2E tests that cover user interactions, message sending, and AI responses, ensuring the feature works as expected across different scenarios.

Quick Start

Use the playwright skill to write a new E2E test for the user authentication flow.

Frequently Asked Questions about playwright-e2e-tests

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

FAQPage Schema
How do I write maintainable Playwright E2E tests for web applications?

To write maintainable Playwright E2E tests, utilize absolute imports, API-based authentication, and a structured locator strategy to ensure robust test suites across features like chat and administration.

What is the best way to structure Playwright end-to-end tests for new features?

The best way to structure Playwright end-to-end tests is by covering user interactions, message sending, and AI responses comprehensively. This structured locator strategy ensures new features work as expected across different scenarios.

How do I debug failing Playwright E2E tests?

Debug failing Playwright E2E tests by analyzing the application features covered, such as authentication, administration, chat, assistants, and connectors, to identify breakdowns in user interactions or API-based authentication processes.

Can I use API-based authentication in Playwright end-to-end tests?

Yes, you can use API-based authentication in Playwright end-to-end tests. Utilizing API-based authentication is a core strategy to make test suites more robust and maintainable when covering complex application features.

Why do my Playwright E2E tests fail after adding new chat features?

Playwright E2E tests fail after adding new chat features because the test suite lacks comprehensive coverage. Adding tests for user interactions, message sending, and AI responses ensures the feature works as expected across scenarios.