Difference: TestCaseAutoFormattedSearch ( vs. 1)

Revision 12007-01-25 - TWikiContributor

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="WebHome"
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

<-- expected Simple -->
I found FormattedSearch1
<-- /expected -->

Actual

<-- actual -->
I found FormattedSearch1
<-- /actual -->

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

Expected

<-- expected expand rex FORMAT with $web, $topic, $wikiname, $n -->
TestCases TestCaseAutoFormattedSearch

@WIKIWORD

<-- /expected -->

Actual

<-- actual -->
TestCases TestCaseAutoFormattedSearch

TWikiContributor

<-- /actual -->

Formatted Search with $topic(5)

Expected

<-- expected with $topic(5) -->
Forma- ttedS- earch- 1
<-- /expected -->

Actual

<-- actual -->
Forma- ttedS- earch- 1
<-- /actual -->

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

Expected

<-- expected with $topic(number br)-->
Forma-
ttedS-
earch-
1
<-- /expected -->

Actual

<-- actual -->
Forma-
ttedS-
earch-
1
<-- /actual -->

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

Expected

<-- expected with $topic(5, ...) -->
Forma...
<-- /expected -->

Actual

<-- actual -->
Forma...
<-- /actual -->

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

Expected

<-- expected with $parent -->
Revision 4 has parent TestCaseAutoFormattedSearch and it contains the form FormattedSearchForm
<-- /expected -->

Actual

<-- actual -->
Revision 4 has parent TestCaseAutoFormattedSearch and it contains the form FormattedSearchForm
<-- /actual -->

Formatted single level with separator

Expected

<-- expected with separator -->
FormattedSearch1, FormattedSearch2, FormattedSearch3
<-- /expected -->

Actual

<-- actual -->
FormattedSearch1, FormattedSearch2, FormattedSearch3
<-- /actual -->

Formatted search with pattern and multiple

Expected

<-- expected with separator -->
Clients,People,Rooms,Buildings
<-- /expected -->

Actual

<-- actual -->
Clients,People,Rooms,Buildings
<-- /actual -->

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

<-- expected counting -->
Found 4
<-- /expected -->

Actual

<-- actual -->
Found 4
<-- /actual -->

Formatted search with $text and multiple

Expected

<-- expected with text and multi -->
option1 option  

<-- /expected -->

Actual

<-- actual -->
option1 option  

<-- /actual -->

Formatted search with $summary

Expected

<-- expected with summary -->
MichaelAnchor and AnnaAnchor lived in Skagen in DenmarkEurope!. There is a very nice museum you can visit!
<-- /expected -->

Actual

<-- actual -->
MichaelAnchor and AnnaAnchor lived in Skagen in DenmarkEurope!. There is a very nice museum you can visit!
<-- /actual -->

Formatted singled level search - header

Expected

<-- expected  header -->
The header contains TestCases "Hey" TestCases $summary

Formatted search result FormattedSearch1

Formatted search result FormattedSearch2

Formatted search result FormattedSearch3

<-- /expected -->

Actual

<-- actual -->
The header contains TestCases "Hey" TestCases $summary

Formatted search result FormattedSearch1

Formatted search result FormattedSearch2

Formatted search result FormattedSearch3

<-- /actual -->

Formatted singled level search with escaped characters

Expected

<-- expected  escaped characters -->
FormattedSearch1 has $formfield(Name) = Michael Anchor
<-- /expected -->

Actual

<-- actual -->
FormattedSearch1 has $formfield(Name) = Michael Anchor
<-- /actual -->

Nested formatted search with format and $percnt

Expected

<-- expected  Nested with percnt -->
  • FormattedSearch1 is referenced by:
    • TestCaseAutoFormattedSearch

  • FormattedSearch2 is referenced by:
    • FormattedSearch1, TestCaseAutoFormattedSearch

<-- /expected -->

Actual

<-- actual -->
  • FormattedSearch1 is referenced by:
    • TestCaseAutoFormattedSearch, WebStatistics

  • FormattedSearch2 is referenced by:
    • FormattedSearch1, TestCaseAutoFormattedSearch, WebStatistics

<-- /actual -->

Nested formatted search with format and $dollar and $percnt

Expected

<-- expected  Nested with dollar and percnt -->
  • FormattedSearch1 has formfield(Testsample) = $nop, $quot, $percnt, $dollar in $formfield()
    • FormattedSearch2 has formfield(Testsample) = $summary
<-- /expected -->

Actual

<-- actual -->
  • FormattedSearch1 has formfield(Testsample) = $nop, $quot, $percnt, $dollar in $formfield()
    • FormattedSearch2 has formfield(Testsample) = $summary
<-- /actual -->

Extract from table

Expected

<-- expected table values -->
option1

option2

option3

<-- /expected -->

Actual

<-- actual -->
option1

option2

option3

<-- /actual -->

Combinations 1

Expected

<-- expected combo 1 -->
FormattedSearch1 parent is TestCaseAutoFormattedSearch

FormattedSearch2 parent is TestCaseAutoFormattedSearch

<-- /expected -->

Actual

<-- actual -->
FormattedSearch1 parent is TestCaseAutoFormattedSearch

FormattedSearch2 parent is TestCaseAutoFormattedSearch

<-- /actual -->
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback