Difference: TestCaseAutoSearch ( vs. 1)

Revision 12021-01-06 - TWikiGuest

Line: 1 to 1
Added:
>
>
Description: Automated search function 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: Crawford Currie

Search _default

Expected

<-- expected expand rex DEFAULT -->
Searched: hit me with your rhythm stick

Results from TestCases web retrieved at @TIME (GMT)

<--/twikiTopRow-->
Description: Automated search function tests. Results dependent on templates used to render search results. Tests only make sense when this topic is viewed with `pattern...
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
This is a test fixture topic, used in TestCaseAutoSearch hit me with your rhythm stick hit me! hit me! schmerz ist gut, ich liebe dich hit me! hit me! hit me!...
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
Number of topics: 2
<--/patternSearchResultCount-->
<-- /expected -->

Actual

<-- actual -->
Searched: hit me with your rhythm stick

Results from TestCases web retrieved at 06:01 (GMT)

<--/twikiTopRow-->
Description: Automated search function tests. Results dependent on templates used to render search results. Tests only make sense when this topic is viewed with `pattern...
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
This is a test fixture topic, used in TestCaseAutoSearch hit me with your rhythm stick hit me! hit me! schmerz ist gut, ich liebe dich hit me! hit me! hit me!...
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
Number of topics: 2
<--/patternSearchResultCount-->
<-- /actual -->

Search with search parameter

Expected (again)

<-- expected again expand rex SEARCHPARAMETER -->
Same as last test
<-- /expected -->

Actual

<-- actual -->
Searched: hit me with your rhythm stick

Results from TestCases web retrieved at 06:01 (GMT)

<--/twikiTopRow-->
Description: Automated search function tests. Results dependent on templates used to render search results. Tests only make sense when this topic is viewed with `pattern...
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
This is a test fixture topic, used in TestCaseAutoSearch hit me with your rhythm stick hit me! hit me! schmerz ist gut, ich liebe dich hit me! hit me! hit me!...
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
Number of topics: 2
<--/patternSearchResultCount-->
<-- /actual -->

Search with _default and search parameter

Expected (again)

<-- expected again expand rex DEFAULTANDSEARCH -->
Same as last test
<-- /expected -->

Actual

<-- actual -->
Searched: hit me with your rhythm stick

Results from TestCases web retrieved at 06:01 (GMT)

<--/twikiTopRow-->
Description: Automated search function tests. Results dependent on templates used to render search results. Tests only make sense when this topic is viewed with `pattern...
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
This is a test fixture topic, used in TestCaseAutoSearch hit me with your rhythm stick hit me! hit me! schmerz ist gut, ich liebe dich hit me! hit me! hit me!...
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
Number of topics: 2
<--/patternSearchResultCount-->
<-- /actual -->

Topic search with two webs specified, all summary fields disabled

Expected

<-- expected expand rex TWOWEBS -->
<--/twikiTopRow-->
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<-- /expected -->

Actual

<-- actual -->
<--/twikiTopRow-->
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<-- /actual -->

Topic search with all webs specified

Expected

<-- expected expand rex ALLWEBS -->
<--/twikiTopRow-->
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<-- /expected -->

Actual

<-- actual -->
<--/twikiTopRow-->
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<-- /actual -->

Text search with topic parameter

Expected

<-- expected expand rex TOPICPARAMETER -->
<--/twikiTopRow-->
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<-- /expected -->

Actual

<-- actual -->
<--/twikiTopRow-->
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<-- /actual -->

Text search with excludetopic parameter set to a topic

Expected

<-- expected rex expand EXCLUDETOPICTOPIC -->
<--/twikiTopRow-->
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<-- /expected -->

Actual

<-- actual -->
<--/twikiTopRow-->
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<-- /actual -->

Text search with excludetopic parameter set to a wildcard

Expected (again)

<-- expected again rex expand EXCLUDETOPICWILDCARD -->
<-- /expected -->

Actual

<-- actual -->
<--/twikiTopRow-->
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<-- /actual -->

Keyword search

Expected (again)

<-- expected again rex expand KEYWORDSEARCH -->
<-- /expected -->

Actual

<-- actual -->
<--/twikiTopRow-->
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<-- /actual -->

Text search with excludetopic set to a list of topics

Expected (empty)

<-- expected EXCLUDETOPICLIST -->

<-- /expected -->

Actual

<-- actual -->

<-- /actual -->

Text search with multiple set

Expected

<-- expected expand rex MULTIPLE -->
<--/twikiTopRow-->
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<-- /expected -->

Actual

<-- actual -->
<--/twikiTopRow-->
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<-- /actual -->

Regex search

Expected

<-- expected expand rex REGEX -->
<--/twikiTopRow-->
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<-- /expected -->

Actual

<-- actual -->
<--/twikiTopRow-->
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<-- /actual -->

scope="all" search

Expected

<-- expected expand rex SCOPEALL -->
<--/twikiTopRow-->
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<-- /expected -->

Actual

<-- actual -->
<--/twikiTopRow-->
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<-- /actual -->

casesensitive="on"

Expected

<-- expected rex expand CASESENSITIVE -->
<--/twikiTopRow-->
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<-- /expected -->

Actual

<-- actual -->
<--/twikiTopRow-->
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<-- /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