Hallo,

I found a bug in the clickLink function: after following a link the HTML content of the current site in the browser changes (in most cases) - so we have to update the _content variable, which is not done now. Therefore the function drupalGetContent() does not provide the current side, which was very confusing for me during debugging my simpletests. I did a patch here (just adding one line) to update the content.

CommentFileSizeAuthor
drupal_test_case.php_.patch694 bytesklausi

Comments

boombatower’s picture

Status: Needs review » Fixed

This has been fixed in latest versions, but not in 5.x as there is not current development.

Committed.
Thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.