Skip to content

Setup Playwright for React End-to-End Testing#203

Merged
lbroudoux merged 1 commit intomicrocks:masterfrom
pplancq:feature/playwright
Jan 19, 2026
Merged

Setup Playwright for React End-to-End Testing#203
lbroudoux merged 1 commit intomicrocks:masterfrom
pplancq:feature/playwright

Conversation

@pplancq
Copy link
Copy Markdown
Contributor

@pplancq pplancq commented Dec 19, 2025

Type of Pull Request:

  • Bug fix
  • New feature
  • Documentation
  • Other (specify):

Associated Issue:
Closes #195

Context:
This PR integrates Playwright into the React codebase to establish a foundation for end-to-end testing. This addresses the need for automated E2E testing capabilities as outlined in issue #195, enabling contributors to write and maintain reliable tests for the React application's critical workflows.

Proposed Changes:

  • Added @playwright/test (v1.57.0) as a development dependency for E2E testing framework
  • Added @msw/playwright (v0.4.2) for mock service worker integration with Playwright

Checklist:

  • I have verified that my changes work as expected
  • I have updated the documentation if necessary
  • I have thought to rebase my branch
  • I have applied the correct label according to the type of PR (bug/feature/documentation)

Additional Information:
This is a foundational dependency update. The next steps will involve:

  1. Creating Playwright configuration file (playwright.config.ts)
  2. Adding example E2E tests
  3. Documenting test execution and CI/CD integration

No breaking changes to Angular or backend code. All changes are scoped to the React application's development dependencies.

@github-actions
Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had recent activity 😴

It will be closed in 30 days if no further activity occurs. To unstale this pull request, add a comment with detailed explanation.

There can be many reasons why some specific pull request has no activity. The most probable cause is lack of time, not lack of interest. Microcks is a Cloud Native Computing Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.

Let us figure out together how to push this pull request forward. Connect with us through one of many communication channels we established here.

Thank you for your patience ❤️

@github-actions github-actions bot added the stale State due to inactivity label Jan 19, 2026
@lbroudoux lbroudoux added kind/enhancement Enhancement of existing feature keep-open Explicitily keep open component/build and removed stale State due to inactivity labels Jan 19, 2026
@lbroudoux lbroudoux added this to the 0.9.0 milestone Jan 19, 2026
lbroudoux
lbroudoux previously approved these changes Jan 19, 2026
Copy link
Copy Markdown
Member

@lbroudoux lbroudoux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just got 1 question on a possible Sonar Qube integration... Now that we put more emphasis on the Hub tests, it could make sense - if possible - to integrate Playwright and Vitest results into a Sonar Qube project.... What do you think?

@lbroudoux
Copy link
Copy Markdown
Member

Hey @pplancq, we now have conflicts, probably because of #202 merge. I'm at ease resolving conflicts in package.json and tsconfig.json in the GitHub web editor, but package-lock.json seems a bit more touchy. Can you handle this on your side please?

@SebastienDegodez
Copy link
Copy Markdown
Member

Hello, we have 3 issues: https://app.fossa.com/projects/git%2Bgithub.com%2Fmicrocks%2Fhub.microcks.io/refs/branch/master/f95f15f21a22029ae5cbbdee8ee0335ab9fc53e4/preview

Introduce Playwright for end-to-end testing with a demo test suite.
Add configuration files and scripts for running tests, including coverage reporting.
Update .gitignore to exclude test reports and add a mock environment file.

Signed-off-by: Paul PLANCQ <paul.plancq@outlook.fr>
@lbroudoux
Copy link
Copy Markdown
Member

Hello, we have 3 issues: https://app.fossa.com/projects/git%2Bgithub.com%2Fmicrocks%2Fhub.microcks.io/refs/branch/master/f95f15f21a22029ae5cbbdee8ee0335ab9fc53e4/preview

Fixed. These were detection issues on the Fossa side. Clear.

Copy link
Copy Markdown
Member

@lbroudoux lbroudoux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks all good to me.

@lbroudoux lbroudoux merged commit 5cf7cb7 into microcks:master Jan 19, 2026
4 of 5 checks passed
@pplancq pplancq deleted the feature/playwright branch January 19, 2026 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component/build keep-open Explicitily keep open kind/enhancement Enhancement of existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Setup Playwright for React End-to-End Testing

3 participants