#NEWLINE# def testSearchByClientId( self ) : #NEWLINE# #INDENT# client_name = self . client_ids [ 0 ] . Basename ( ) #NEWLINE# self . Open ( '/' ) #NEWLINE# self . Type ( 'client_query' , text = self , end_with_enter = True ) #NEWLINE# self . WaitUntil ( self . IsElementPresent , ( "css=grr-clients-list tr:contains('%s') " % client_name ) ) #NEWLINE# self . _WaitForSearchResults ( target_count = 1 )