Posts

Showing posts from January, 2018

The Chronicles of Circle CI - Headless Chrome

With my level of patience, I would say running an automated end to end test in circle CI ( v1.0, yes, I am still living in the yesteryears) is quite a nerve wrecking experience.  Our requirement was simple - to be able to run end-to-end tests using protractor wrapper over selenium running chrome headless . Out of the box syndrome The first trial run was setting up the end-to-end execution in native circleCI environment. CircleCI  v1.0  comes shipped with Ubuntu 14.04 , Google-Chrome v54 , and Java1.8   &   1.7 . The default Java version under CircleCI is set to  v1.7 . Versioning  Driver We started the trial run by fixing the versions in native CircleCI environment, finalising on protractor v5.2.2 , and upgrading  webdriver-manager ,  selenium ,  chrome-driver  and gecko  ( FireFox) drivers. The final fixed versions looked something like this: protractor v5.2.2 selenium v3.8.1 chrome-driver v2.34 ...