Update: 26/04/14 – added example github project showing an example project with config setup and simple test.
Example project on github: https://github.com/onekilo79/protractor-astrolabe-example
Page Object Pattern
When writing browser based tests with selenium the test can become brittle if they are too attached to the xpath of the css selector when the page look and feel changes. To limit your exposure to changes in the styling of the page you can use the Page Object Pattern.
Library that does Page Object Pattern in Groovy
In Groovy we have the excellent Geb by Luke Daily.