cypress-to-scout-migration

Migrate Kibana Cypress E2E tests to Scout with triage and pattern mapping.

21.2k|8.6k|Updated Jan 26, 2013
One-click install
npx skills add https://github.com/elastic/kibana --skill cypress-to-scout-migration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cypress-to-scout-migration
Source: https://github.com/elastic/kibana/tree/main/.agents/skills/cypress-to-scout-migration
Command: npx skills add https://github.com/elastic/kibana --skill cypress-to-scout-migration

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the migration of end-to-end tests from Cypress to Scout (Playwright), ensuring test stability and maintainability in the Kibana ecosystem.

Core Features & Use Cases

  • Triage Automation: Automates the validation of Cypress tests against current features, duplicate coverage, and layer appropriateness.
  • Pattern Mapping: Provides clear mappings from Cypress commands and patterns to their Scout/Playwright equivalents.
  • Data Cleanup Audit: Guides users through critical data cleanup steps to prevent test environment contamination.
  • Use Case: When migrating a suite of Cypress E2E tests for a Kibana plugin to the new Scout framework, use this Skill to systematically triage each test, rewrite it using Scout best practices, and ensure its stability before merging.

Quick Start

Use the cypress-to-scout-migration skill to migrate a Cypress test file located at 'path/to/your/test.cy.ts' to Scout, targeting the 'security_solution' plugin.

Frequently Asked Questions about cypress-to-scout-migration

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

FAQPage Schema
How do I migrate Cypress E2E tests to Playwright?

Migrating Cypress E2E tests to Playwright involves applying triage gates to validate existing tests, mapping Cypress command patterns to Scout equivalents, and ensuring data cleanup to maintain test environment stability.

What is the best way to convert a batch of Cypress tests for a Kibana plugin?

Converting a batch of Cypress tests for a Kibana plugin is best handled by systematically triaging each test for duplicate coverage, rewriting components using Scout best practices, and verifying stability before merging.

Does the Cypress to Scout migration process check for duplicate test coverage?

Yes, the Cypress to Scout migration process includes triage automation that validates Cypress tests against current features and checks for duplicate coverage to ensure only necessary tests are mapped to Playwright equivalents.

Why do I need to perform a data cleanup audit when moving tests from Cypress to Scout?

You need to perform a data cleanup audit when moving tests from Cypress to Scout to prevent test environment contamination and ensure the stability of your E2E testing suite within the Kibana ecosystem.

Can I get help understanding Cypress vs Scout differences during migration?

Yes, the migration process covers scenarios for answering questions about Cypress vs Scout differences, providing clear mappings from Cypress commands and patterns directly to their Scout or Playwright equivalents.