One of the new services Tesco introduced on the hudl 2 was the My Tesco app which gives hudl 2 users their own little window into the world of Tesco with easy access to your favorite Tesco services such as shopping and banking. The app will display multiple “cards” displaying useful information and offers for the services they choose.
In order to make life a little easier for those involved in creating these cards which appear in My Tesco, the product owner decided to create a content management system (CMS) which would give us the ability to see a preview of the cards before they get published onto the device. This would make creating cards fast, easy and with less risk of any mistakes occurring.
Given I was the only tester on the project I would first write test cases for each story, then manually test the scenarios while writing the code for the automated test. I decided to use Selenium Webdriver to automate the test cases, and also integrated the Cucumber testing tool (written in Java), giving us the ability to write acceptance tests which were agreed during grooming sessions. Also another reason I implemented Cucumber was so that the product owner could easily read and understand each test without having to learn what the code does.
Another cool functionality we added to the project was allowing the tests to be run on multiple browsers in order to make sure the CMS would work correctly on all our supported browsers. We managed to do this by using Selenium grid, albeit at the time of writing this post we had not fully implemented Selenium grid within our Jenkins job to run on a nightly basis, we had seen it work and were happy with the test coverage it would give us.