'The "Add another XXX" link correctly adds items to the stacked formset.'

def test_add_stackeds(self):

    self.admin_login(username='super', password='secret')
    self.selenium.get((self.live_server_url + reverse('admin:admin_inlines_holder4_add')))
    inline_id = '#inner4stacked_set-group'
    def rows_length():
        return len(self.selenium.find_elements_by_css_selector(('%s    .dynamic-inner4stacked_set' % inline_id)))
    self.assertEqual(rows_length(), 3)
    add_button = self.selenium.find_element_by_link_text('Add    another    Inner4    stacked')
    add_button.click()
    self.assertEqual(rows_length(), 4)
