| Searchterms should, like highlight.
- - | ||
| setTimeout | 120000 | |
| openAndWait | / | (open the main interface) |
| waitForDispatchCompleted | 10000 | |
| type | entry | source="*access.combined.log" sourcetype="access_combined" POST |
| select | timelineValues | value=ALL_TIME |
| pause | 500 | |
| click | entrySubmit | (Click submit button) |
| waitForDispatchCompleted | 10000 | |
| comment | Verify we search results in ALL TIME. | |
| verifyText | eventCount | 86 results |
| comment | Verify that there is a label with the word POST at all. | |
| verifyElementPresent | //label[.='POST'] | |
| comment | Verify that there's at least one highlighted POST. | |
| verifyElementPresent | //label[.='POST' and contains(@class,'explicitlyMarkedSearchTerm')] | |
| comment | TODO - Verify that there isnt a NON- highlighted POST. | |
| comment | TODO - Verify that there's EXACTLY 12 highlighted POST. (the verifyXpathCount command doesnt seem to work in 0.8.2 though) | |
| comment | TODO - verify that the field in the field row was also highlighted. | |
| comment | TODO - verify ORs and NOTs are highlighted correctly. | |
| comment | TODO - verify quoted strings? | |