Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/haite4/rentzila-cypress
This repository contains automated tests using Cypress, written specifically for the website Rentzila. Allure Report: https://haite4.github.io/rentzila-cypress/
https://github.com/haite4/rentzila-cypress
allure-report cypress cypress-api cypress-automation github-actions github-pages
Last synced: about 1 month ago
JSON representation
This repository contains automated tests using Cypress, written specifically for the website Rentzila. Allure Report: https://haite4.github.io/rentzila-cypress/
- Host: GitHub
- URL: https://github.com/haite4/rentzila-cypress
- Owner: haite4
- License: mit
- Created: 2024-10-24T09:52:57.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-05T12:46:14.000Z (about 2 months ago)
- Last Synced: 2024-11-05T13:28:01.792Z (about 2 months ago)
- Topics: allure-report, cypress, cypress-api, cypress-automation, github-actions, github-pages
- Language: TypeScript
- Homepage:
- Size: 14.5 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rentzila Cypress
## Introduction
This repository contains automated tests using Cypress, written specifically for the website Rentzila## Requirements
- **Node.js**: v20.15.1
- **Dependencies**:
- `@faker-js/faker`: ^9.0.3
- `dotenv`: ^16.4.5
- `tsx`: ^4.19.1
- `typescript`: ^5.6.3
- `cypress`: ^13.15.1## Steps to Install
1. **Install Node.js**:[Node.js](https://nodejs.org/en/download/package-manager)
2. **Clone the repository**:
```sh
https://github.com/haite4/rentzila-cypress
```
3. **Navigate to the project directory**:
```sh
cd rentzila-cypress
```4. **Install dependencies**:
```sh
npm install
```## Steps to Launch
1. **Open cypress app:**:
```sh
npm run cy:open
```
2. **Run createUnit tests in headless mode:**:
```sh
npm run cy:createUnit:headles
```
3. **Run createUnit tests in headed mode:**:
```sh
npm run cy:createUnit:headed
```
4. **Run createUnit tests in firefox browser:**:
```sh
npm run cy:createUnit:firefox
```
5. **Run createUnit tests in edge browser:**:
```sh
npm run cy:createUnit:edge
```
6. **Run all tests in chrome browser:**:
```sh
npm run cy:all
```## Allure Report:
1. **Generate Allure Report:**
```sh
npm run allure:generate
```
2. **Open Allure Report:**
```sh
npm run allure:open
```
## Report on CI:[Github Pages allure report](https://haite4.github.io/rentzila-cypress/)
## ENV
- **ADMIN_EMAIL**: you can get from the project owner
- **ADMIN_PASSWORD**: you can get from the project owner
- **ADMIN_PHONE_NUMBER**: you can get from the project owner
- **VALID_PHONE_NUMBER**: you can take any correct Ukrainian number
- **BASE_URL**: you can get from the project owner
- **USER_EMAIL**: You can get after creating an account on rentzila
- **USER_PASSWORD**: You can get after creating an account on rentzila
- **USER_PHONE_NUMBER**: You can get after creating an account on rentzila