You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note (also from a conversation with @benshine on Slack): We also need documentation that you can add plain JS methods to the page object. In those methods, you can refer to the PO with the this keyword, return this to allow for method chaining, etc.
Currently, the only description of writing custom helpers is in the section on components:
http://ember-cli-page-object.js.org/docs/v1.4.x/components#custom-helper
I found out in emberjs slack from @jeradg that "The custom helpers will work in components, page objects, collections, etc."
It would be great if that info were in the actual documentation :)
The text was updated successfully, but these errors were encountered: