NOTE: This is the TestCases web. You cannot edit any topic named "TestCase..." or "Web..." in this web, you can only create new topics. Any topics you do create that are not checked into subversion may be deleted by anyone, at any time.
Description: Automated formatted search tests.

Results dependent on templates used to render search results. Tests only make sense when this topic is viewed with "pattern" skin and standard search templates.

run this test

Designed by: Kenneth Lavrsen

Simple formatted search

Expected

I found FormattedSearch1

Actual

I found FormattedSearch1

Formatted singled level search with $web, $topic, $wikiname, $n

Expected

TestCases TestCaseAutoFormattedSearch

@WIKIWORD

Actual

TestCases TestCaseAutoFormattedSearch

TWikiContributor

Formatted Search with $topic(5)

Expected

Forma- ttedS- earch- 1

Actual

Forma- ttedS- earch- 1

Formatted singled level search with $topic(5, -<br />)

Expected

Forma-
ttedS-
earch-
1

Actual

Forma-
ttedS-
earch-
1

Formatted singled level search with $topic(5, ...)

Expected

Forma...

Actual

Forma...

Formatted singled level search with $rev, $parent and $formname

Expected

Revision 4 has parent TestCaseAutoFormattedSearch and it contains the form FormattedSearchForm

Actual

Revision 4 has parent TestCaseAutoFormattedSearch and it contains the form FormattedSearchForm

Formatted single level with separator

Expected

FormattedSearch1, FormattedSearch2, FormattedSearch3

Actual

FormattedSearch1, FormattedSearch2, FormattedSearch3

Formatted search with pattern and multiple

Expected

Clients,People,Rooms,Buildings

Actual

Clients,People,Rooms,Buildings

Formatted search with counting

Note the counter counts the number of lines with the pattern. Not the number of actual patterns. Is this intented?

Expected

Found 4

Actual

Found 4

Formatted search with $text and multiple

Expected

option1 option  

Actual

option1 option  

Formatted search with $summary

Expected

MichaelAnchor and AnnaAnchor lived in Skagen in DenmarkEurope!. There is a very nice museum you can visit!

Actual

MichaelAnchor and AnnaAnchor lived in Skagen in DenmarkEurope!. There is a very nice museum you can visit!

Formatted singled level search - header

Expected

The header contains TestCases "Hey" TestCases $summary

Formatted search result FormattedSearch1

Formatted search result FormattedSearch2

Formatted search result FormattedSearch3

Actual

The header contains TestCases "Hey" TestCases $summary

Formatted search result FormattedSearch1

Formatted search result FormattedSearch2

Formatted search result FormattedSearch3

Formatted singled level search with escaped characters

Expected

FormattedSearch1 has $formfield(Name) = Michael Anchor

Actual

FormattedSearch1 has $formfield(Name) = Michael Anchor

Nested formatted search with format and $percnt

Expected

  • FormattedSearch1 is referenced by:
    • TestCaseAutoFormattedSearch

  • FormattedSearch2 is referenced by:
    • FormattedSearch1, TestCaseAutoFormattedSearch

Actual

  • FormattedSearch1 is referenced by:
    • TestCaseAutoFormattedSearch

  • FormattedSearch2 is referenced by:
    • FormattedSearch1, TestCaseAutoFormattedSearch

Nested formatted search with format and $dollar and $percnt

Expected

  • FormattedSearch1 has formfield(Testsample) = $nop, $quot, $percnt, $dollar in $formfield()
    • FormattedSearch2 has formfield(Testsample) = $summary

Actual

  • FormattedSearch1 has formfield(Testsample) = $nop, $quot, $percnt, $dollar in $formfield()
    • FormattedSearch2 has formfield(Testsample) = $summary

Extract from table

Expected

option1

option2

option3

Actual

option1

option2

option3

Combinations 1

Expected

FormattedSearch1 parent is TestCaseAutoFormattedSearch

FormattedSearch2 parent is TestCaseAutoFormattedSearch

Actual

FormattedSearch1 parent is TestCaseAutoFormattedSearch

FormattedSearch2 parent is TestCaseAutoFormattedSearch

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2007-01-25 - TWikiContributor
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback