damithc / testrepo3

0 stars 0 forks source link

Bug in AppPage.verifyHtml causing non-equal htmls to pass #233

Open damithc opened 10 years ago

damithc commented 10 years ago

From arnold.k...@gmail.com on January 09, 2014 15:52:46

I encountered a strange bug where verifyHtml would "confirm" that two htmls are equal even though the expected html is missing some parts.

I attached the html that caused this. running actual.html against expected.html will pass the test (it shouldn't as expected.html is missing the parts shown in missing part.png).

Adding a random line at the point where the missing part is supposed to appear will cause the test to fail. In expected-fail.html I added the line THISWILLFAILTHETEST at the point where the missign parts is supposed to be and the test now properly fails.

Attachment: actual.html expected.html expected-fail.html missing part.png

Original issue: http://code.google.com/p/teammatespes/issues/detail?id=1469