From: Marcus B. <ma...@la...> - 2004-11-30 16:52:09
|
Hi. RC2 will probably break your web tests! As several people have pointed out, if you have a lot of formatting within your page elements they can be a real pain. Such things as... $this->clickLink('Big & <b>important</b> link'); Now tag content is converted to space normalised text, so you only have to go... $this->clickLink('Big & important link'); The exception to watch out for is images. They are collapsed to their "alt" text... <a href="here,html"><img src="piccy.jpg" alt="A pic">Stuff</a> $this->clickLink('A pic Stuff'); ...so that image links are now clickable in some form. I realise that this will break existing test suites, but as people have been screaming for this fix for some time I have decided to bite the bullet at this late stage. You can try all of this out if you do a pull of the current CVS version. It would be nice to get some feedback as to the correctness of this decision so that I don't get into this kind of mess again. Please let me know what you think. yours, Marcus -- Marcus Baker, ma...@la... - http://www.lastcraft.com/ PHP London every first Thursday - http://www.phplondon.org/ |