Skip to content

Feat/new version examples#4

Merged
kevinccbsg merged 3 commits intomainfrom
feat/new-version-examples
Nov 27, 2025
Merged

Feat/new version examples#4
kevinccbsg merged 3 commits intomainfrom
feat/new-version-examples

Conversation

@kevinccbsg
Copy link
Member

This pull request introduces a new QR code scanner feature to the application, including all necessary dependencies, routing, and automated tests. It also improves the CI workflow by optimizing Puppeteer browser management and updates a package version for testing support.

QR Scanner Feature:

  • Added a new QRScanner page with a user interface for scanning QR codes and displaying detected results, leveraging the @yudiel/react-qr-scanner library. [1] [2]
  • Registered the QR scanner route (/qr-scanner) in AppRoutes, enabling navigation to the new page. [1] [2]

Testing Enhancements:

  • Added an automated TWD test for the QR scanner page, including mocking the scanner component and verifying UI behavior.
  • Updated the test file glob pattern in main.tsx to include .tsx files for broader test coverage.
  • Upgraded twd-js dependency to version 1.2.1 for improved testing features.

CI Workflow Optimization:

  • Implemented caching for Puppeteer browsers and added explicit Chrome installation steps in the CI workflow for faster and more reliable test runs.

@kevinccbsg kevinccbsg merged commit 3eb54f9 into main Nov 27, 2025
1 check passed
@kevinccbsg kevinccbsg deleted the feat/new-version-examples branch November 27, 2025 08:17
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.

1 participant