create-session

Generate structured .test.ts session files for the Bluestack test framework.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/JuantoC/BlueStack-Test-Automation-Framework --skill create-session
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-session
Source: https://github.com/JuantoC/BlueStack-Test-Automation-Framework/tree/main/.claude/skills/create-session
Command: npx skills add https://github.com/JuantoC/BlueStack-Test-Automation-Framework --skill create-session

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Genera archivos .test.ts para el framework de automatización Bluestack dentro de la carpeta /sessions. Usar siempre que el usuario quiera crear un nuevo test, una nueva sesión, un nuevo caso de prueba, o cuando mencione "nuevo test", "nueva sesión", "quiero probar X flujo", "automatizar X", o cuando mencione un flujo de pasos que deba ser validado, cuando pida "validar visualmente X", "capturar screenshot del flujo", "evidencia visual del estado", "validar render de X", "validar un único campo sin flujo completo", "validar el color de X", "validar el texto de X", "verificar estado de un botón", o cuando un agente del pipeline (test-generator, update-testids) invoque la skill con un criterio puntual o de tipo visual_check.

Core Features & Use Cases

  • Genera un .test.ts dentro de sessions/ siguiendo las convenciones Bluestack.
  • Adapta el nivel de orquestación (L1/L2/L3) según el input y el invocador, para cubrir flujos end-to-end o criterios puntuales.
  • Mantiene la fuente de verdad en el archivo .test.ts generado y garantiza que el código DOM no esté inline en el test.

Quick Start

Invoke this skill with the required input to generate a new .test.ts file inside sessions.

Frequently Asked Questions about create-session

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

FAQPage Schema
How do I generate TypeScript test files for the Bluestack automation framework?

To generate TypeScript test files for Bluestack, you need a structured session generator that outputs .test.ts files directly into the sessions folder. This approach uses data factories and page objects to keep DOM interactions out of the test logic.

What is the best way to structure an end-to-end test using page objects and data factories in TypeScript?

The best way to structure end-to-end tests in TypeScript is by isolating UI interactions inside page objects and using data factories for test inputs. This keeps the test file focused on flow orchestration and validation rather than embedded DOM logic.

Can I create visual validation tests for single fields without writing a full end-to-end flow?

Yes, you can create visual validation tests for single fields without a full end-to-end flow by generating L1/L2/L3 oriented tests. The generator adapts the orchestration level to handle isolated criteria like checking button states, colors, or text values.

How do I add Allure descriptions and screenshots to automated test sessions?

To add Allure descriptions and capture screenshots in automated test sessions, you generate the .test.ts file with descriptive metadata built in. This includes visual evidence capture commands mapped directly within the structured test flow.

Does the Bluestack test generator work in automated CI/CD pipelines?

Yes, the Bluestack test generator works in automated CI/CD pipelines by allowing pipeline agents like test-generator to invoke the session creation process. It accepts specific flow criteria and environment inputs to produce ready-to-run TypeScript tests automatically.

When should I avoid inline DOM selectors when writing TypeScript automation tests?

You should always avoid inline DOM selectors in TypeScript automation tests to maintain a single source of truth. Keeping selectors inside page objects prevents test fragility and ensures the generated test code follows strict project conventions.