Toolverse
All skills

front-end-testing

by citypaul

DOM Testing Library patterns for behavior-driven UI testing. Framework-agnostic patterns for testing user interfaces. Use when testing any front-end application.

Installation

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

Installation

Quick info

Author
citypaul
Category
Testing
Views
1

About this skill

DOM Testing Library patterns for behavior-driven UI testing. Framework-agnostic patterns for testing user interfaces. Use when testing any front-end application.

How to use

  1. Zainstaluj Vitest i sterownik przeglądarki: npm install -D vitest @vitest/browser-playwright. 2. Utwórz plik vitest.config.ts w głównym katalogu projektu i skonfiguruj Browser Mode, wskazując Playwright jako dostawcę oraz Chromium jako przeglądarkę. Alternatywnie uruchom npx vitest init browser, aby uruchomić asystenta konfiguracji. 3. Importuj page z vitest/browser w swoich testach, aby uzyskać dostęp do wbudowanych lokalizatorów (query selectors), które działają jak Testing Library. 4. Napisz testy zachowania, używając lokalizatorów do znalezienia elementów i symulowania interakcji użytkownika — Vitest Browser Mode renderuje rzeczywisty CSS, obsługuje zdarzenia przeglądarki i zarządzanie fokusem. 5. Uruchom testy poleceniem npx vitest — będą wykonywane w rzeczywistej przeglądarce zamiast w symulowanym DOM, dając dokładne wyniki produkcyjne.

Related skills

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

vitest

by antfu

Vitest fast unit testing framework powered by Vite with Jest-compatible API. Use when writing tests, mocking, configuring coverage, or working with test filtering and fixtures.

Testing
1236

ppt-creator

by daymade

Create professional slide decks from topics or documents. Generates structured content with data-driven charts, speaker notes, and complete PPTX files. Applies persuasive storytelling principles (Pyramid Principle, assertion-evidence). Supports multiple formats (Marp,

Testing
2739

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

crypto-research

by stevengonsalvez

Comprehensive cryptocurrency market research and analysis using specialized AI agents. Analyzes market data, price trends, news sentiment, technical indicators, macro correlations, and investment opportunities. Use when researching cryptocurrencies, analyzing crypto markets,

Testing
14118

ad-creative

by alirezarezvani

When the user needs to generate, iterate, or scale ad creative for paid advertising. Use when they say 'write ad copy,' 'generate headlines,' 'create ad variations,' 'bulk creative,' 'iterate on ads,' 'ad copy validation,' 'RSA headlines,' 'Meta ad copy,' 'LinkedIn ad,' or

Testing
2863