Testeo de varios e-commerce con cypress
1- https://Automationpractice.com (PrimerasPruebas.js)
Reto mas importante: Utilizacion de parametros para los elementos
Utilizacion de POM <Verificar el caso de prueba 6>
Integrado con Jenkins y Cucumber (Gherkin) (Cucumber/shoppingTest)
2- https://demoqa.com/automation-practice-form (PruebasDataDriven.js)
Reto mas importante: Subir una imagen a la pagina nombrada Automatizar calendario (Ya que se encuentra en un modelo dificil de automatizar) Utilizamos Parametros JSON para parametrizar elementos y Data
3- https://demo.opencart.com/index.php (PruebasAvanzadas.js)
Reto mas importante:
Utilizacion de variables y constantes
Automatizar montos/montos totales
Software y IDE utilizados: IDE: Visual Studio Code SO: Windows 10
Configuracion de ambiente: 1 - Instalar npm y nodejs: https://nodejs.org/en/ A - Verificamos la instalacion con la terminal de windows escribiendo dentro: node -v B - Verificamos la instalacion con la terminal de windows escribiendo dentro: npm -v
2 -Instalamos VSC: https://code.visualstudio.com/download
3 - Creamos una nueva carpeta/descargamos el repo, ingresamos a la terminal de vsc y generamos la siguiente sentencia: npm install cypress --save-dev
4 - Ejecutamos el runner: node_modules.bin\cypress open (si no funciona podemos ejecutar: .\node_modules.bin\cypress.cmd install --force)
5 - Listo, ya se pueden correr los tests.