Commit Graph

122 Commits

Author SHA1 Message Date
jasquat 18600189c8 Feature/background proc with celery (#788)
* WIP: some initial test code to test out celery w/ burnettk

* some cleanup for celery and added base model to put tasks waiting on timers

* removed dup bpmn file

* some more cleanup and added strategy to queue instructions

* some minor code changes w/ burnettk

* remove the unused next_task key from api calls since nobody uses it w/ burnettk essweine

* added migration for future tasks and added test to make sure we are inserting into it w/ burnettk essweine

* ensure future task run at time can be updated w/ burnettk

* added table to queue instructions for end user in w/ burnettk

* added test to ensure we are storing instructions for end users w/ burnettk

* added progress page to display new instructions to user

* ignore dup instructions on db insert w/ burnettk

* some more updates for celery w/ burnettk

* some pyl and test fixes w/ burnettk

* fixed tests w/ burnettk

* WIP: added in page to show instructions on pi show page w/ burnettk

* pi show page is fully using not interstitial now w/ burnettk

* fixed broken test w/ burnettk

* moved background processing items to own module w/ burnettk

* fixed apscheduler start script

* updated celery task queue to handle future tasks and upgraded black and set its line-length to match ruff w/ burnettk

* added support to run future tasks using countdown w/ burnettk

* build image for celery branch w/ burnettk

* poet does not exist in the image w/ burnettk

* start blocking scheduler should always start the scheduler w/ burnettk

* add init and stuff for this branch

* make this work not just on my mac

* send other args to only

* added running status for process instance and use that on fe to go to show page and added additional identifier to locking system to isolate celery workers better w/ burnettk

* fixed typing error that typeguard found, not sure why mypy did not w/ burnettk

* do not check for no instructions on interstitial page for cypress tests on frontend w/ burnettk

* do not queue process instances twice w/ burnettk

* removed bad file w/ burnettk

* queue tasks using strings to avoid circular imports when attmepting to queue w/ burnettk

* only queue imminent new timer events and mock celery

* some keyboard shortcut support on frontend and added ability to force run a process instance over the api w/ burnettk

* some styles added for the shortcut menu w/ burnettk

* pyl w/ burnettk

* fixed test w/ burnettk

* removed temporary celery script and added support for celery worker in run server locally w/ burnettk

* cleaned up migrations w/ burnettk

* created new migration to clean up old migrations

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-12-05 11:41:59 -05:00
jasquat fc22425ea2 fixed process model cypress test w/ burnettk 2023-11-09 15:56:53 -05:00
jasquat 586cb8893d attempting to fix broken cypress test by waiting for page to load before clearing w/ burnettk 2023-11-09 14:59:35 -05:00
jasquat 45bcba172d default other open id configs is url is specified w/ burnettk 2023-11-09 14:31:30 -05:00
jasquat ac1bebeb76 fixed cypress tests 2023-09-26 10:30:11 -04:00
jasquat c3fdbc0f69 remove pilot cypress tests and update others for admin in path removal w/ burnettk 2023-09-25 16:03:46 -04:00
jasquat f0fdf51a87 some improvements to cypress tests w/ burnettk 2023-09-07 15:31:31 -04:00
jasquat 5a6031b3d7 fixed failing cypress test w/ burnettk 2023-09-07 12:41:50 -04:00
jasquat 800b61cf36 fixed pagination of log tables and broken cypress tests w/ burnettk (#382)
* fixed pagination of log tables and broken cypress tests w/ burnettk

* wait before clicking the profile button instead of after w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-10 14:06:55 -04:00
Kevin Burnett 7de0d97303 Feature/better subworkflow management part 2 (#341)
* Revert "Revert "Feature/better subworkflow management (#331)""

This reverts commit 48dcde8faf.

* updated SpiffWorkflow to fix infinite loop in task trace w/ burnettk

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-20 10:37:49 -04:00
burnettk 48dcde8faf Revert "Feature/better subworkflow management (#331)"
This reverts commit 23af5cbbe4.
2023-06-15 15:10:48 -04:00
jasquat 23af5cbbe4 Feature/better subworkflow management (#331)
* WIP: some updates to support new spiff w/ burnettk

* unit tests are passing

* all tests except message tests are passing

* fixed usage of catch message event w/ burnettk

* messages are working again w/ burnettk

* uncommented remaining message tests w/ burnettk

* fixed cypress tests w/ burnettk

* use main for spiffworkflow

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-15 10:31:42 -04:00
Madhurya Liyanage 2d55040c6d Fixed an issue in a test cases and updated numbering 2023-06-05 16:58:24 +05:30
Madhurya Liyanage 5abec3046b Added validations to check the user entered data for special character related test case and edit request test cases 2023-06-05 16:14:45 +05:30
Madhurya Liyanage 5549072059 Updated wait time for file upload related test cases and added numbering for test cases. 2023-06-05 16:13:12 +05:30
Madhurya Liyanage e16598d5e9 Updates to match the new UI changes 2023-06-01 12:16:09 +05:30
Madhurya Liyanage 6c6297d1d7 Remove some unwanted only items 2023-05-31 18:22:39 +05:30
Madhurya Liyanage 4808e346f1 Updates to match the new UI changes 2023-05-31 12:26:26 +05:30
Madhurya Liyanage 8bb73bebf5 Automation scripts for PP2 2023-05-30 12:07:54 +05:30
Madhurya Liyanage 8f44429477 Added new test cases to Rearrange items and Delete items 2023-05-29 19:56:51 +05:30
Madhurya Liyanage 0fb5edc786 Changed Close to Save and Close 2023-05-29 19:38:51 +05:30
jasquat dda0c0f717 fixed failing cypress test 2023-05-19 11:24:50 -04:00
Madhurya Liyanage d7a9eb237e Added some test cases for form validations 2023-05-19 19:44:19 +05:30
Madhurya Liyanage c5408bdaca Commented out some unwanted lines 2023-05-19 19:42:34 +05:30
jasquat 8e1a29c624 update Close button on task show page to save and close and fixed task test 2023-05-16 10:13:29 -04:00
Madhurya Liyanage c4bc0be885 Added a missing approver 2023-05-15 14:40:42 +05:30
Madhurya Liyanage 5298a7116b Added function checkProcessInstanceCompleted() to verify the instance is completed successfully 2023-05-13 15:58:27 +05:30
jasquat b7ec540b3c removed only from NDR test so the whole file can run w/ burnettk 2023-05-12 11:38:10 -04:00
jasquat 46f4350f9e some updates for NDR PP1 w/ burnettk 2023-05-12 11:05:35 -04:00
Madhurya Liyanage 7c555c62a4 Replaced cy.contains('Request Goods or Services') with cy.contains('Request Goods or Services').click(); to match the change in process start in command file 2023-05-11 12:53:26 +05:30
Madhurya Liyanage c9443b29bf Updated the cancel request test case 2023-05-11 11:57:36 +05:30
jasquat 9e57be25a4 some updates for NDR_PP1 cypress tests w/ burnettk 2023-05-10 15:49:55 -04:00
jasquat b41df276f5 fixed cypress tests w/ burnettk 2023-05-10 14:05:07 -04:00
Madhurya Liyanage 8fda5a476f Save as draft changed to Close 2023-05-10 15:25:09 +05:30
Madhurya Liyanage e301a937f7 Updated some wait values 2023-05-10 15:24:44 +05:30
Madhurya Liyanage ff078cbc80 Updated button paths and added some waits 2023-05-09 21:36:54 +05:30
Madhurya Liyanage c7e43c58ce Enabled only the 'Without Files' describe 2023-05-09 21:29:36 +05:30
Madhurya Liyanage c969a6bcda Updates related to the changes in the Cancel button and things around that. 2023-05-08 16:45:16 +05:30
jasquat ca8af1bce0 fixed cypress tests w/ burnettk 2023-05-01 14:54:11 -04:00
jasquat 80ec1194db fixed cypress process instance tests w/ burnettk 2023-04-28 11:56:52 -04:00
Madhurya Liyanage 393fac80a7 Test cases for request - add, edit, cancel, save as draft 2023-04-28 15:25:54 +05:30
Madhurya Liyanage 2fefe4e4de Updates to match the interstitial pages 2023-04-28 15:25:04 +05:30
Madhurya Liyanage 66786755f5 Updates related to the new UI changes 2023-04-26 19:54:30 +05:30
jasquat b1f9bbc475 fixed some cypress tests w/ burnettk 2023-04-24 14:40:42 -04:00
Madhurya Liyanage a6a86690f0 Updates to match the PP1 process/UI changes 2023-04-18 19:58:32 +05:30
jasquat a2130ec1d2 fix cypress tests 2023-04-14 10:00:06 -04:00
burnettk cad1cf62a7 bump timeout and use new process name 2023-04-13 12:38:55 -04:00
burnettk 07337cd7b8 get in line with new wording 2023-04-06 18:01:23 -04:00
jasquat 3111195f78 updated pilot tests w/ burnettk 2023-04-06 12:06:05 -04:00
jasquat 649d454bc0 moved NDR_PP1 tests to pilot dir and default configs back to what they were w/ burnettk 2023-04-06 11:42:24 -04:00