I’ve created yet another screencast. This one demonstrates how to use the navigational features that are a part of the page-object gem.
I’ve created yet another screencast. This one demonstrates how to use the navigational features that are a part of the page-object gem.
Hey Cheezy,
My application is quite complex. Is there a way to add page specific routes? That is routes that apply to a single page?
Or, do you have any plans for future expansion, where your routes supports a graph of pages?
Thanks
Dave,
It is possible to define many routes. Currently a route needs to be at least two pages. If you are only going to a single page then you could use the on or visit methods to just instantiate the object and interact with it. I would like to hear more about your idea of page specific routes. Would you mind starting a conversation about this on the page-object google group?
At a couple of clients I have created several smaller routes (2-3 pages) and then selected the collection of routes to use based on what was being tested.
-Cheezy