mirror of
https://github.com/web-infra-dev/midscene.git
synced 2025-12-04 02:50:05 +00:00
- Downgrade React and React DOM to 18.3.1 in all packages for consistency - Update @types/react and @types/react-dom to 18.3.1 - Ensure TypeScript version is consistently set to ^5.8.3 - Adjust dependencies in package.json files for various apps and packages - Enhance Chrome extension functionality with safe API wrappers for better error handling - Implement checks for Chrome extension environment in recording components
Midscene Report
Midscene Report is a visualization application for displaying test execution results from Midscene.js. It provides an interactive interface for viewing and analyzing test execution data.
Visit our website: https://midscene.js.org
Features
- Visual display of test execution results
- Multi-test case switching support
- Detailed execution timeline
- Test replay functionality
- Responsive layout design
Requirements
- Node.js >= 16
- pnpm >= 8
Getting Started
For detailed environment setup instructions, please refer to the Contribution Guide in the root directory.
Installation
pnpm install
Development
Start the development server:
pnpm dev
Build
Build for production:
pnpm build
Preview
Preview the production build locally:
pnpm preview
Tech Stack
- React 18
- TypeScript
- Ant Design
- Rsbuild
- Zustand (State Management)
- PIXI.js (Graphics Rendering)
Project Structure
src/
├── components/ # React Components
├── assets/ # Static Assets
├── template/ # HTML Templates
└── types.ts # Type Definitions