what about url?


On Tue, Jun 18, 2013 at 3:56 PM, LeeBreisacher <notifications@github.com>wrote:

> In ui-tests/src/main/java/org/openmrs/reference/page/AbstractBasePage.java:
>
> >      }
> > +	
> > +	/**
> > +	 * Real pages supply their title.
> > +	 *
> > +	 * @return The title of the page.
> > +	 */
> > +	public abstract String expectedTitle();
> >  }
>
> Well, what I was going for is some standard way that pages can be
> "identified", so that the assertPage() method in TestBase will always work.
> For now, I figured the title was a start. So if we do want to be able to
> uniquely identify each page, then yes I think there should be some abstract
> method that forces each page to provide its "identity". I do admit that
> expectedTitle is not a great method name. And yes, I'm all in favor of a
> Page interface (and then the Abstract class becomes a bit less important).
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/openmrs/openmrs-distro-referenceapplication/pull/6/files#r4756315>
> .
>