'Test that the \'collapse\' class in fieldsets definition allows to
show/hide the appropriate field section.'

def test_collapsible_fieldset(self):

    self.admin_login(username=u'super', password=u'secret', login_url=u'/test_admin/admin/')
    self.selenium.get((u'%s%s' % (self.live_server_url, u'/test_admin/admin/admin_views/article/add/')))
    self.assertFalse(self.selenium.find_element_by_id(u'id_title').is_displayed())
    self.selenium.find_elements_by_link_text(u'Show')[0].click()
    self.assertTrue(self.selenium.find_element_by_id(u'id_title').is_displayed())
    self.assertEqual(self.selenium.find_element_by_id(u'fieldsetcollapser0').text, u'Hide')
