AI-powered test case recording and automation for Microsoft Edge on macOS. This project provides automated testing capabilities using BDD (Behavior-Driven Development) approach with Gherkin feature files.
- BDD Testing: Uses Gherkin feature files for test scenarios
- AI-Powered: Automated test case recording and generation
- Cross-Platform: Optimized for macOS Edge browser testing
- Appium Integration: Mobile and desktop app automation support
features/ # BDD feature files and step definitions
├── download/ # Download functionality tests
├── favorite/ # Favorites feature tests
├── history/ # Browser history tests
├── ominibox/ # Address bar/omnibox tests
├── tab/ # Tab management tests
└── steps/ # Python step implementations
scripts/ # Utility scripts (Appium setup, etc.)
logs/ # Test execution logs
- Python 3.8+
- macOS
- Microsoft Edge browser
- Appium (for automation)
- Clone the repository:
git clone <repository-url>
cd FSQ_AI_Testcases_Mac- Install dependencies:
uv sync- Start Appium server:
./scripts/start_appium.shExecute BDD test scenarios:
# Run all tests
behave features/
This project uses automated code formatting for consistent code style:
- Python files: Formatted with Ruff
- Feature files: Formatted with reformat-gherkin
uv run format.py# Setup
uv sync
uv run pre-commit install
# Run manually
uv run pre-commit run --all-files
# Skip pre-commit hooks (直接提交)
git commit --no-verify -m "commit message"Contributions are welcome! Please:
- Fork the repository
- Create a feature branch
- Submit a pull request with clear description
For complex changes, please open an issue first to discuss the proposal.