[JWebUnit-development] [ jwebunit-Feature Requests-2437370 ] Failed assertTitleMatches() should inc
Brought to you by:
henryju
|
From: SourceForge.net <no...@so...> - 2011-10-18 16:26:45
|
Feature Requests item #2437370, was opened at 2008-12-17 06:05 Message generated for change (Comment added) made by victor-homyakov You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=497985&aid=2437370&group_id=61302 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Core API Group: Release 2.2 Status: Open Priority: 3 Private: No Submitted By: Jevon Wright (jevonwright) Assigned to: Jevon Wright (jevonwright) Summary: Failed assertTitleMatches() should include title Initial Comment: If assertTitleMatches() fails, its failure message should include the current page title. ---------------------------------------------------------------------- Comment By: Victor Homyakov (victor-homyakov) Date: 2011-10-18 19:26 Message: Still not fixed? Just public void assertTitleMatch(String regexp) { String title = getTestingEngine().getPageTitle(); assertMatch("Unable to match [" + regexp + "] in title '" + title +"'", regexp, title); } ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=497985&aid=2437370&group_id=61302 |