Curso de cypress para Leda-MC
https://github.com/AlbertoBasalo/cy-lab
https://albertobasalo.medium.com/intro-to-web-testing-with-cypress-85f60e761e09
https://medium.com/@albertobasalo/advanced-tips-for-testing-with-cypress-d1b0f043ebd9
git clone https://github.com/TrainingITCourses/leda_cypress
cd leda_cypress
npm install
# run cypress
npm start
# create new npm project
npm init -y
# add cypress as dependency
npm i cypress
# add typescript as dependency
npm i typescript
# add several dev dependencies
npm i -D @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint eslint-config-prettier eslint-plugin-prettier prettier
npm i -D @types/node
# add cypress open to start script and run it
npm start
It is a demo web app with simple but enough functionality. Get a clone, install the dependencies, and follow the instructions to start a local server.
F1
:command listCTRL+P
: fileCTRL+T
: search codeCTRL+K CTRL+Z
: code commentCTRL+K CTRL+U
: uncomment codeF12
: go to definitionCTRL+Ñ
: show hide terminalCTRL+B
: show hide navigation barCTRL+K S
: save al filesALT+up|down
: move line