aj-geddes avatar

Test Automation Framework

This gives you the scaffolding for building maintainable test automation with Page Object Model, fixtures, and custom utilities. You get reference implementations for Playwright/TypeScript and pytest/Python, plus patterns for organizing tests, managing config across environments, and generating reports. The examples cover practical things like base page classes, wait strategies, and test factories. Use this when you're setting up a new test suite or trying to wrangle an existing one that's become a maintenance nightmare. The framework approach here trades some initial setup time for way less pain down the road when tests start breaking or you need to scale.

skills.sh installs
504
GitHub stars
379
last updated
Aug 21, 2026

Install

$ npx -y skills add aj-geddes/useful-ai-prompts --skill test-automation-framework --agent claude-code

Installs into .claude/skills of the current project.

Files

Test Automation Framework

Table of Contents

Overview

A test automation framework provides structure, reusability, and maintainability for automated tests. It defines patterns for organizing tests, managing test data, handling dependencies, and generating reports. A well-designed framework reduces duplication, improves reliability, and accelerates test development.

When to Use

  • Setting up new test automation
  • Scaling existing test suites
  • Standardizing test practices across teams
  • Reducing test maintenance burden
  • Improving test reliability and speed
  • Organizing large test codebases
  • Implementing reusable test utilities
  • Creating consistent reporting

Quick Start

Minimal working example:

// framework/pages/BasePage.ts
import { Page, Locator } from "@playwright/test";

export abstract class BasePage {
  constructor(protected page: Page) {}

  async goto(path: string) {
    await this.page.goto(path);
  }

Sponsors

Details

Repository
github.com/aj-geddes/useful-ai-prompts
Categories
Testing & QA, Code Review & Quality, AI & Agent Building, Automation & Workflows, Cloud & Infrastructure, Design & UI/UX
First seen
Jun 3, 2026

More from aj-geddes/useful-ai-prompts

All 258
1secondsky avatarapi-contract-testingsecondsky/claude-skillsVerifies API contracts between services using consumer-driven contracts, schema validation, and tools like Pact. Use when testing microservices communication, p491skills.sh installs
2inertia-rails avatarinertia-rails-testinginertia-rails/skillsTesting Inertia Rails responses with RSpec and Minitest: component assertions, prop matching, flash verification, deferred props, and partial reload helpers. Us470skills.sh installs
3aj-geddes avatardisaster-recovery-testingaj-geddes/useful-ai-promptsExecute comprehensive disaster recovery tests, validate recovery procedures, and document lessons learned from DR exercises.437skills.sh installs
4customware-ai avatarplaywright-interactive-sandboxcustomware-ai/skillsPersistent browser interaction through a normal Node.js Playwright script for fast iterative web UI debugging.401skills.sh installs
5levnikolaevich avatarln-631-test-business-logic-auditorlevnikolaevich/claude-code-skillsDetects tests proving platform behavior instead of local product behavior. Use when auditing product-behavior focus.395skills.sh installs
6omkamal avatarpict-test-designeromkamal/pypict-claude-skillpict test designer383skills.sh installs