This project is the automation home assignment - https://docs.google.com/document/d/1ixrNCz_rgYYVfeGnUi9ZnBL-OUsqvsP4IaxIAuguRWk/edit
Before you begin, ensure you have met the following requirements:
- Node.js (version 18.x or later)
- pnpm (version 8.x or later)
- Install Playwright: pnpm exec playwright install
- Access to Cloudinary account credentials
-
Clone this Repository
-
Install the project dependencies using pnpm: pnpm install
-
Create a .env file in the root directory of the project and add your Cloudinary credentials:
EMAIL=your-email
PASSWORD=your-password
Make sure to replace your-email and your-password with your actual Cloudinary credentials
-
Make sure to replace filePath to a path of an asset from your PC:
const filePath = path.resolve('<your_image_path_source>');
-
To run the tests, use the following command: pnpm run test