A development sandbox for testing and validating widgets within the 1fe ecosystem without requiring the full shell or host plugin setup.
- Node.js
>= 22 - Yarn (package manager)
# Clone the repository
git clone <repository-url>
cd 1fe-playground
# Install dependencies
yarn install
# Start the development server
yarn dev# Start development server
yarn dev
# Build widget for testing
yarn build:widget
# Run unit tests
yarn test
# Run E2E tests
yarn test:e2e
# Run E2E tests with UI
yarn test:e2e:ui
# Type checking
yarn type:check
# Linting
yarn lint
# Format code
yarn format- Uses Jest with React Testing Library
- Run tests with
yarn test - Test files located in
src/__tests__/
- Uses Playwright for end-to-end testing
- Run tests with
yarn test:e2e - Test files located in
tests/
- Fork the repository
- Create a feature branch (
git checkout -b feature/your-feature) - Make your changes
- Run tests (
yarn testandyarn test:e2e) - Ensure linting passes (
yarn lint) - Commit your changes (
git commit -m 'Add feature') - Push to your branch (
git push origin feature/your-feature) - Open a Pull Request
- Build failures: Ensure Node.js version is >= 22 and all dependencies are installed
- Test failures: Check that mock services are properly configured
- TypeScript errors: Run
yarn type:checkto see detailed type errors
- 1fe Documentation - Complete platform documentation
- GitHub Issues - Report bugs or request features
- GitHub Discussions - Ask questions and share ideas
This project is licensed under the MIT License - see the LICENSE file for details.