Toolverse
All skills

e2e-testing-patterns

by wshobson

Master end-to-end testing with Playwright and Cypress to build reliable test suites that catch bugs, improve confidence, and enable fast deployment. Use when implementing E2E tests, debugging flaky tests, or establishing testing standards.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
wshobson
Category
Testing
Views
92

About this skill

Master end-to-end testing with Playwright and Cypress to build reliable test suites that catch bugs, improve confidence, and enable fast deployment. Use when implementing E2E tests, debugging flaky tests, or establishing testing standards.

How to use

  1. Zainstaluj skill e2e-testing-patterns w swoim projekcie agenta – będzie dostępny jako referencja do wzorców testowania Playwright i Cypress.

  2. Zidentyfikuj krytyczne ścieżki użytkownika, które chcesz testować (logowanie, checkout, rejestracja, formularze wieloetapowe). Skill pomoże Ci wybrać, co warto testować na poziomie E2E, a co lepiej pokryć testami jednostkowymi lub integracyjnymi.

  3. Skonfiguruj Playwright lub Cypress w swoim projekcie, korzystając ze wzorców zawartych w skilu – ustawienia timeout'ów, równoległy bieg testów, retry'e dla CI/CD, oraz wybór przeglądarek do testowania.

  4. Pisz testy, które weryfikują zachowanie użytkownika, a nie szczegóły implementacji – używaj data-testid zamiast selektorów CSS, trzymaj testy niezależne i deterministyczne.

  5. Debuguj niestabilne testy, stosując rekomendacje ze skilu – optymalizuj szybkość, eliminuj race conditions, dodaj eksplicytne czekania na elementy.

  6. Integruj testy z pipeline'em CI/CD, aby automatycznie uruchamiać je przy każdym commicie – skill zawiera przykłady konfiguracji dla środowisk CI.

Related skills

creating-financial-models

by anthropics

This skill provides an advanced financial modeling suite with DCF analysis, sensitivity testing, Monte Carlo simulations, and scenario planning for investment decisions

Testing
25137

dependency-upgrade

by wshobson

Manage major dependency version upgrades with compatibility analysis, staged rollout, and comprehensive testing. Use when upgrading framework versions, updating major dependencies, or managing breaking changes in libraries.

Testing
17138

backtesting-frameworks

by wshobson

Build robust backtesting systems for trading strategies with proper handling of look-ahead bias, survivorship bias, and transaction costs. Use when developing trading algorithms, validating strategies, or building backtesting infrastructure.

Testing
12105

performing-penetration-testing

by jeremylongshore

This skill enables automated penetration testing of web applications. It uses the penetration-tester plugin to identify vulnerabilities, including OWASP Top 10 threats, and suggests exploitation techniques. Use this skill when the user requests a \

Testing
1546

playwright-cli

by microsoft

Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.

Testing
45103

nextjs-developer

by zenobi-us

Expert Next.js developer mastering Next.js 14+ with App Router and full-stack features. Specializes in server components, server actions, performance optimization, and production deployment with focus on building fast, SEO-friendly applications.

Testing
166226