'Test the inspect UI.'

def testInspect(self):

    client_id = self.SetupClients(1)[0]
    self.RequestAndGrantClientApproval(client_id)
    flow.GRRFlow.StartFlow(client_id=client_id, flow_name=flow_discovery.Interrogate.__name__, token=self.token)
    mock = flow_test_lib.MockClient(client_id, None, token=self.token)
    while mock.Next():
        pass
    self.Open(('/#/clients/%s/debug-requests' % client_id.Basename()))
    self.WaitUntil(self.IsTextPresent, 'GetPlatformInfo')
    self.WaitUntil(self.IsTextPresent, 'GetConfig')
    self.WaitUntil(self.IsTextPresent, 'EnumerateInterfaces')
    self.WaitUntil(self.IsTextPresent, 'GENERIC_ERROR')
    self.WaitUntil(self.IsTextPresent, 'STATUS')
    self.WaitUntil(self.IsTextPresent, 'Task    id')
