#105 Failed assertTitleMatches() should include title

Release_2.2
open
Jevon Wright
Core API (44)
3
2012-12-11
2008-12-17
Jevon Wright
No

If assertTitleMatches() fails, its failure message should include the current page title.

Discussion

  • Still not fixed? Just

    public void assertTitleMatch(String regexp) {
    String title = getTestingEngine().getPageTitle();
    assertMatch("Unable to match [" + regexp + "] in title '" + title +"'", regexp, title);
    }