Today I am going to post a study project that I have created to try Cypress and Galen. As some of you know Cypress doesn’t support cross browser testing at the moment. This is because the creators believe that nowadays you don’t really need to do functional tests on all the browsers, so what they suggest is to create an automation project for the functionality and run on only one browser and then create another project to run the layout tests on the other browsers.
I kind agree with this statement, since most of the bugs that I have found in my latest projects are layout bugs and doesn’t affect the funcionality of the feature. I say most of the bugs, because I can remember one or two situations where the layout issue affected the functionality. Eg.: Imagine there is a menu that shows a list of options when the mouse is over it. You could have an issue with the css, where this list is overridden by a div and the options are not displayed and clickable.
To give it a go on this idea, I have created a project doing functional tests with Cypress and layout tests with Galen.
The link to the project is here: https://github.com/rafaelaazevedo/bug-free-garbanzo
As always feel free to fork and improve the code, share ideas, fix bugs, etc…
I am still fixing the Docker image to integrate the Cypress and the Galen tests in the same container. For now you can run the tests in the Cypress docker container.
See you next time 🙂