Here is a test for the blog module.

I found the following issues:

1) In checking the breadcrumbs, I used assertText and noticed that html entities are not converted to plain text.
For example, the apostrophe ([user name]'s blog) needs to be asserted as the html entity #039.
Is this intended or do we want to have these characters converted?

2) The statement $this->drupalGet('admin/help/blog'); does not take you to the blog specific help, but only to the help contents page.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

boombatower’s picture

Status: Needs review » Fixed

Committed.

Looks great. Nice work.

In response to your two issues, I will have chx and webchick see what they think. Anyone else is free to comment.

solotandem’s picture

Status: Fixed » Needs review
FileSize
6.79 KB

The attached patch eliminates the unused $user variable from the verifyBlogs function and tidies up a couple of comments.

boombatower’s picture

Status: Needs review » Fixed

Committed.

Thanks for the follow up.

solotandem’s picture

Status: Fixed » Needs review
FileSize
1.14 KB
709 bytes

Revision needed due to recent core change of the delta column from numeric to alpha.

boombatower’s picture

Status: Needs review » Fixed

Committed

Anonymous’s picture

Status: Fixed » Closed (fixed)

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