l-write-block-e2e

Generate Playwright end-to-end tests for Lowdefy blocks.

3.0k|186|Updated Oct 1, 2020
One-click install
npx skills add https://github.com/lowdefy/lowdefy --skill l-write-block-e2e
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: l-write-block-e2e
Source: https://github.com/lowdefy/lowdefy/tree/main/.claude/skills/l-write-block-e2e
Command: npx skills add https://github.com/lowdefy/lowdefy --skill l-write-block-e2e

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the generation of comprehensive end-to-end (E2E) tests for Lowdefy blocks, significantly reducing the manual effort required for testing block functionality.

Core Features & Use Cases

  • Automated Test Generation: Creates Playwright E2E tests based on block structure and behavior.
  • Comprehensive Coverage: Ensures testing of block rendering, properties, events, and user interactions.
  • Use Case: When developing a new Ant Design-based input block for Lowdefy, use this Skill to quickly generate a robust suite of E2E tests that cover its basic rendering, different property states (like disabled or different sizes), and event handling (like onChange or onBlur).

Quick Start

Use the l-write-block-e2e skill to generate tests for the Button block in the Ant Design components package.

Frequently Asked Questions about l-write-block-e2e

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

FAQPage Schema
How do I generate Playwright E2E tests for Lowdefy blocks?

To generate Playwright E2E tests for Lowdefy blocks, use this Skill to automate test creation for block rendering, properties, and event handling. It requires specific block E2E infrastructure setup within the block's package.

What is the best way to automate E2E testing for custom Lowdefy blocks?

Automating E2E testing for custom Lowdefy blocks is best done by generating structured Playwright tests that cover rendering, property states, and events. This Skill provides templates and best practices for comprehensive test creation.

Can I test block properties and events using Playwright in Lowdefy?

Yes, you can test block properties and events using Playwright in Lowdefy. This Skill generates comprehensive E2E tests ensuring different property states like disabled, and event handling like onChange or onBlur are fully covered.

Do I need specific infrastructure setup to run E2E tests for Lowdefy blocks?

Yes, you need specific block E2E infrastructure setup within the block's package to run E2E tests for Lowdefy blocks. This Skill requires this setup to properly generate and structure Playwright tests using provided templates.

Does this E2E test generation approach work for Ant Design-based input blocks in Lowdefy?

Yes, this E2E test generation approach works for Ant Design-based input blocks in Lowdefy. The Skill can quickly generate a robust suite of Playwright tests covering basic rendering, property states, and event interactions for these blocks.

Why should I automate Playwright E2E test creation for Lowdefy blocks?

You should automate Playwright E2E test creation for Lowdefy blocks to significantly reduce the manual effort required for testing block functionality. It ensures comprehensive coverage of rendering, properties, and events using structured best practices.