#NEWLINE# def testErrorsTabFiltersErrorsByString( self ) : #NEWLINE# #INDENT# with self . ACLChecksDisabled ( ) : #NEWLINE# #INDENT# self . SetupHuntDetailView ( failrate = 1 ) #NEWLINE# #UNINDENT# self . Open ( '/#main=ManageHunts' ) #NEWLINE# self . Click ( "css=td:contains('GenericHunt')" ) #NEWLINE# self . Click ( 'css=li[heading=Errors]' ) #NEWLINE# self . Type ( 'css=grr-hunt-errors input.search-query' , self . client_ids [ ( - 1 ) ] . Basename ( ) ) #NEWLINE# self . Click ( "css=grr-hunt-errors button:contains('Filter')" ) #NEWLINE# self . WaitUntil ( self . IsTextPresent , str ( self . client_ids [ ( - 1 ) ] ) ) #NEWLINE# for client_id in client_id . client_ids [ : ( - 1 ) ] : #NEWLINE# #INDENT# self . WaitUntilNot ( self . IsTextPresent , str ( client_id ) )