This project is a test automation framework built using Playwright. It utilizes the Page Object Model (POM) to manage test scenarios for web applications.
tests/
- Contains test files.pages/
- Contains Page Object Model (POM) classes.utils/
- Contains utility tools and configuration files.
-
Clone the repository:
git clone https://github.com/melihkl/playwrightWebTestAutomation.git
-
Navigate to the project directory:
cd project_name
-
Install the required Node.js packages:
npm install
To run the tests, use the following command:
npx playwright test
You can configure test settings in the playwright.config.js file. This includes browser sizes, reporting options, and other settings.
To run your project with Docker, follow these steps:
- Build the Docker image:
docker build -t [projectfile-name] .
- Run the Docker container:
docker run --rm [projectfile-name]
This project is licensed under the MIT License - see the LICENSE file for details.