Skip to content
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

Set Up Automated Testing with Playwright #688

Merged
merged 42 commits into from
Aug 12, 2024
Merged

Conversation

xannyxs
Copy link
Contributor

@xannyxs xannyxs commented Jun 28, 2024

Description

This PR introduces the foundation for our automated end-to-end (E2E) testing suite using playwright. We've implemented initial test scenarios covering critical user flows across three key areas of our application.

Test Scenarios Implemented:

  1. Legal Pages

    • Verify page titles
    • Confirm page existence
  2. Login Page

    • Ensure login page loads correctly
    • Validate successful login functionality
  3. Create Organization Page

    • Test creation with mandatory information only
    • Test creation with mandatory information and description
    • Validate handling of missing inputs
    • Verify responses to incorrect inputs

Technical Details:

  • Framework: Playwright
  • Browsers Tested: Chromium, Firefox

Type of Change

  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

Impact

This change lays the groundwork for comprehensive automated testing, which will:

  • Improve code quality and reliability
  • Accelerate the development process by catching issues early
  • Enhance confidence in deployments

Additional Context

Documentation on the testing framework, including how to start the tester locally, add new tests and best practices, will be added to the StreamETH Notion. This will serve as a guide for current and future developers to understand and expand our testing suite.

Copy link

vercel bot commented Jun 28, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
streameth-platform ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 12, 2024 1:18pm

@xannyxs xannyxs force-pushed the playwright-frontend-tests branch from 34c1be5 to 9bb79b1 Compare July 9, 2024 08:45
@xannyxs xannyxs marked this pull request as ready for review August 12, 2024 13:13
@xannyxs xannyxs requested a review from Mario-SO August 12, 2024 13:13
@xannyxs xannyxs changed the title Playwright frontend tests Set Up Automated Testing with Playwright Aug 12, 2024
@xannyxs xannyxs merged commit 904c7bd into develop Aug 12, 2024
7 checks passed
@xannyxs xannyxs deleted the playwright-frontend-tests branch August 12, 2024 13:48
greatsamist pushed a commit that referenced this pull request Aug 13, 2024
## Description
This PR introduces the foundation for our automated end-to-end (E2E)
testing suite using `playwright`. We've implemented initial test
scenarios covering critical user flows across three key areas of our
application.

### Test Scenarios Implemented:

1. **Legal Pages**
   - Verify page titles
   - Confirm page existence

2. **Login Page**
   - Ensure login page loads correctly
   - Validate successful login functionality

3. **Create Organization Page**
   - Test creation with mandatory information only
   - Test creation with mandatory information and description
   - Validate handling of missing inputs
   - Verify responses to incorrect inputs

### Technical Details:
- Framework: Playwright
- Browsers Tested: Chromium, Firefox

## Type of Change
- [x] New feature (non-breaking change which adds functionality)
- [x] This change requires a documentation update

## Impact
This change lays the groundwork for comprehensive automated testing,
which will:
- Improve code quality and reliability
- Accelerate the development process by catching issues early
- Enhance confidence in deployments

## Additional Context
Documentation on the testing framework, including how to start the
tester locally, add new tests and best practices, will be added to the
StreamETH Notion. This will serve as a guide for current and future
developers to understand and expand our testing suite.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

As a developer, I want a thorough Playwright tester for the studio to ensure cross-browser
2 participants