Skip to content

This is my first automation test with Cypress automation tool, a modern framework for automation testing. In this respect, I organized a tests suite for the website of the Faculty of History and Philosophy from Babeș-Bolyai University, Cluj-Napoca, Romania.

Notifications You must be signed in to change notification settings

MirceaMacarie/History_Cypress_Test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

History Cypress Test

This is my first automation test with Cypress automation tool, a modern framework for automation testing. In this respect, I organized a tests suite for the website of the Faculty of History and Philosophy from Babeș-Bolyai University, Cluj-Napoca, Romania.


📌 Inspiration and personal purpose 📈

This automation project was created to learn a new automation framework, Cypress. In order to apply practically my knowledge about Cypress, I chose to write some automation tests on various functionalities on the website of the Faculty of History and Philosophy, Babeș-Bolyai University, Cluj-Napoca, Romania.

📌 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\History_Tests").
  4. After I have finished configuring Cypress for this project, I open a JS code file in the "cypress\e2e\History_Tests" folder and add the unitary organized test 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 execution, it is made a screenshot with the result of cross-site scripting verification on search bar website.

↪️ Here on GitHub, the JS file with Cypress tests is located in the folder: cypress\e2e\History_Tests. The screenshot is located in cypress\screenshots.

📌 Web support 🔗

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

📌 Testing objectives 🔬

This project was thought as a way to:

  • if it respects a Positive Flow for a student who wants to search/ verify specific things on 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 🎬

Below is the video recording of the automation tests execution, written for testing of Faculty of History BBU website.

History-video-test.mp4

About

This is my first automation test with Cypress automation tool, a modern framework for automation testing. In this respect, I organized a tests suite for the website of the Faculty of History and Philosophy from Babeș-Bolyai University, Cluj-Napoca, Romania.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published