Skip to content

Add end-to-end testing with Playwright and TypeScript and developer CLI command #749

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 20 commits into
base: main
Choose a base branch
from

Conversation

tjementum
Copy link
Member

Summary & motivation

Add a complete Playwright with TypeScript end-to-end testing framework to enable automated testing of user workflows across the application. The implementation includes comprehensive test coverage for the signup flow to demonstrate how end-to-end tests should be structured, but it does not provide complete coverage for all use cases.

  • Create End2EndTests project with Playwright configuration and TypeScript support
  • Add e2e CLI command with browser selection, filtering, and debugging options to easily run end-to-end tests
  • Implement comprehensive signup test suite with 21 tests covering smoke, comprehensive, and slow scenarios
  • Add test utilities for monitoring console messages, network errors, and toast notifications
  • Include VS Code integration for debugging and test development
  • Add AI workflow documentation for creating end-to-end tests

Downstream projects

  1. Add the End2EndTests project to your solution file:
  <Solution>
    <!-- existing projects -->
+   <Project Path="End2EndTests\End2EndTests.esproj" />
  </Solution>

Checklist

  • I have added tests, or done manual regression tests
  • I have updated the documentation, if necessary

@tjementum tjementum self-assigned this May 28, 2025
@tjementum tjementum added the Enhancement New feature or request label May 28, 2025
@tjementum tjementum force-pushed the e2e-playwright branch 3 times, most recently from b301f15 to 68a50f2 Compare June 1, 2025 12:44
@tjementum tjementum force-pushed the e2e-playwright branch 2 times, most recently from 23a3752 to a3f1465 Compare June 4, 2025 15:48
Copy link

sonarqubecloud bot commented Jun 4, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

1 participant