This project contains automated tests for the Temu website using Playwright. The tests are designed to interact with the website, performing actions such as navigation, clicking buttons, and verifying content.
temu-playwright-tests
├── tests
│ ├── example.spec.ts # Contains test specifications for the Temu website
├── playwright.config.ts # Configuration file for Playwright
├── package.json # npm configuration file with dependencies and scripts
├── tsconfig.json # TypeScript configuration file
└── README.md # Documentation for the project
To set up the project, follow these steps:
-
Clone the repository:
git clone <repository-url> cd temu-playwright-tests
-
Install dependencies:
npm install
-
Run the tests:
npx playwright test
Tests are located in the tests directory. You can create new test files or modify existing ones to add more test cases.
The Playwright configuration can be found in playwright.config.ts. You can adjust settings such as the browser type, test directory, and other global options.
This project is licensed under the MIT License.