I'm using Protractor to test an Angular app. There is a generic share functionality which runs across various different pages - at the moment I have the test in each individual spec for each page, however now looking into optimisation, I would quite like to make this as DRY as possible.I'm using Protractor to test an Angular app. Th