pageobject-generator icon indicating copy to clipboard operation
pageobject-generator copied to clipboard

by.options locator is used incorrectly

Open szmeti opened this issue 8 years ago • 0 comments

We have an NgOptionsLocatorStrategy that matches on ng-options. At the moment we use this to generate a selector for the select, but Protractor returns the nested options if by.options is used. Because of this all of the generated methods are incorrect (our methods assume they work with the select tag).

For now, I have removed this locator strategy from the config. We need to test the generated methods with a Protractor test and adjust if necessary.

szmeti avatar Jun 24 '17 14:06 szmeti