The project showcases the use of Selenium with JavaScript and its combination with the Jest testing framework for performing User Interface (UI) tests on a navbar.
Website1
The website where the element is located is the https://www.allianz.com/en.html .
The web element tested was the navbar found on the landing page of the website:
There were 2 suites of tests created, each covering a distinct user-initiated keyboard operation:
- Hovering over each navbar link.
- Clicking each navbar link.
"dependencies": {
"selenium-webdriver": "^4.25.0"
},
"devDependencies": {
"jest": "^29.7.0"
}
Footnotes
-
Disclaimer: This website was tested in order to showcase the use of Selenium with Javascript and Jest, and such testing does not constitute an endorsement or promotion of said website. ↩