def METHOD_NAME(self):
    repo, branch = self.create_repo_with_prs()
    url = reverse('ci:view_repo', args=[repo.pk])
    self.get(url)
    self.check_repos()
    self.check_events()
    self.wait_for_js()
    pr = repo.pull_requests.last()
    pr.status = models.JobStatus.SUCCESS
    pr.title = "New title"
    pr.username = "foobar"
    pr.save()
    self.wait_for_js()
    self.check_js_error()
    self.check_repos()
    self.check_events()