franaragm / cy-lab

🌲Sample project for Cypress testing courses by https://albertobasalo.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CyLab,

Cypress Laboratory for Alberto Basalo courses and workshops

GitHub license

Sample code for Cypress development courses by Alberto Basalo

Clone Repository, install dependencies, and run the project

git clone https://github.com/AlbertoBasalo/cy-lab
cd cy-lab
npm install
# run cypress interactive mode
npm start
# alternatively run cypress in headless mode
npm test

Target project (Subject under test)

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.

🛠 VS Code configuration

npm i -D @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint eslint-config-prettier prettier typescript

⚙️ Settings

🧩 Extensions

https://chromewebstore.google.com/detail/cypress-recorder/glcapdcacdfkokcmicllhcjigeodacab?pli=1

👩🏼‍⚖️ EsLint rules

⌨ VS Code Shortcuts

  • F1 :command list
  • CTRL+P : file
  • CTRL+T : search code
  • CTRL+K CTRL+Z : code comment
  • CTRL+K CTRL+U : uncomment code
  • F12 : go to definition
  • CTRL+Ñ : show hide terminal
  • CTRL+B: show hide navigation bar
  • CTRL+K S : save al files
  • ALT+up|down : move line

🧑🏼‍💻 By Alberto Basalo

twitter albertobasalo

git albertobasalo

About

🌲Sample project for Cypress testing courses by https://albertobasalo.dev

License:MIT License


Languages

Language:TypeScript 100.0%