This is a test project for demonstration purposes.
git clone git@github.com:AlyonaNatsyuk/requestum.git
cd requestumInstall the required packages in the following order:
npm install @playwright/testnpm install --save-dev @types/axios
npm install --save-dev @types/nodenpm install --save-dev playwright
npm install --save-dev ts-node
npm install --save-dev typescriptYou can also install all dependencies at once:
npm installThis will install all packages listed in package.json:
“devDependencies”: {
"@playwright/test": "^1.54.2",
"@types/axios": "^0.9.36",
"@types/node": "^24.2.1",
"playwright": "^1.54.2",
"ts-node": "^10.9.2",
"typescript": "^5.9.2"
}After installation, run the command to install browsers:
npx playwright installCheck if everything is installed correctly:
npm test- Node.js version 16 or higher
- npm or yarn
- Git
requestum/
├── node_modules/
├── playwright-report/
├── test-results/
├── tests/
│ ├── blogPage.test.ts
│ ├── casesPage.test.ts
│ ├── homePage.test.ts
│ └── technologiesPage.test.ts
├── utils/
│ └── data/
│ └── constants.ts
├── .gitignore
├── config.
├── LICENSE
├── package-lock.json
├── package.json
├── playwright.config.ts
├── README.md
└── tsconfig.json
# Run all tests
npm test
# Run in UI mode
npx playwright test --ui
# Run specific test
npx playwright test example.spec.ts# Generate report
npx playwright show-report
# IDE setup
npx playwright codegen