ae_page_objects
ae_page_objects copied to clipboard
AePageObjects::Collection specifies 'exact: true' when query
We didn't specify exact: true at any other places except for Collection class. For all the others they just use the default value for Capybara setting, which is false. https://github.com/appfolio/ae_page_objects/blob/master/lib/ae_page_objects/elements/collection.rb#L71
We are not sure why Collection is the exceptional one that has to specify exact: true. Any reasons behind it? If not, could we remove it and use the default value?
Hi @JingyuZ Does this cause problem in running test? could you give more context?
I created the issue not because I want to remove exact: true from collection right now, it’s more like a question for Donnie why we are only being strict with collections, why don't we set exact: true in Capybara settings and make everything strict?