| Back button
-Verifies back button works for various searches. -verifies that we dont clobber the searchfield if the user types something while a search is running. | ||
| openAndWait | / | (open the main interface) |
| comment | Wait for page to load up | |
| comment | Type in first search | |
| type | entry | source="*apache.error.log" sugarCRM |
| click | entrySubmit | (Click submit button) |
| pause | 500 | |
| select | timelineValues | value=ALL_TIME |
| pause | 500 | |
| waitForDispatchCompleted | 10000 | |
| comment | Verify count for search #1 | |
| verifyText | eventCount | 29 results |
| verifyValue | entry | source="*apache.error.log" sugarCRM |
| comment | Type in search #2 | |
| type | entry | source="*apache.error.log" sugarCRM lynette |
| click | entrySubmit | (Click submit button) |
| waitForDispatchCompleted | 10000 | |
| comment | Verify count and searchfield value for search #2 | |
| verifyText | eventCount | 8 results |
| verifyValue | entry | source="*apache.error.log" sugarCRM lynette |
| goBack | back button | |
| pause | 1000 | Wait for page to go back |
| waitForDispatchCompleted | 10000 | |
| pause | 5000 | |
| verifyText | eventCount | 29 results |
| verifyValue | entry | source="*apache.error.log" sugarCRM |
| comment | verify forward button. | |
| goForward | forward button | |
| pause | 1000 | Wait for page to go back |
| waitForDispatchCompleted | 10000 | |
| pause | 5000 | |
| verifyText | eventCount | 8 results |
| verifyValue | entry | source="*apache.error.log" sugarCRM lynette |
| comment | Check that if the user searches, but then in the meantime starts typing in the meantime, we dont clobber what they're typing | |
| type | entry | source="*apache.error.log" sugarCRM |
| click | entrySubmit | (Click submit button) |
| pause | 200 | |
| type | entry | source="*apache.error.log" sugarCRM o_wait_thats_not_what_i_wante |
| comment | Note: selenium doesnt fire keypress on doType, which is lame, so we have to fire the last keypress ourselves. | |
| keyPress | entry | 100 |
| waitForDispatchCompleted | 10000 | |
| verifyValue | entry | source="*apache.error.log" sugarCRM o_wait_thats_not_what_i_wanted |
| comment | Handwave handwave - click timeline a few times, verify that back button does the right thing. (works in current now. someone should write fill this out whenever they have time.) | |
| comment | Handwave handwave - all the timeline controls, zoomIn, zoomOut, previousTimeline, nextTimeline, changing the pulldown etc.... verify that back button does the right thing. (all these cases work in current now. someone should fill out this test whenever they have time.) | |
| comment | Handwave handwave - return to homepage, then back-button goes back to search results (probably doesnt work as of this writing.) | |
| comment | Handwave handwave - from homepage, search, then back button goes to homepage (definitely doesnt work as of this writing.) | |
| comment | Handwave handwave - likewise into and out of admin section (definitely doesnt work as of this writing.) | |