Impatient User
-Various quick smoke tests for impatient interrupt-happy click behaviour.
setTimeout 120000
openAndWait / (open the main interface)
comment Wait for page to load up
waitForDispatchCompleted 30000
comment Type search string and click submit
type entry source="*access.combined.log"
click entrySubmit (Click submit button)
comment DONT Wait for query to load
pause 100
select timelineValues value=ALL_TIME
comment OK this one we'll wait for.
waitForDispatchCompleted 10000
verifyText scaleControl 1 bar = 1 hour
verifyText eventCount 4,999 results
verifyText bucketDate over all time
comment Click Zoom out twice rapidly
click zoomOut
verifyText bucketDate between 12:00:00 AM July 24 and 10:59:59 PM August 8 2005
click zoomOut
comment INVALID TEST, as second zoomOut link should have zoomed out further.
But the test has value in fixing impatient-user bugs,
so im leaving it invalid until we can do the right thing here.
verifyText bucketDate between 12:00:00 AM July 24 and 11:59:59 PM August 8 2005
pause 5000
verifyText eventCount 4,999 results
verifyText bucketDate between 12:00:00 AM July 24 and 11:59:59 PM August 8 2005
comment Type search string and click submit
type entry source="*apache.error.log"
select timelineValues value=ALL_TIME
pause 500 for now there is a slight delay before our code rewrites the headers, but im not considering this an invalid test
waitForDispatchCompleted 30000
pause 500 for now there is a slight delay before our code rewrites the headers, but im not considering this an invalid test
comment Click several buckets rapidly. Verify that the last one is the one we get
click //td[@starttime='07/01/2005 00:00:00' and @duration='86400'] Click the July 01 2005 bar
pause 250 for now there is a slight delay before our code rewrites the headers, but im not considering this an invalid test
verifyText bucketDate on Friday July 1 2005
click //td[@starttime='08/01/2005 00:00:00' and @duration='86400'] Click the August 01 2005 bar
pause 100 for now there is a slight delay before our code rewrites the headers, but im not considering this an invalid test
verifyText bucketDate on Monday August 1 2005
click //td[@starttime='06/10/2005 00:00:00' and @duration='86400'] Click the June 10 2005 bar
pause 250 for now there is a slight delay before our code rewrites the headers, but im not considering this an invalid test
verifyText bucketDate on Friday June 10 2005
waitForDispatchCompleted 10000
verifyText eventCount 913 results
pause 60000