| openAndWait |
/ |
(open the main interface) |
| setTimeout |
120000 |
|
| comment |
Wait for page to load up |
| waitForDispatchCompleted |
120000 |
|
| shiftKeyUp |
(release the shift key, in case other failures left it down) |
|
| comment |
Type search string and click submit |
| type |
entry |
source="*access.combined.log" NOT nagios-plugins |
| select |
timelineValues |
value=ALL_TIME |
| click |
entrySubmit |
(Click submit button) |
| comment |
Wait for query to load |
| waitForDispatchCompleted |
120000 |
|
| comment |
Click one of the timestamps that's pulled out to the left of the events |
| click |
//label[.='08/08/05 01:13:31'] |
|
| waitForDispatchCompleted |
120000 |
|
| comment |
verify that the header shows we searched a single second. |
| verifyText |
bucketDate |
at 1:13:31 AM on Monday August 8 2005 |
| comment |
verify that the timeline shows only the one second is selected. |
| verifyElementNotPresent |
//tr[@id='mainRow']/td[@starttime='08/08/2005 01:13:30' and @class='highlight']/ |
|
| verifyElementPresent |
//tr[@id='mainRow']/td[@starttime='08/08/2005 01:13:31' and @class='highlight']/ |
|
| verifyElementNotPresent |
//tr[@id='mainRow']/td[@starttime='08/08/2005 01:13:32' and @class='highlight']/ |
|
| comment |
verify that we've now got a timeline spanning exactly one minute |
| verifyText |
scaleControl |
1 bar = 1 second |
| verifyText |
//tr[@id='outerAxis']/td[@colspan='60'] |
01:13 AM Monday August 08 2005 |
| comment |
Check the first axis label is 00 |
| verifyText |
//tr[@id='innerAxis']/td[1] |
00 |
| comment |
Check the last axis label is 59 |
| verifyText |
//tr[@id='innerAxis']/td[60] |
59 |