An interactive test automation project using Playwright and TypeScript.
This project is designed to automate testing for the Streamlyne FundFit application. It leverages the power of Playwright, a modern end-to-end testing framework, combined with TypeScript for type safety and maintainability.
- Cross-browser testing (Chromium, Firefox, WebKit)
- Headless and headed execution modes
- Parallel test execution
- Detailed test reports
- Easy-to-maintain test structure
Before you begin, ensure you have the following installed:
-
Clone the repository:
```bash git clone https://github.com/your-username/streamlyne-fundfit-test.git cd streamlyne-fundfit-test ``` -
Install dependencies:
bash npm install
To execute all tests in headless mode:
npx playwright testTo run tests in a specific browser:
npx playwright test --project=chromium
npx playwright test --project=firefox
npx playwright test --project=webkitTo run tests in headed mode:
npx playwright test --headedAfter running tests, generate an HTML report:
npm run allure:serveUse the Playwright Inspector for debugging:
npx playwright test --debugstreamlyne-fundfit-test/
├── pageObjectModel/ # Page Resources with Page Selectors
├── tests/ # Test files
├── testData/ # Storing test data on page resource basis
├── utilities/ # Resource needed for test management with custom action class
├── reports/ # Storing log and reporting resources
├── playwright.config.ts # Playwright configuration
├── .env # Storing Credentials and Sensitive information
├── package.json # Project metadata and dependencies
└── README.md # Project documentation
- Playwright: End-to-end testing framework
- TypeScript: Strongly typed programming language
- Jest: Test runner (integrated with Playwright)
- ESLint: Linting tool for code quality
- Prettier: Code formatter
- Allure Reporting: Test Reporting
- Fork the repository.
- Create a new branch (
git checkout -b feature/your-feature). - Commit your changes (
git commit -m 'Add your feature'). For questions or support, please contact jvalle@streamlyne.com.