https://github.com/mauricioavitia/utaf-typescript-selenium
Framework de pruebas automatizadas en Selenium, TypeScrip, Mocha y Axios
https://github.com/mauricioavitia/utaf-typescript-selenium
allure-report api-testing-framework azure-pipelines chai mocha node selenium test-automation typescript ui-testing-framework xunit
Last synced: 4 months ago
JSON representation
Framework de pruebas automatizadas en Selenium, TypeScrip, Mocha y Axios
- Host: GitHub
- URL: https://github.com/mauricioavitia/utaf-typescript-selenium
- Owner: MauricioAvitia
- Created: 2025-07-01T09:20:25.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-08-18T20:21:42.000Z (4 months ago)
- Last Synced: 2025-08-18T22:24:14.791Z (4 months ago)
- Topics: allure-report, api-testing-framework, azure-pipelines, chai, mocha, node, selenium, test-automation, typescript, ui-testing-framework, xunit
- Language: TypeScript
- Homepage:
- Size: 40.3 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#  UTAF-TypeScript-Selenium
UTAF-TypeScript-Selenium is an automated testing framework for web applications, built with the following technologies:
-  **TypeScript**: Static typing and modern JavaScript development.
-  **Selenium WebDriver**: Browser automation for end-to-end testing.
-  **Mocha**: Test framework for structuring and running test cases.
-  **Axios**: HTTP client for API and web service testing.
-  **Allure Results**: Generates detailed and interactive test reports, providing insights into test execution, failures, and history for better analysis and debugging.
-  **Azure DevOps**: CI/CD integration for automated build and deployment pipelines.
##  Authors
-  [MauricioAvitia](https://github.com/MauricioAvitia)
-  [328999_nttds](https://github.com/328999_nttds)
##  Features
- Modular and scalable structure for automated tests.
- Support for UI and API testing.
- Test result reporting.
- Flexible test data management and configuration.
- Test execution on multiple browsers (Chrome, Firefox, Edge).
- Example of continuous integration (CI) with Azure Dev Ops.
##  Installation
1. Clone then repo.
```bash
git clone https://github.com/MauricioAvitia/UTAF-TypeScript-Selenium
```
2. Navigate to root folder.
```bash
cd UTAF-TypeScript-Selenium
```
3. Install yarn (global installation recomended).
```bash
npm install --global yarn
```
4. Pull all dependencies.
```bash
yarn
```
5. Install "Allure" commandline to generate reports.
```bash
npm install -g allure-commandline --save-dev
```
##  Usage
1. Configure parameters in `config/config.json`.
2. To run api tests use the following:
```bash
yarn testapi
```
3. To run ui tests use the following:
```bash
yarn testui
```
4. To generate web report page use:
```bash
allure server allure-results
```
##  Example Report

##  Project Structure
```
├── src/
│ ├── tests/ # Test cases
│ ├── pages/ # Page Objects
│ ├── utils/ # Utilities and helpers
│ └── config/ # Configuration
├── reports/ # Test reports
├── package.json
└── README.md
```
##  Contributing
Contributions are welcome. Please open an issue or submit a pull request.