cr-connect-workflow/tests/data
Dan 962d05c875 1. Created a TaskLoggingService to encapsulate what we are doing with Task Logging through BPMN Script calls and API calls from the front end.
2. Added two api endpoints that will allow us to get all the logs for a specific workflow or study.
3. Assured that requests for logs are paginated, sortable, and can be limited to a specific code if needed.
4. Assure that we only use logging levels that match the log levels of Python.
2022-01-10 13:16:54 -05:00
..
add_delete_irb_document Allow both a keyword argument, a single argument when calling delete_file. And call it "delete_file" to be more conssitent with existing scripts. 2021-04-08 13:42:17 -04:00
associated_email Test and workflow for associated user emails 2021-03-09 06:50:20 -05:00
boolean_default_value My privous efforts didn't take into account the fact that we use dot notation in field names. 2021-03-14 12:20:39 -04:00
call_activity_end_event Failing test for Call Activity End Events - Ticket 399 2021-07-26 12:12:01 -04:00
check_study_script Tests for calling the script 2021-07-02 16:14:19 -04:00
date_value_expression Add some additional checks in the workflow service so we assure the data we are creating during validation can be serialized and deserialized just as it would be through the API. (Was hanging us up on dates) 2021-10-04 15:07:47 -04:00
decision_table Run the validation twice, once completing all of the data, and a second time, completing only the required fields. 2020-05-30 17:26:27 -04:00
decision_table_dictionary_output Added a test for dictionary output from a decision table. 2021-03-18 12:25:27 -04:00
decision_table_invalid Assure that any errors that occur during the do_engine_steps is correctly captured and returned to the end user or configurator with enough information for them to act on. 2020-07-15 11:16:35 -04:00
default_value_expression New test and BPMN for changes 2021-08-31 16:18:29 -04:00
delete_task_data Just being consistent in the names as we named it delete_task_data in the class, but not elsewhere, and since I'm here, using the name I prefer. 2021-08-26 14:22:12 -04:00
dmn_from_spreadsheet Removed unused test files 2021-09-07 15:22:02 -04:00
docx Fix several bugs, most had an issue with the bpmn document 2020-07-27 12:02:34 -04:00
docx_embedded Test for embedded templates 2021-10-21 13:37:56 -04:00
email We now get an email model back 2021-10-13 11:47:40 -04:00
email_attachment_empty_string Tests and workflows for the cases where attachments is None or '' 2021-10-18 11:21:24 -04:00
email_dashboard_url test and bpmn file for new get_dashboard_url script 2021-05-06 15:32:28 -04:00
email_none_attachment Tests and workflows for the cases where attachments is None or '' 2021-10-18 11:21:24 -04:00
email_script Modified the test workflow form to add the new bcc, reply_to, and attachments arguments 2021-08-19 17:37:10 -04:00
empty_workflow forgot to include the new empty master workflow, which allows the tests to all pass. 2020-05-22 15:31:38 -04:00
enum_checkbox Better test. Actually grab data explicitly from the list in Element Documentation 2021-09-30 12:54:03 -04:00
enum_empty_list Moving metrics into SpiffWorkflow so we can run the performance metrics deeply across both systems simultaniously. 2021-06-18 17:00:10 -04:00
enum_file_data All enumerated lists used in web forms should contain a single value, not a dictionary of value/labels. 2021-10-19 10:13:43 -04:00
enum_options_all add an enum_label script that will return the label given a value selection. 2021-10-21 13:57:49 -04:00
enum_options_competing_files fixes to our tests related to updates in SpiffWorkflow 2021-11-16 15:57:37 -05:00
enum_options_from_file All enumerated lists used in web forms should contain a single value, not a dictionary of value/labels. 2021-10-19 10:13:43 -04:00
enum_options_from_task_data All enumerated lists used in web forms should contain a single value, not a dictionary of value/labels. 2021-10-19 10:13:43 -04:00
enum_options_with_search New test and xls file for failing test 2021-11-16 11:57:24 -05:00
enum_results forgot to include a bpmn for the tests. 2021-04-09 09:02:43 -04:00
enum_value_expression Test and associated data files for setting enum default values from value_expression. Ticket 162 2021-01-22 10:01:20 -05:00
enum_value_expression_fail Test and data for cleaning up my smell. We now test explicitly whether a task has both a default_value and value_expression. If so, we raise an error. 2021-01-27 10:22:43 -05:00
exclusive_gateway Make changes to the workflow names so that they are placed in the correct order - I made workflows go in order of the name rather than in the order they appear in the XML to allow more control over the way the nav list is displayed. 2020-06-15 12:32:19 -04:00
exclusive_gateway_2 Make changes to the workflow names so that they are placed in the correct order - I made workflows go in order of the name rather than in the order they appear in the XML to allow more control over the way the nav list is displayed. 2020-06-15 12:32:19 -04:00
extension_error Getting some thoughts down for the extension property error. This might force us to use regexes for the error service. 2021-02-24 10:56:25 -05:00
failing_gateway_workflow First commit for cleaning up error messages for customers. 2021-02-04 11:23:05 -05:00
failing_workflow Tests for uid in logs. Currently we test for uid in a response. This covers ApiError. 2020-12-11 17:47:53 -05:00
file_data_store Adding importlib-resournces as a dependency, which is suddenly failing on Travis, likely due to different versions of Python as I try to upgrade to 3.9 2021-09-21 14:36:57 -04:00
file_upload_form Refactoring Reference files to use the lookup table, rather than parsing the results directly out of the spreadsheet, or attempting to cache them. 2021-07-06 13:10:20 -04:00
file_upload_form_single Fix the panda warnings, which means we only support xlsx files now. 2021-06-22 14:58:52 -04:00
form_expressions Adding some additional bpmns from Staging server to include in tests. 2020-08-27 14:00:45 -04:00
form_extentsions test for this ticket 2021-12-03 12:23:57 -05:00
get_email_data Tests for get_email_data script. 2021-10-07 12:11:22 -04:00
get_email_data_by_workflow Fixes from changing workflow_id to workflow_spec_id 2021-10-12 13:46:05 -04:00
get_localtime Added ordered arguments to the get_localtime script 2021-11-03 08:36:24 -04:00
get_logging 1. Created a TaskLoggingService to encapsulate what we are doing with Task Logging through BPMN Script calls and API calls from the front end. 2022-01-10 13:16:54 -05:00
get_logging_for_study Tests and workflows 2021-10-27 16:39:50 -04:00
get_study_associate Test and BPMN files for testing 2021-06-04 11:45:51 -04:00
get_study_progress_status Tests and workflow for the changes 2021-12-10 16:18:05 -05:00
get_study_status test for get_study_status 2021-12-02 15:31:14 -05:00
get_workflow_status New script to check workflow status. 2021-11-30 08:54:15 -05:00
get_zip_file Changed test to use a workflow, so we have the correct type of task 2021-09-16 13:45:51 -04:00
hello_world Test and workflow for launching a standalone workflow 2021-04-26 08:53:25 -04:00
hidden_file_data_field Test and BPMN to make sure we don't process when field is hidden, but do process when field is not hidden 2021-08-11 16:44:45 -04:00
hidden_required_field We now include field.id in the ApiError message for hidden and default validation. (The field must have a default value or value expression) 2021-03-04 10:42:13 -05:00
hidden_required_field_pass We now include field.id in the ApiError message for hidden and default validation. (The field must have a default value or value expression) 2021-03-04 10:42:13 -05:00
hidden_required_field_pass_expression We now include field.id in the ApiError message for hidden and default validation. (The field must have a default value or value expression) 2021-03-04 10:42:13 -05:00
infinite_loop Test and workflow for testing infinite loop code. 2021-03-17 14:52:50 -04:00
invalid_custom_field Assure that the field type provided is supported. Catches errors such as adding a custom field type of 'text_area' rather than "textarea" 2021-09-29 11:43:08 -04:00
invalid_expression fixing additional tests 2021-11-16 15:46:02 -05:00
invalid_roles Fixing a failing test because new logic was catching a different error. 2020-12-29 11:14:40 -05:00
invalid_script Replace all legacy style calls with new calls. 2020-07-24 14:33:24 -04:00
invalid_script2 Adding additional details to error messages, and cleaning up the cruft around these messages to keep them clear and succinct. 2021-07-07 00:53:49 -04:00
invalid_script3 Adding additional details to error messages, and cleaning up the cruft around these messages to keep them clear and succinct. 2021-07-07 00:53:49 -04:00
invalid_spec Fixes #12: Catching some specific common errors and re-raising as APIErrors with detailed codes and descriptions to improve debugging. In doing so, improving the error handling in the event a soft-reset causes an immediate error - and resetting to the original version of the specification in these events, to allow users the chance to try a hard reset instead. 2020-03-11 16:33:18 -04:00
irb_api_personnel Add IRB test 2020-08-07 09:59:53 -04:00
irb_info_script Test and workflow for new `get_irb_info` script 2021-05-01 15:53:43 -04:00
jinja_email *** WIP *** 2021-10-18 16:56:03 -04:00
ldap_lookup ldap lookup. 2020-05-19 16:11:43 -04:00
ldap_script This workflow had a form with a missing form key, so it's associated test failed after my changes in this ticket. I added a form key to the form. Test now passes. 2021-01-22 12:16:02 -05:00
logging_task Test and workflow for the new logging script 2021-10-27 12:22:17 -04:00
looping_task STG-26 2020-06-18 12:01:02 -04:00
manual_task_with_external_documentation We can now collect, and provide "extension properties" on a task as set in the camunda modeler. 2020-04-21 12:07:59 -04:00
message_event use a signal, in addition to firing off a cancel notify when a workflow is restarted. 2021-12-23 15:30:09 -05:00
missing_form_key Test and workflow file for missing form key. Ticket 163 2021-01-22 12:14:59 -05:00
multi_instance Fleshes out fake PB response, so workflows that pull from PB actually trigger validation errors 2020-08-04 15:50:29 -04:00
multi_instance_parallel My privous efforts didn't take into account the fact that we use dot notation in field names. 2021-03-14 12:20:39 -04:00
nav_order Prefer tasks that share a parent over just the the next available task when returning the next_task in the workflow processor. 2021-05-19 16:26:16 -04:00
parallel_tasks Standardizing the script tasks that can be executed on the server, adding tons of error messages for when things go wrong. All scripts must exist in side of the crc/scripts directory. 2020-03-03 13:52:45 -05:00
pb_responses Updated to match new UVA API endpoint 2021-12-06 14:39:49 -05:00
prefer_task_data_over_previous_form_submission assure we don't overwrite task data with a previous form submission if that data already exists. 2021-12-07 17:04:20 -05:00
raise_error 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
random_fact Added tests to cover most of the use cases and code, and a bunch of stuff to make the mocks happy 2020-12-14 10:27:40 -05:00
read_only_field Test and workflow for persisting read-only data 2021-05-07 14:07:19 -04:00
repeat_form Fill out repeating sections during validation process. 2020-05-30 15:37:04 -04:00
required_fields 1. Updating Personnel BPMN diagram to debug some issues. 2020-09-01 15:58:50 -04:00
reset_workflow Separate workflows for `using` the script and `validating` the script. 2021-06-15 11:15:04 -04:00
roles Adds form key and pool name 2020-07-16 17:59:56 -04:00
script_with_name_error Test and workflow for the new name error hint code 2021-07-01 15:39:25 -04:00
set_study_progress_status Merge remote-tracking branch 'origin/dev' into bug/fix-task-data 2021-12-13 13:18:00 -05:00
study_cancellations bumping spiffworkflow to support transcations and cancels properly. 2021-12-30 13:01:38 -05:00
study_details Replace all legacy style calls with new calls. 2020-07-24 14:33:24 -04:00
study_info_script Started writing tests for the study_info script. 2021-05-13 16:30:17 -04:00
study_sponsors Committing a merge from dev 2020-11-18 15:33:44 -05:00
study_sponsors_associate Always use a schema to define what is being returned, it enforces consistency of the API and internally we can depend on well defined objects. 2021-08-10 16:16:08 -04:00
study_sponsors_associate_fail Add test and make sure that the API endpoint does the right thing when we switch users - checks both associated with access and associated with no access 2021-02-25 12:20:43 -05:00
study_sponsors_associate_switch_user Add test and make sure that the API endpoint does the right thing when we switch users - checks both associated with access and associated with no access 2021-02-25 12:20:43 -05:00
study_sponsors_associates_delete Add test and fix to make sure that an empty study associates list (or a blank list) will effectively clear the extra study associates 2021-06-01 11:46:43 -04:00
study_sponsors_data_store Added the ability to use the custom functions within a decision/flow coming off of an exclusive join 2020-12-01 09:13:12 -05:00
subprocess Verifying Sub-Process works, and adding a field to expose a hint as to the sub-process in which the task occurs. 2020-04-28 13:48:44 -04:00
test_value_expression My privous efforts didn't take into account the fact that we use dot notation in field names. 2021-03-14 12:20:39 -04:00
timer_event Add a function that gets runs via a background scheduler to look for any workflows that are in a 'waiting' state - it runs the update waiting tasks and does do_engine_steps 2021-06-09 10:42:34 -04:00
timer_event_error Assure we log reasonably clear errors when executing scheduled tasks in the background, so that sentry can pick them up and they can be addressed effectively. 2021-07-12 09:43:12 -04:00
timer_inline Missing the bpmns for a test. 2021-11-30 13:29:31 -05:00
top_level_workflow Change dmn files to python standard, 2020-08-12 10:48:59 -04:00
two_forms Glob on windows seems to return directories where in linux it does not, so now assuring we don't try to add files from the sub-directory. 2020-10-05 17:35:35 -04:00
two_user_tasks Separate workflows for `using` the script and `validating` the script. 2021-06-15 11:15:04 -04:00
update_study_info Added test and workflow for updating `short_name` and `proposal_name` 2021-09-17 12:05:29 -04:00
verify_end_event Ticket #105. Verify End Event Documentation. Added explicit call to _process_documentation at end of crc.services.workflow_service.test_spec for the end event 2020-11-24 16:51:18 -05:00
workflow_form_field_name Modified workflow to add form field with period in the id. 2021-02-15 16:36:36 -05:00
workflow_form_field_type Test and workflow for changes to workflow_service. The workflow does not have a field type. We look for evidence of raised exception in data of response. 2020-12-28 18:03:59 -05:00
workflow_sync_responses Test for new functionality and code coverage 2021-01-12 10:18:35 -05:00
ldap_response.json Partial work on CR Connect Roles. 2020-07-14 10:29:25 -04:00
table.docx New set of "Tools" api endpoints, that provides a way to quickly render markdown or word documents by uploading json data and a template to populate. 2020-02-29 17:22:38 -05:00
template.docx Assure better error messages when parsing word documents with jinja syntax. 2021-11-23 14:38:48 -05:00
template_error.docx Assure better error messages when parsing word documents with jinja syntax. 2021-11-23 14:38:48 -05:00