'JavaScript-assisted auto-focus on first usable form field.'

def test_first_field_focus(self):

    self.admin_login(username='super', password='secret', login_url=reverse('admin:index'))
    self.selenium.get((self.live_server_url + reverse('admin:admin_views_picture_add')))
    self.assertEqual(self.selenium.switch_to.active_element, self.selenium.find_element_by_id('id_name'))
    self.selenium.get((self.live_server_url + reverse('admin:admin_views_reservation_add')))
    self.assertEqual(self.selenium.switch_to.active_element, self.selenium.find_element_by_id('id_start_date_0'))
