e2e-test-creation

Automate end-to-end test creation for Daedalus wallet features with Cucumber.js, Spectron, and WebDriver.io.

1.2k|296|Updated Oct 5, 2016
One-click install
npx skills add https://github.com/input-output-hk/daedalus --skill e2e-test-creation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: e2e-test-creation
Source: https://github.com/input-output-hk/daedalus/tree/main/.agent/skills/e2e-test-creation
Command: npx skills add https://github.com/input-output-hk/daedalus --skill e2e-test-creation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires cucumber, spectron, webdriver.io, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill simplifies the creation of end-to-end tests for new features in the Daedalus wallet application, ensuring robust functionality and reducing manual testing efforts.

Core Features & Use Cases

  • Test Creation: Automate the writing of Gherkin feature files, step definitions, and helpers for end-to-end tests.
  • Test Framework: Utilizes Cucumber.js with Gherkin syntax, Spectron for Electron testing, and WebDriver.io.
  • Use Case: When you need to develop e2e tests for new features or enhancements in the Daedalus wallet, this Skill provides the necessary tools and guidelines.

Quick Start

Use the e2e-test-creation skill to generate a new end-to-end test for the 'wallets' domain.

Frequently Asked Questions about e2e-test-creation

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

FAQPage Schema
How do I create end-to-end tests for Daedalus wallet features?

To create end-to-end tests for Daedalus wallet features, you use this Skill to automate the generation of Gherkin feature files, step definitions, and domain-specific helpers. It provides structured templates and guidelines for writing tests for new features or enhancements.

What is the best way to automate end-to-end testing for an Electron application like Daedalus?

The best way to automate end-to-end testing for the Daedalus Electron application is by combining Cucumber.js for Gherkin syntax, Spectron for Electron integration, and WebDriver.io. This Skill provides templates that integrate these frameworks to streamline test creation.

Can I use Cucumber.js and Spectron to write automated test scripts for new wallet features?

Yes, you can use Cucumber.js and Spectron to write automated test scripts for new wallet features. This Skill provides structured guidelines and templates specifically designed to generate feature files and step definitions for the Daedalus wallet using these frameworks.

Do I need WebDriver.io to run end-to-end tests for the Daedalus wallet?

Yes, WebDriver.io is required as it is a core dependency for this Skill's test automation framework. It works alongside Spectron and Cucumber.js to execute the end-to-end tests generated for the Daedalus wallet application.

How does test-driven development work with Daedalus wallet end-to-end tests?

Test-driven development with Daedalus wallet end-to-end tests involves using this Skill to generate structured Gherkin feature files and step definitions before implementation. It provides the necessary templates and helpers to define expected wallet behavior upfront.