Set a 404 page and check that it appears. Assert that blocks and tabs do not appear.

CommentFileSizeAuthor
#1 296305-404-tests.patch2.55 KBDamien Tournoud
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Damien Tournoud’s picture

Status: Active » Needs review
FileSize
2.55 KB

Test written with recidive (http://drupal.org/user/12564).

cwgordon7’s picture

Status: Needs review » Needs work

$this->assertText() is used in a number of places where $this->assertTitle() would be more appropriate. Otherwise, looks very good.

cwgordon7’s picture

Status: Needs work » Reviewed & tested by the community

After discussion with DamZ, assertText() works, since assertTitle() only tests the head title. All passes, so rtbc. :)

Dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD. Thanks!

Anonymous’s picture

Status: Fixed » Closed (fixed)

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