e2e

Run end-to-end tests for Sentry JavaScript SDK applications with variant support.

8.7k|1.8k|Updated Feb 1, 2012
One-click install
npx skills add https://github.com/getsentry/sentry-javascript --skill e2e-getsentry
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: e2e
Source: https://github.com/getsentry/sentry-javascript/tree/main/.agents/skills/e2e
Command: npx skills add https://github.com/getsentry/sentry-javascript --skill e2e-getsentry

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the process of running end-to-end tests for Sentry JavaScript SDK test applications, ensuring SDK changes are validated across different environments.

Core Features & Use Cases

  • Automated Test Execution: Runs E2E tests for specified Sentry JavaScript SDK test applications.
  • Dependency Management: Automatically rebuilds necessary SDK packages before running tests.
  • Variant Support: Allows testing with specific variants of applications (e.g., different framework versions).
  • Use Case: After making changes to the @sentry/node package, you can use this skill to quickly run E2E tests for the node-express-esm-loader application to verify your changes.

Quick Start

Run end-to-end tests for the nextjs-app-dir test application.

Frequently Asked Questions about e2e

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run E2E tests for Sentry JavaScript SDK applications?

Run E2E tests for Sentry JavaScript SDK applications by parsing the application name and invoking the test runner script. This process automatically checks git status for modified packages and rebuilds necessary SDK tarballs before execution.

What is the best way to automate end-to-end testing for Sentry SDK changes?

Automate end-to-end testing for Sentry SDK changes by executing the test runner script for specific JavaScript environments. The process validates SDK modifications against targeted test applications without requiring manual dependency management.

Can I test specific framework variants when running Sentry JavaScript SDK E2E tests?

Test specific framework variants for Sentry JavaScript SDK E2E tests by parsing the variant from your input. The runner supports testing different framework versions to ensure SDK compatibility across various JavaScript environments.

Do I need to manually rebuild SDK packages before running E2E tests?

Manual rebuilding of SDK packages before running E2E tests is unnecessary. The automated process checks git status for modified packages and rebuilds required tarballs dynamically to ensure the test environment uses your latest changes.

How does variant testing work for Sentry JavaScript SDK test applications?

Variant testing for Sentry JavaScript SDK test applications works by accepting variant parameters in the input. This allows the test runner to execute validation against different framework versions or configurations to verify SDK behavior.

Why are my E2E tests not picking up local changes to the Sentry JavaScript SDK?

E2E tests may fail to pick up local changes if the SDK packages are not rebuilt. The testing process addresses this by automatically checking git status for modified packages and rebuilding tarballs before invoking the test runner.