https://github.com/charlyautomatiza/starter-cypress
Creamos en vivo un starter project para Web Test Automation basado en Cypress - Javascript
https://github.com/charlyautomatiza/starter-cypress
cypress cypress-example cypress-tests javascript
Last synced: about 1 year ago
JSON representation
Creamos en vivo un starter project para Web Test Automation basado en Cypress - Javascript
- Host: GitHub
- URL: https://github.com/charlyautomatiza/starter-cypress
- Owner: charlyautomatiza
- License: cc0-1.0
- Created: 2022-02-24T21:59:04.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-07T19:42:06.000Z (about 4 years ago)
- Last Synced: 2025-04-24T00:06:42.649Z (about 1 year ago)
- Topics: cypress, cypress-example, cypress-tests, javascript
- Language: JavaScript
- Homepage: https://linktr.ee/charlyautomatiza
- Size: 74.2 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [](https://www.cypress.io)
## Starter project creado en vivo en [stream de Twitch](https://www.twitch.tv/charlyautomatiza) basado en [Cypress](https://www.cypress.io), [JavaScript](https://developer.mozilla.org/es/docs/Web/JavaScript) y [Node.js](https://nodejs.org/en/)
### Requerimientos generales
- Instalar [Node.js](https://nodejs.org/es/download/).
- Instalar algún cliente git como por ejemplo [git bash](https://git-scm.com/downloads).
- Tener instalada alguna versión de Chrome, Firefox o Edge.
### Instalación del framework de pruebas
#### **Clonar el repositorio:**
```bash
git clone https://github.com/charlyautomatiza/starter-cypress.git
```
#### **Instalar las dependencias.**
```bash
npm install
```
#### **Para abrir el Test Runner**
```bash
npm run cypress:open
```
#### **Para la ejecución de los test en Chrome Headless**
```bash
npm run cypress:run:chrome
```
#### **Para la ejecución de los test en Chrome Headed**
```bash
npm run cypress:run:headed
```
#### **Para la ejecución de los test en Firefox Headless**
```bash
npm run cypress:run:ff
```
#### **Para actualizar la base de datos local de browsers**
```bash
npx browserslist@latest --update-db
```
El comando anterior hay que ejecutarlo periódicamente. Para mayor información consultar la documentación oficial [Browserslist](https://github.com/browserslist/browserslist#browsers-data-updating).
### Web de ejemplo
Utilizamos como ejemplo para realizar pruebas con el framework la siguiente [web pública](https://the-internet.herokuapp.com/login).
### Créditos
[](https://www.cypress.io/)