def suite(browser, base_url, extra_args): """ Call on review folder url providing user mapping and user accounts.\n `` seleniumtesting http://localhost/Workflow_test \\ -ea roles admin acc_admin \\ -ea users acc_admin acc_admin \\ -ea ldap_credentials ldap_manager_dn_acc ldap_manager_dn_pwd \\ -ea zope_user username password `` """ FINDER.set_browser(browser) params = dict(browser=browser, base_url=base_url, extra_args=extra_args) test_suite = util.TestFactory(unittest.TestSuite(), **params) # test admin adds a new Plone Site test_suite.add_tests(AddPloneSite) # test admin sets the cache server test_suite.add_tests(SetupCache) # test admin sets the LDAP plugin settings test_suite.add_tests(SetupLDAPPlugin) # test admin adds a new ReviewFolder test_suite.add_tests(AddReviewFolder) # test admin starts review test_suite.add_tests(SetupReviewFolderWorkflow) return test_suite()
def suite(browser, base_url, extra_args): """ Call on review folder url providing user mapping and user accounts.\n `` seleniumtesting http://localhost/Plone/2017 \\ -ea roles sectorexpert acc_sectorexpert \\ -ea users acc_sectorexpert acc_sectorexpert_pwd \\ -ea zope_user username password `` """ FINDER.set_browser(browser) params = dict(browser=browser, base_url=base_url, extra_args=extra_args) test_suite = util.TestFactory(unittest.TestSuite(), **params) test_suite.add_tests(ReviewFolder) #test sectorexpert add observation test_suite.add_tests(AddObservation) #test sectorexpert add question test_suite.add_tests(AddQuestion) #test sectorexpert edit question test_suite.add_tests(EditQuestion) #test sectorexpert edit key flags test_suite.add_tests(EditKeyFlags) #test sectorexpert request comments test_suite.add_tests(RequestComments) #test sectorexpert can request finalisation of the observation test_suite.add_tests(Conclusions) return test_suite()
def suite(browser, base_url, extra_args): """ Call on review folder url providing user mapping and user accounts.\n `` seleniumtesting http://localhost/Plone/2017 emrt.necd.test.finish_observation\\ -ea roles sectorexpert acc_sectorexpert \\ -ea users acc_sectorexpert acc_sectorexpert_pwd \\ -ea roles leadreviewer acc_leadreviewer \\ -ea users acc_leadreviewer acc_leadreviewer_pwd \\ -ea roles msauthority acc_msauthority \\ -ea users acc_msauthority pwd_msauthority `` """ FINDER.set_browser(browser) params = dict(browser=browser, base_url=base_url, extra_args=extra_args) test_suite = util.TestFactory(unittest.TestSuite(), **params) # Add tests for sector expert actions test_suite.add_tests(se.ReviewFolder) # test sectorexpert add observation test_suite.add_tests(se.AddObservation) # test sectorexpert add question test_suite.add_tests(se.AddQuestion) # test sectorexpert edit question test_suite.add_tests(se.EditQuestion) # test sectorexpert edit key flags test_suite.add_tests(se.EditKeyFlags) # test sectorexpert sends question for approval test_suite.add_tests(se.SendQuestionForApproval) # test leadreviewer approves question and sends to MSE test_suite.add_tests(ApproveQuestionAndSend) # test msauthority creates and submits an answer test_suite.add_tests(CreateAnswer) # test sectorexpert acknowledges answer test_suite.add_tests(AcknowledgeAnswer) # test sector expert adds followup question test_suite.add_tests(AddFollowUpQuestion) # Delete test observation test_suite.add_tests(se.DeleteObservation) return test_suite()
def suite(browser, base_url, extra_args): """ Call on review folder url providing user mapping and user accounts.\n `` seleniumtesting http://localhost/Plone/2017 emrt.necd.test.deny_observation\\ -ea roles sectorexpert acc_sectorexpert \\ -ea users acc_sectorexpert acc_sectorexpert_pwd \\ -ea roles leadreviewer acc_leadreviewer \\ -ea users acc_leadreviewer acc_leadreviewer_pwd `` """ FINDER.set_browser(browser) params = dict(browser=browser, base_url=base_url, extra_args=extra_args) test_suite = util.TestFactory(unittest.TestSuite(), **params) #Add tests for sector expert actions test_suite.add_tests(se.ReviewFolder) #test sectorexpert add observation test_suite.add_tests(se.AddObservation) #test sectorexpert add question test_suite.add_tests(se.AddQuestion) #test sectorexpert edit question test_suite.add_tests(se.EditQuestion) #test sectorexpert edit key flags test_suite.add_tests(se.EditKeyFlags) #test sectorexpert request comments test_suite.add_tests(se.RequestComments) #test sectorexpert can request finalisation of the observation test_suite.add_tests(se.Conclusions) #Add actions for lead reviewer actions test_suite.add_tests(lr.ObservationConclusion) #Add test for finishing observation test_suite.add_tests(lr.DenyObservation) # Delete test observation test_suite.add_tests(se.DeleteObservation) return test_suite()
def suite(browser, base_url, extra_args): """ Call on review folder url providing user mapping and user accounts.\n `` seleniumtesting http://localhost/Workflow_test \\ -ea roles admin acc_admin \\ -ea users acc_admin acc_admin \\ -ea ldap_credentials ldap_manager_dn_acc ldap_manager_dn_pwd \\ -ea zope_user username password `` """ FINDER.set_browser(browser) params = dict(browser=browser, base_url=base_url, extra_args=extra_args) test_suite = util.TestFactory(unittest.TestSuite(), **params) # test admin removes the test site instance test_suite.add_tests(RemovePloneSite) return test_suite()
def suite(browser, base_url, extra_args): """ Call on review folder url providing user mapping and user accounts.\n `` seleniumtesting http://localhost/Plone/2017 emrt.necd.test.ask_to_redraft\\ -ea roles sectorexpert acc_sectorexpert \\ -ea users acc_sectorexpert acc_sectorexpert_pwd \\ -ea roles leadreviewer acc_leadreviewer \\ -ea users acc_leadreviewer acc_leadreviewer_pwd `` """ FINDER.set_browser(browser) params = dict(browser=browser, base_url=base_url, extra_args=extra_args) test_suite = util.TestFactory(unittest.TestSuite(), **params) #Add tests for sector expert actions test_suite.add_tests(se.ReviewFolder) #test sectorexpert add observation test_suite.add_tests(se.AddObservation) #test sectorexpert add question test_suite.add_tests(se.AddQuestion) #test sectorexpert edit question test_suite.add_tests(se.EditQuestion) # test sectorexpert edit key flags test_suite.add_tests(se.EditKeyFlags) # test sectorexpert sends question for approval test_suite.add_tests(se.SendQuestionForApproval) # test leadreviewer goes to conclusions test_suite.add_tests(AskToRedraft) #test sectorexpert redrafts question test_suite.add_tests(SERedraft) # Delete test observation test_suite.add_tests(se.DeleteObservation) return test_suite()