This repository contains the automated testing infrastructure for Hub88's API and UI testing efforts using multiple testing frameworks.
The repository is organized into three main testing approaches:
- API Automation (Cypress)
- Manual Testing Scripts (Playwright)
- API Collections (Postman)
hub88-automationtests/
├── ai-manual-testing/ # Playwright test scenarios
├── apiAutomation/ # Cypress API tests
├── postmanAutomatedTests/ # Postman collections & scripts
└── postmanServer/ # Local server for signature generation
- Located in
apiAutomation/
- Focuses on API integration testing
- Includes configuration for different environments
- Uses custom signature generation for authentication
- Supports parallel test execution
- Located in
ai-manual-testing/
- UI automation test cases
- Test case generation and execution
- Detailed reporting capabilities
- Located in
postmanAutomatedTests/
- API request collections for:
- Campaign info tests
- Game launcher tests
- Recommendations lobby tests
- Thrilltech integration tests
- Wallet API transactions
- Located in
postmanServer/
- Local Express.js server for signature generation
- Supports RSA key-based signing
- Used by Postman tests for authentication
- Install dependencies:
# For Cypress tests
cd apiAutomation
npm install
# For Playwright tests
cd ai-manual-testing
npm install
# For signature server
cd postmanServer
npm install
-
Configure environment variables and private keys
-
Run tests:
# Cypress tests
cd apiAutomation
npx cypress run
# Playwright tests
cd ai-manual-testing
npx playwright test
# Start signature server
cd postmanServer
npm start
- Multi-framework Support: Allows choosing the best tool for each testing need
- Environment Configuration: Supports multiple environments (staging, production)
- Authentication: RSA signature generation for secure API testing
- Reporting: Detailed test reports and failure analysis
- Modular Structure: Easy to maintain and extend test suites
- API Integration Tests
- Game Launch Flows
- Payment Transactions
- Campaign Management
- User Authentication
- Game List Management
- Recommendations System
- Create a feature branch
- Add/update tests
- Ensure all tests pass
- Submit a pull request
Each framework has its own execution commands and reporting mechanisms. Refer to individual framework directories for specific instructions.
- Keep dependencies updated
- Review and update test cases regularly
- Maintain documentation for new features
- Monitor test stability and performance
For questions or issues:
- Check existing documentation
- Review test logs
- Contact the QA team
Internal use only - Hub88 proprietary software