write-e2e-test

Develop end-to-end tests for IssuePit using C#, xUnit, Playwright, and Kafka.

1|Updated Feb 28, 2026
One-click install
npx skills add https://github.com/issuepit/issuepit --skill write-e2e-test-issuepit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: write-e2e-test
Source: https://github.com/issuepit/issuepit/tree/main/skills/write-e2e-test
Command: npx skills add https://github.com/issuepit/issuepit --skill write-e2e-test-issuepit

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill enables the creation and maintenance of comprehensive end-to-end tests for the IssuePit platform, ensuring its reliability and functionality across API, UI, and event-driven flows.

Core Features & Use Cases

  • API Testing: Write tests for API endpoints using HttpClient and xUnit.
  • UI Testing: Develop Playwright tests for the frontend, utilizing Page Object Models.
  • Kafka Event Assertions: Verify that Kafka events are published correctly with the expected payloads.
  • Use Case: When a new feature like "issue assignment" is developed, use this Skill to write API tests that create an issue, assign a user, and assert the correct Kafka event is published, alongside UI tests that verify the assignment is visible on the dashboard.

Quick Start

Use the write-e2e-test skill to add a new UI test for the project creation flow.

Frequently Asked Questions about write-e2e-test

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

FAQPage Schema
How do I write E2E tests for API, UI, and Kafka event flows?

You can write E2E tests for API, UI, and Kafka flows using C# with xUnit, Playwright, and HttpClient. This combination validates API endpoints, frontend UI interactions, and Kafka event payloads within a single testing framework.

How do I structure Playwright UI tests for maintainability?

Structure Playwright UI tests using the Page Object Model pattern. This design separates web element locators and behaviors from test logic, ensuring maintainable end-to-end test suites for frontend feature validation.

How do I assert Kafka events in an xUnit test suite?

Assert Kafka events in an xUnit test suite by consuming published messages and verifying their payloads match expectations. This validates event-driven scenarios, ensuring platform actions trigger correct Kafka events.

Does this E2E testing approach require specific naming conventions?

Yes, this E2E testing approach requires adherence to specific naming conventions for test components. Following these standards alongside Page Object Model patterns ensures long-term maintainability and reliability of the test suite.

Can I test feature regression across API and UI using C#?

Yes, you can test feature regression across API and UI using C# and xUnit. Develop tests that create data via HttpClient, assert Kafka events, and verify UI visibility using Playwright to validate comprehensive user flows.