cr-connect-workflow/tests
Dan 5e54c90b47 "Reset" should not mean "re-start". Calling the reset_workflow script will now set the workflow to an "unstarted" state with no outstanding tasks, no json-state structure stored. The workflow is not yet running.
Also:
* Assured that arguments are consistent (we always seem to use workflow_spec_id, so I made sure we use that consistently.
* Don't require named parameters - so it's cool to call it like: reset_workflow('my_workflow_id')
* Task Actions (ie create, assign, etc...) are now an enumeration in the models, and not static variables on Workflow Service, so we can reference them consistently from anywhere.
* Removed some repetitive code
* Always try to validate as much as possible in the scripts to save folks time debugging.
*
2022-04-15 15:36:23 -04:00
..
data "Reset" should not mean "re-start". Calling the reset_workflow script will now set the workflow to an "unstarted" state with no outstanding tasks, no json-state structure stored. The workflow is not yet running. 2022-04-15 15:36:23 -04:00
emails Modify default sender for emails 2022-02-25 08:38:40 -05:00
files "Reset" should not mean "re-start". Calling the reset_workflow script will now set the workflow to an "unstarted" state with no outstanding tasks, no json-state structure stored. The workflow is not yet running. 2022-04-15 15:36:23 -04:00
ldap death to load_example_data() !!!!! 2022-02-09 22:13:02 -05:00
scripts "Reset" should not mean "re-start". Calling the reset_workflow script will now set the workflow to an "unstarted" state with no outstanding tasks, no json-state structure stored. The workflow is not yet running. 2022-04-15 15:36:23 -04:00
study Fix test workflows to use new data_store scripts 2022-04-13 18:07:13 -04:00
workflow "Reset" should not mean "re-start". Calling the reset_workflow script will now set the workflow to an "unstarted" state with no outstanding tasks, no json-state structure stored. The workflow is not yet running. 2022-04-15 15:36:23 -04:00
__init__.py Fixed Associate API Endpoint description 2021-07-22 14:09:24 -04:00
base_test.py "Reset" should not mean "re-start". Calling the reset_workflow script will now set the workflow to an "unstarted" state with no outstanding tasks, no json-state structure stored. The workflow is not yet running. 2022-04-15 15:36:23 -04:00
test_authentication.py merging in PI Name changes from Alicia's #499 PR. 2022-03-18 12:30:20 -04:00
test_auto_set_primary_bpmn.py more test passing 2022-02-09 13:01:26 -05:00
test_complete_template_script.py An optimization prevented us from picking up a change to the documents associated with a study. This assures that even if scripts run side by side, the document list will get updated, but only on a change. So it's still performant. Also added a sligthly better error message to the workflow service. 2022-02-28 12:17:21 -05:00
test_data_store_service.py Fixed a bug where we tried to delete a record that did not exist 2022-04-14 15:37:05 -04:00
test_datastore_api.py Be sure to delete the data store items when you delete a study. 2022-03-12 13:38:09 -05:00
test_decision_table_dictionary_output.py Fixed Associate API Endpoint description 2021-07-22 14:09:24 -04:00
test_dmn_from_spreadsheet.py Test for new endpoint 2021-09-07 15:15:38 -04:00
test_document_directories.py death to load_example_data() !!!!! 2022-02-09 22:13:02 -05:00
test_email_script.py death to load_example_data() !!!!! 2022-02-09 22:13:02 -05:00
test_events.py Fixed Associate API Endpoint description 2021-07-22 14:09:24 -04:00
test_file_datastore.py death to load_example_data() !!!!! 2022-02-09 22:13:02 -05:00
test_get_dashboard_url_script.py Fixed Associate API Endpoint description 2021-07-22 14:09:24 -04:00
test_git_service.py Fix typo in test: delete -> remove 2022-03-29 12:34:05 -04:00
test_irb_info_script.py Tests expect 1 record now 2022-04-07 14:40:47 -04:00
test_is_file_uploaded_script.py death to load_example_data() !!!!! 2022-02-09 22:13:02 -05:00
test_jinja_service.py Added comment about the test 2022-03-14 14:01:13 -04:00
test_launch_workflow_outside_study.py death to load_example_data() !!!!! 2022-02-09 22:13:02 -05:00
test_ldap_service.py The LDAP service didn't do a good enough check to see if the record was already in the database. This caused an error, which left the workflow in a waiting state. And that waiting state meant the error would just happen a million times over again until we pushed up this code change. 2021-12-09 06:33:30 -05:00
test_lookup_service.py "Reset" should not mean "re-start". Calling the reset_workflow script will now set the workflow to an "unstarted" state with no outstanding tasks, no json-state structure stored. The workflow is not yet running. 2022-04-15 15:36:23 -04:00
test_looping_task.py Fixed Associate API Endpoint description 2021-07-22 14:09:24 -04:00
test_message_event.py Fixed Associate API Endpoint description 2021-07-22 14:09:24 -04:00
test_multi_instance_tasks_api.py Remove unused imports 2022-01-12 15:00:26 -05:00
test_process_erroring_workflows.py Added description to the test. 2022-01-25 12:22:32 -05:00
test_protocol_builder.py Tests expect 1 record now 2022-04-07 14:40:47 -04:00
test_study_info_script.py rm pi id refs 2022-03-18 12:04:20 -04:00
test_tasks_api.py death to load_example_data() !!!!! 2022-02-09 22:13:02 -05:00
test_tools_api.py Added the new `handle` attribute to the test 2021-09-22 12:12:54 -04:00
test_unchecked_checkbox_default.py Make sure we don't get null/None back from a boolean checkbox. 2022-03-23 09:48:13 -04:00
test_user_in_logs.py Fixed Associate API Endpoint description 2021-07-22 14:09:24 -04:00
test_user_roles.py "Reset" should not mean "re-start". Calling the reset_workflow script will now set the workflow to an "unstarted" state with no outstanding tasks, no json-state structure stored. The workflow is not yet running. 2022-04-15 15:36:23 -04:00
test_verify_end_event.py death to load_example_data() !!!!! 2022-02-09 22:13:02 -05:00
test_wait_event.py In `WorkflowService.do_waiting`, if a workflow causes an exception, change its status from `waiting` to `erroring` so we don't continue to call it in `do_waiting`. 2021-12-09 15:33:39 -05:00
test_waiting_task_workflow_error.py In `WorkflowService.do_waiting`, if a workflow causes an exception, change its status from `waiting` to `erroring` so we don't continue to call it in `do_waiting`. 2021-12-09 15:33:39 -05:00
test_workflow_api.py Test for the bug fix 2022-02-25 14:43:32 -05:00