smoke-testing

Run a local smoke test cycle for the Aithena stack with Docker, Vite, and Playwright.

1|Updated Jul 16, 2023
One-click install
npx skills add https://github.com/jmservera/aithena --skill smoke-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: smoke-testing
Source: https://github.com/jmservera/aithena/tree/main/.squad/skills/smoke-testing
Command: npx skills add https://github.com/jmservera/aithena --skill smoke-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill ensures the entire Aithena application stack is functioning correctly in a local development environment, from infrastructure startup to UI interaction and search validation.

Core Features & Use Cases

  • Full Stack Verification: Confirms all services (Docker, Solr, API, UI) are running and communicating.
  • Functional Testing: Validates core search functionality, facet rendering, and PDF opening.
  • Use Case: Before pushing code or deploying, run this smoke test to catch integration issues early and ensure a stable local development experience.

Quick Start

Execute the smoke-testing skill to verify the local Aithena stack is operational.

Frequently Asked Questions about smoke-testing

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

FAQPage Schema
How do I run end-to-end validation for a local Docker stack?

End-to-end validation for a local Docker stack is performed by initiating infrastructure startup, executing health checks, and running Playwright tests to verify service availability and UI rendering before cleaning up resources.

What does a local smoke test cycle cover for a Vite and Playwright stack?

A local smoke test cycle covers Docker infrastructure startup, Vite development server initiation, and Playwright end-to-end validation to verify API responsiveness, UI rendering, search accuracy, and PDF opening capabilities.

Can I use Playwright to validate search results and PDF opening in a local environment?

Yes, Playwright can validate search result accuracy, facet rendering, and PDF opening capabilities in a local development environment by automating end-to-end UI interactions during the smoke test cycle.

Do I need Docker to perform local stack validation?

Yes, Docker is required for local stack validation because the smoke test cycle depends on Docker infrastructure startup to provision services like Solr before running health checks and Playwright validation.

When should I run an end-to-end smoke test for my application stack?

You should run an end-to-end smoke test before pushing code or deploying to catch integration issues early, ensuring all services including the API, UI, and search infrastructure are communicating correctly.

Why does my local stack validation fail after Docker startup?

Local stack validation may fail after Docker startup if health checks detect unresponsive APIs, Vite server initiation errors, or Playwright encounters UI rendering, search accuracy, or PDF opening failures.