TestingParty08: Filter tips - short tips

cwgordon7 - August 16, 2008 - 02:18
Project:Drupal
Version:7.x-dev
Component:filter.module
Category:task
Priority:normal
Assigned:Unassigned
Status:needs work
Description

We need to test the functionality of Drupal's filter tips. This issue focuses on the "short" filter tips - the ones that appear in an unordered list on the node/add page.

Suggested assertions:
- Create a filter with all of the core filters enabled, make sure the proper tips show up on the node/add page.
- Create several filters, and make sure each has its proper tips show up on the node/add page.
- Make sure the link to the longer tips shows up on the node/add page.

#1

neurovation.kiwi - August 28, 2008 - 08:51

hi folks,

we just are onto it - expect a patch in the next days ;)

#2

neurovation.kiwi - August 31, 2008 - 09:29
Status:active» needs review

hi folks,

so here i got some test that does what is described above.

and i found a bug as well - "Correct broken HTML" does not have a help tip.

will file a bug report as well.

AttachmentSizeStatusTest resultOperations
filterTips.patch3.8 KBIdleFailed: Failed to apply patch.View details | Re-test

#3

neurovation.kiwi - August 31, 2008 - 10:51

well, ok - just found out i was a little bit too rigid.

so here is now a complete patch for the test class, which ignores missing help texts.

cu

AttachmentSizeStatusTest resultOperations
filterTips.patch3.54 KBIdleFailed: Failed to apply patch.View details | Re-test

#4

catch - September 20, 2008 - 23:54
Status:needs review» needs work

Test runs fine and passes but there's a few code style issues - tabs instead of spaces, munging together of variable names (should be $foo_bar), and code comments should read as full sentences.

#5

lilou - June 14, 2009 - 19:24
Component:tests» filter.module
Status:needs work» needs review

Few code style corrections.

AttachmentSizeStatusTest resultOperations
issue-295985.patch3.57 KBIgnoredNoneNone

#6

lilou - June 14, 2009 - 19:25
AttachmentSizeStatusTest resultOperations
issue-295985.patch3.57 KBIdleFailed: 11132 passes, 27 fails, 20 exceptionsView details | Re-test

#7

System Message - June 14, 2009 - 19:40
Status:needs review» needs work

The last submitted patch failed testing.

#8

lilou - June 17, 2009 - 11:51

Re-roll.

Fail :

        $this->assertEqual(htmlentities((string)$fields[0]->ul->li[$filter->delta - $missingHelpCount]), $tips[$filter->delta], t('Filter help text match !filter', array('!filter' => $filter->name)));

AttachmentSizeStatusTest resultOperations
issue-295985.patch3.72 KBIdleFailed: 11139 passes, 4 fails, 12 exceptionsView details | Re-test

#9

lilou - June 17, 2009 - 11:51
Status:needs work» needs review

#10

lilou - June 17, 2009 - 12:05

AttachmentSizeStatusTest resultOperations
filter-failed.png125.88 KBIgnoredNoneNone

#11

System Message - June 17, 2009 - 12:10
Status:needs review» needs work

The last submitted patch failed testing.

#12

lilou - June 17, 2009 - 12:24
Status:needs work» needs review

HEAD is broken : http://testing.drupal.org/node/35

#13

System Message - June 18, 2009 - 15:40
Status:needs review» needs work

The last submitted patch failed testing.

#14

catch - October 17, 2009 - 07:54
Category:bug report» task
Priority:critical» normal

Moving this out of the critical bugs queue - see #607038: Meta issue: fix gaps in code coverage.

 
 

Drupal is a registered trademark of Dries Buytaert.