| Show All Lines
-Verifies lines per event pulldown works -Verifies multiline event is truncated at 10 and 100 lines per event -Verifies multiline event is not truncated at lines per event 'all' | ||
| setTimeout | 120000 | |
| openAndWait | / | (open the main interface) |
| comment | Wait for page to load up | |
| waitForDispatchCompleted | 10000 | |
| comment | switch into absolute mode | |
| select | timelineValues | value=ALL_TIME |
| verifySelected | maxLines | 10 |
| comment | Type search string and click submit - | |
| type | entry | source="*websphere.trlog.syserr.log" com.ibm.ws.webcontainer.servlet.ServletWrapper JspRuntimeLibrary |
| click | entrySubmit | (Click submit button) |
| comment | Wait for query to load | |
| waitForDispatchCompleted | 10000 | |
| comment | Verify that the link appears | |
| verifyElementPresent | //a[.='Show all 108 lines'] | |
| comment | Verify that the link shows source, and some text deep within the event is present | |
| click | //a[.='Show all 108 lines'] | |
| comment | Wait for loading message to show up | |
| waitForTextPresent | Loading multiline result | |
| comment | Wait for loading message to disappear | |
| waitForNotVisible | msgStatusContainer | |
| comment | Verify that the multiline data is in the document now | |
| verifyTextPresent | Caused by: javax.ejb.EJBException: TradeBean:getMarketSummary -- error ; nested exception is: com.ibm.ws.exception.WsEJBException: PMGR6036E: | |
| comment | Verify that changing maxlines, we still get the link present | |
| select | maxLines | 100 |
| waitForDispatchCompleted | 10000 | |
| verifyElementPresent | //a[.='Show all 108 lines'] | |
| comment | Verify that when maxlines is all, the link doesnt show up. | |
| select | maxLines | All |
| waitForDispatchCompleted | 10000 | |
| verifyElementNotPresent | //a[.='Show all 108 lines'] | |
| comment | Clean up after ourselves | |
| select | maxLines | 10 |