Toolverse
All skills

run-api-e2e-tests

by novuhq

Run e2e tests for the API service. Use when the user wants to run API E2E tests.

Installation

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

Installation

Quick info

Author
novuhq
Category
Testing
Views
11

About this skill

Run e2e tests for the API service. Use when the user wants to run API E2E tests.

How to use

  1. Zainstaluj umiejętność w swoim edytorze obsługującym MCP (Cursor, VS Code z rozszerzeniem). Dodaj referencję do skills/run-api-e2e-tests z repozytorium Novu.

  2. Aby uruchomić wszystkie testy e2e dla API, użyj komendy pnpm test:e2e:novu-v2 — ta komenda wykonuje pełny zestaw testów z wzorcem novu-v2 dla obu wariantów (zwykłych i enterprise).

  3. Jeśli chcesz testować konkretną funkcję lub moduł, zidentyfikuj plik testu — szukaj plików z rozszerzeniem .e2e.ts lub .e2e-ee.ts w katalogu apps/api. Na przykład trigger-event-preferences.e2e.ts dla testów preferencji zdarzeń.

  4. Sprawdź, czy test znajduje się w podkatalogu src/ czy e2e/enterprise/ — to określi dokładną komendę do uruchomienia. Dla testów w src/ użyj pnpm exec z flagami NODE_ENV=test, CI_EE_TEST=true i CLERK_ENABLED=true, wraz ze ścieżką src//nazwa-testu.e2e{,-ee}.ts. Dla testów w e2e/enterprise/ zmień ścieżkę na e2e/enterprise//nazwa-testu.e2e.ts.

  5. Umiejętność automatycznie wstrzykuje wymagane zmienne środowiskowe (timeout 30 sekund, 3 powtórzenia, filtr #novu-v2) i konfiguruje mocha do uruchomienia testów. Po wykonaniu komendy otrzymasz raport z wynikami — zaliczonymi i niezaliczonymi testami.

Related skills

polymarket-trader

by openclaw

Query Polymarket prediction markets - trending events, crypto, politics, sports, and search

Testing
14142

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

code-review-excellence

by wshobson

Master effective code review practices to provide constructive feedback, catch bugs early, and foster knowledge sharing while maintaining team morale. Use when reviewing pull requests, establishing review standards, or mentoring developers.

Testing
1145

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

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

textual

by KyleKing

Expert guidance for building TUI (Text User Interface) applications with the Textual framework. Invoke when user asks about Textual development, TUI apps, widgets, screens, CSS styling, reactive programming, or testing Textual applications.

Testing
69192