Toolverse
All skills

e2e-studio-tests

by supabase

Run e2e tests in the Studio app. Use when asked to run e2e tests, run studio tests, playwright tests, or test the feature.

Installation

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

Installation

Quick info

Author
supabase
Category
Testing
Views
33

About this skill

Run e2e tests in the Studio app. Use when asked to run e2e tests, run studio tests, playwright tests, or test the feature.

How to use

  1. Zainstaluj skill e2e-studio-tests w swoim środowisku Claude, upewniając się, że masz dostęp do repozytorium Supabase i zainstalowane narzędzie pnpm.

  2. Aby uruchomić pełny zestaw testów, poproś Claude: "Uruchom testy e2e" lub "Przeprowadź testy Studio". Skill automatycznie przejdzie do katalogu e2e/studio i uruchomi polecenie pnpm run e2e.

  3. Jeśli chcesz testować konkretny plik, na przykład testy dla cron-jobów, poproś: "Uruchom test features/cron-jobs.spec.ts". Skill uruchomi test dla wybranego pliku.

  4. Aby znaleźć testy pasujące do konkretnego wzorca, użyj polecenia z filtrem grep, na przykład: "Uruchom testy zawierające 'authentication'". Skill zastosuje filtr --grep z Twoim wzorcem.

  5. Jeśli potrzebujesz debugować test, poproś: "Otwórz testy w trybie UI". Skill uruchomi interfejs debugowania Playwright, który pozwala obserwować każdy krok testu w przeglądarce.

  6. Testy automatycznie startują lokalne kontenery Supabase i nie wymagają ręcznej konfiguracji środowiska. W trybie self-hosted testy uruchamiają się równolegle na 3 workerach.

Related skills