ui-automation-seat is a project that served as a technical test for SEAT:CODE company.
I used the Cypress framework to do the technical test, which consists to use the SEAT Car Configurator website and verify that the configuration is available to download with X reference id and have the same result
We need to install NodeJS. Cypress supports:
Node.js 14.x Node.js 16.x Node.js 18.x and above
I used the version 18.14.2:
https://nodejs.org/en/blog/release/v18.14.2
See www.nodejs.org for more information.
If you are a Ubuntu user you can do the following:
sudo apt update
sudo apt install nodejs
node -v
sudo apt install npm
If you need a specific version you can use NVM
Once Node installed, you must install Cypress. I used the version 12.10.0:
# Install Cypress
npm install --save-dev [email protected]
To execute the tests you can open Cypress in UI mode:
# Start Cypress UI
npx cypress open
Or you can run it using headless Chrome if you have this browser installed:
# Start Cypress with headless Chrome
npm run tests-chrome