'The status line for selected rows gets updated correctly (#22038).'

def test_add_row_selection(self):

    self.admin_login(username='super', password='secret')
    self.selenium.get((self.live_server_url + reverse('admin:auth_user_changelist')))
    form_id = '#changelist-form'
    rows = self.selenium.find_elements_by_css_selector(('%s    #result_list    tbody    tr' % form_id))
    self.assertEqual(len(rows), 1)
    selection_indicator = self.selenium.find_element_by_css_selector(('%s    .action-counter' % form_id))
    self.assertEqual(selection_indicator.text, '0    of    1    selected')
    row_selector = self.selenium.find_element_by_css_selector(('%s    #result_list    tbody    tr:first-child    .action-select' % form_id))
    row_selector.click()
    self.assertEqual(selection_indicator.text, '1    of    1    selected')
