summaryrefslogtreecommitdiffstats
path: root/tests/test-search.md
blob: cebd9ba6dffb87930e08d7e85cd31379cf3f0a33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Search Testing

### Basic Search Testing

This post is used by the core team to test search. It should be returned for the test cases for search, with proper highlighting in the search results. 

**Basic word search:** Hello world!  
**Emoji search:** :strawberry:  
**Accent search:** Crème fraîche  
**Non-latin search:**  
您好吗  
您好  
**Email search:** person@domain.org  
**Link search:** www.dropbox.com  
**Markdown search:**  
##### Hello  
```  
Hello  
```  
`Hello`  


### Hashtags:

Click on the linked hashtags below, and confirm that the search results match the linked hashtags. Confirm that the highlighting in the search results is correct. 

#### Basic Hashtags

#hello #world

#### Hashtags containing punctuation:

*Note: Make a separate post containing only the word “hashtag”, and confirm the hashtags below do not return the separate post.*

#hashtag #hashtag-dash #hashtag_underscore #hashtag.dot

#### Punctuation following a hashtag:

#colon: #slash/ #backslash\ #percent% #dollar$ #semicolon; #ampersand&  #bracket( #bracket) #lessthan< #greaterthan> #dash- #plus+ #equals=  #caret^ #hashtag# #asterisk* #verticalbar| #invertedquestion¿ #atsign@ #quote” #apostrophe' #curlybracket{ #curlybracket} #squarebracket[ #squarebracket] 

#### Markdown surrounding a hashtag:

*#markdown* **#markdown** ~~#markdown~~
##### #markdown