Project Name is a test automation project built with Playwright, a powerful framework for browser automation. This project is designed to help you efficiently automate end-to-end testing, boosting confidence in your web applications by ensuring consistent user experience across different browsers.
- Cross-browser testing: Run tests in Chrome, Firefox, and WebKit.
- Headless execution: Perform tests without a UI for better performance and resource utilization.
- Easy to write and maintain tests with Playwright's rich API.
- Supports CI/CD integration for continuous testing.
Before you begin, ensure you have met the following requirements:
- Node.js (>= v12.x.x)
- npm (comes with Node.js) or yarn
-
Clone the repository:
git clone https://github.com/msojkowski/playwright-js-automation-task
-
Navigate into the project directory:
cd playwright-js-automation-task
-
Install dependencies:
npm install # or yarn install
-
Install Playwright and the necessary browser binaries:
npx playwright install
Configure your test settings in the playwright.config.js file. You can specify options such as the browsers to test against, paths to test files, or custom launch options.
Execute the test suite using the following command:
npx playwright test
Execute the test suite in UI mode using the following command:
npx playwright test --ui
For detailed reports, you can generate an HTML report with:
npx playwright show-report
For any questions, please contact [[email protected]].
- Sort-by button functionality is not sorting the values - it is moving the selected element to the end of the list.
- Accessibility issues spotted thanks to the analyze tool.
- Page Object Model
- Data fixtures
- CI/CD