Skip to content

Latest commit

 

History

History
80 lines (30 loc) · 4.24 KB

README.md

File metadata and controls

80 lines (30 loc) · 4.24 KB

Eventbook Cypress Test

An automation testing project built to verify as many details and functions on the official website of the Eventbook entertainment platform.


📌 Inspiration and personal purpose 📈

This automation project was created in order to apply practically my knowledge about Cypress JS framework. In this respect, I developed a tests suite which verify by assertions different details and functions of the Eventbook website, for personal exercise and learning.

📌 Project technologies 💻

  • JavaScript as programming language

  • Node.js as runtime environment

  • Cypress as automation framework for web applications

  • Google Chrome as test browser

📌 Setup and installation 🛠️

  1. The first time I created a remote repository on GitHub, then a local repository on my computer.
  2. In the project's local folder, I installed the Cypress automatic testing framework from the Command Prompt, by executing the command: "npm i cypress".
  3. After the final installation of Cypress, I had to open it by command line "npx cypress open" in Command Prompt and configure the framework for this project: selecting the type of testing for this project (End-to-End Testing), selecting the Google Chrome browser to run the website, create and setting the specific folder of the JavaScript test code (in this case: "cypress\e2e\Test_File_Eventbook.cy").
  4. After I have finished configuring Cypress for this project, I open a JS code file in the "cypress\e2e" folder and add the unitary organized tests suite with proper names for all the tests in it, following the documentation of Cypress framework.
  5. The automated test suite is executed by running in the Cypress interface, with a generic report in the left and the visual execution of the tests in the right part. During tests execution, there is a bug which is presented separately below. When it is selected the English language, only a small part of the menu from header is changed to this language, and the other part remains in Romanian.

📌 Web support 🔗

As support, I used the website https://eventbook.ro/ for these automation test.

📌 Testing objectives 🔬

This project was thought as a way to:

  • if it respects a Positive Flow for customers who search information about cultural events and want to buy tickets for these,
  • to create an End-to-End testing scenario, simulating a real context for a user who access the website,
  • to check certain static details (buttons, titles, text, etc.),
  • check if certain functions of the site can be automated in a testing process.

📌 Demo video of the Automation test 🎬

1️⃣ ✔️ This is the first demo video of the automation test execution on the Eventbook website, where all tests are checked, to see the entire flow on this website.

Eventbook_Cypress_Test_complet720.mp4

2️⃣ ❌ This is the second demo video, where is presented a bug. When it is selected the English language, only a small part of the menu from header is changed to this language, and the other part remains in Romanian.

Eventbook_Cypress_Test_bug.mp4