def test_buttons_not_shown(self, browser): specdetails.visit('spec-based-workflow') # on error, show no buttons self.assertFalse( specdetails.button_write(), 'The Button "Write workflow definition" should not be visible') self.assertFalse( specdetails.button_write_and_import(), 'The Button "Write and Import Workflow" should not be visible') self.assertFalse( specdetails.button_reindex(), 'The Button "Update security settings" should not be visible')
def test_update_security(self, browser): specdetails.visit('Bar Workflow (wf-bar)') specdetails.button_reindex().click() statusmessages.assert_message('Security update: 0 objects updated.')