I don't really like the function names that this patch uses, but it gets the job done and scans for regular "img" tags. The assert function is "assertImageExists('label')". It scans for "title" or "alt" just like assertImage(), but can easily be modified to look for the ID attribute.
This is patched against 1.0.1beta2.
Log in to post a comment.