What problem does it solve?
This Skill streamlines the migration of legacy Kibana Functional Test Runner (FTR) tests to the modern Scout testing framework, ensuring test suites are efficient, maintainable, and aligned with current best practices.
Core Features & Use Cases
- Strategic Test Conversion: Guides decisions on migrating tests to UI or API-based Scout tests.
- Fixture Mapping: Assists in translating FTR concepts like services and page objects to Scout fixtures.
- Suite Restructuring: Helps rewrite
loadTestFile-based suites into independent Scout specifications.
- Use Case: A team needs to migrate a large suite of FTR tests for a Kibana feature. This Skill provides a step-by-step process to analyze each FTR test, determine its optimal Scout equivalent (UI, API, or component test), and refactor it correctly, ensuring parity and improving test performance.
Quick Start
Use the scout-migrate-from-ftr skill to migrate the FTR test located at 'test/functional/specs/my_feature.ts' to Scout.