'Test that we can see all the hunt data.'

def testHuntView(self):

    self.SetupTestHuntView()
    self.Open('/')
    self.WaitUntil(self.IsElementPresent, 'client_query')
    self.Click('css=a[grrtarget=hunts]')
    self.WaitUntil(self.IsTextPresent, 'GenericHunt')
    self.Click("css=td:contains('GenericHunt')")
    self.WaitUntil(self.IsElementPresent, 'css=dl.dl-hunt')
    self.WaitUntil(self.IsTextPresent, 'Clients    Scheduled')
    self.WaitUntil(self.IsTextPresent, 'Hunt    URN')
    self.Click('css=li[heading=Log]')
    self.WaitUntil(self.IsTextPresent, 'TestLogLine')
    self.Click('css=li[heading=Errors]')
    self.WaitUntil(self.IsTextPresent, 'Client    Error    1')
