I am making a flower pot application, where you add flowers to it.
So imagine on the page, there are a bunch of flowers, and you can click on some + button to add those flowers to your flower pot.
Each button is basically the following -
<button ng-click="model.addToFlowerPot(flower)">Add</button>
Right now, I have maybe a dozen flowers from my flowerArray (flower in flowers) and I'm just using a repeater to show them all.
How can I tell protractor to only test one of those buttons to make sure that flower is added to the flowerPot?
I'm not entirely sure after reading http://www.protractortest.org/#/locators
Thanks