e2e-swap

Automate end-to-end swap test maintenance for Ledger Live Desktop and Mobile.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Ledger-Wallet-LLC/ledgerwallet --skill e2e-swap
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: e2e-swap
Source: https://github.com/Ledger-Wallet-LLC/ledgerwallet/tree/main/.cursor/skills/e2e-swap
Command: npx skills add https://github.com/Ledger-Wallet-LLC/ledgerwallet --skill e2e-swap

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Write or update end-to-end Swap tests for Ledger Live Desktop (Playwright) and Mobile (Detox). Use for swap spec updates, provider flows, multi-step approvals, page-object refactors, swap-history checks, KYC/validation banners, and review-driven cleanup.

Core Features & Use Cases

  • Supports updating tests in e2e/desktop and e2e/mobile.
  • Encourages page-object driven design, centralized selectors, and reuse of test utils.
  • Covers swap history checks, KYC banners, and review-driven cleanup scenarios.
  • Provides guidance on desktop and mobile patterns, including multi-step flows and provider handling.

Quick Start

Run the updated Swap E2E tests across Desktop and Mobile to verify new or changed flows.

Frequently Asked Questions about e2e-swap

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

FAQPage Schema
How do I maintain E2E swap tests across Ledger Live Desktop and Mobile?

To maintain E2E swap tests, you update swap specs and refactor page objects using Playwright for Desktop and Detox for Mobile. This approach relies on existing test patterns to ensure scalable E2E tests across both platforms.

What is the best way to structure page objects for Ledger Live swap E2E tests?

The best way to structure page objects for swap E2E tests is to centralize them and avoid inline selectors. Reusing existing test utils ensures maintainable and scalable test architecture for multi-step swap approvals.

Can I use Playwright and Detox to automate multi-step swap approvals in Ledger Live?

Yes, you can use Playwright and Detox to automate multi-step swap approvals in Ledger Live. The Skill provides specific guidance on handling provider flows and multi-step approvals across desktop and mobile platforms.

How do you handle KYC banners and validation in Ledger Live E2E swap testing?

Handling KYC banners and validation in Ledger Live E2E swap testing involves applying specific test patterns for these scenarios. The Skill covers swap history checks and KYC banner interactions to ensure comprehensive swap flow coverage.

Does Ledger Live E2E swap testing support review-driven cleanup for test specs?

Yes, Ledger Live E2E swap testing supports review-driven cleanup for test specs. You can update swap specs and refactor page objects while addressing review feedback to maintain clean test code.