Hello,

I face difficulties when assert strings with (important for indenting) leading spaces. How can I understand from the code there is no clear opinion on where to trim strings in tests. For example I can't use assertSelection to check string like
"  some text" because expected value is trimmed and actual is not.

I suggest
1. Remove all the implicit trimming and removeNbsp calls,
2. Add special assertions like assertTrimedText.

If nobody has objection I will code this and send a patch.

Alex Dvoretskiy





begin:vcard
fn:Alex Dvoretskiy
n:Dvoretskiy;Alex
email;internet:[EMAIL PROTECTED]
version:2.1
end:vcard

_______________________________________________
Selenium-devel mailing list
Selenium-devel@lists.public.thoughtworks.org
http://lists.public.thoughtworks.org/mailman/listinfo/selenium-devel

Reply via email to