Fort Lee, New Jersey, United States
I wrote UI test code in Selenium for an application that helps the bank manage their clients.
The code is run in a Docker-Selenium container and the results of the tests are posted to the Test Rails API.
The goal was to have the tests run before the new version of the application could be deployed. More specifically, the DevOps team would have Jenkins create the image and run the Docker-Selenium container based on my source code and the Dockerfile I created. In the event that all of the tests passed, the new version of the application would be deployed.
Why should we write test code for the UI? Can't we have someone manually click the buttons? The reason is that if we want to add new functionality to the application, we need an efficient way to ascertain that we haven't broken any previously existing functionality.