No tienes acceso a esta clase

¡Continúa aprendiendo! Únete y comienza a potenciar tu carrera

Configurando codeceptjs con Gherkin y BDD

19/24
Recursos

Aportes 3

Preguntas 0

Ordenar por:

¿Quieres ver más aportes, preguntas y respuestas de la comunidad?

Steps to setup the Framework

1: Open a new empty folder with your favorite Code Editor
2: git init
3: npm init -y
4: npm install codeceptjs puppeteer --save
5: npx codeceptjs init

? Do you plan to write tests in TypeScript? No
? Where are your tests located? ./*_test.js
? What helpers do you want to use? Puppeteer
? Where should logs, screenshots, and reports to be stored? ./output
? Do you want to enable localization for tests? http English (no localization)
Configure helpers...
? [Puppeteer] Base url of site to be tested https://platzi.com/home
? [Puppeteer] Show browser window Yes
? [Puppeteer] Browser viewport size 1200x900

6: npx codeceptjs gherkin:init

Cuales son las extensiones que recomienda profe?.

\## Configurando codeceptjs con Gherkin y BDD 1\. Open a new empty folder with your favorite Code Editor 2\. git init 3\. npm init -y 4\. npx create-codeceptjs . Nota. si muestra error tse tiene que seguir los siguientes pasos h eingresar los siguientes codigos: \- `npm install -g npm@latest` \- `npm cache clean --force` \- `npm config list` 5\. npm install codeceptjs puppeteer --save Nota: si tinen un erro, usar el siguiente codigo: \- `npm audit fix --force` 6\. npx codeceptjs init ? Do you plan to write tests in TypeScript? No ? Where are your tests located? ./\*\_test.js ? What helpers do you want to use? Puppeteer ? Where should logs, screenshots, and reports to be stored? ./output ? Do you want to enable localization for tests? http English (no localization) Configure helpers... ? \[Puppeteer] Base url of site to be tested <https://platzi.com/home> ? \[Puppeteer] Show browser window Yes ? \[Puppeteer] Browser viewport size 1200x900 6\. npx codeceptjs gherkin:init