Commit Graph

50 Commits

Author SHA1 Message Date
Kevin Burnett fed785b50c
fix a couple cypress test issues (#1267)
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-03-24 05:02:15 +00:00
jasquat 9d16a2a5c3
use-react-link-for-links (#1242)
* use the react Link component to render links w/ burnettk

* removed old code w/ burnettk

* use a tag for external links according to coderabbit w/ burnettk

* click the nav expander again to close in cypress tests w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-03-20 13:24:07 -07:00
jasquat 709a0c8492
Merge guest flow into unauth flow (#1233)
* removed some portions of the guest access flow in favor of the unauthed flow w/ burnettk

* removed guest access from auth flow in backend w/ burnettk

* updated frontend to use new public api for guest tasks

* fixed tests and updated get task url script to choose between public and non public urls

* removed old guest task support from frontend

* return 404 when a task cannot be found w/ burnettk

* fixed typo in group list tiles w/ burnettk

* added cypress tests for public formg w/ burnettk

* display metadata key for urls instead of values w/ burnettk

* updated permissions for acceptance testss w/ burnettk

* set up permissions for public group if it is in the list and login and logout admin user in ci to ensure permissions are set w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-03-19 11:52:27 -07:00
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 c3fdbc0f69 remove pilot cypress tests and update others for admin in path removal w/ burnettk 2023-09-25 16:03:46 -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
jasquat dda0c0f717 fixed failing cypress test 2023-05-19 11:24:50 -04:00
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 ff078cbc80 Updated button paths and added some waits 2023-05-09 21:36:54 +05:30
jasquat b1f9bbc475 fixed some cypress tests w/ burnettk 2023-04-24 14:40:42 -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
Madhurya Liyanage 07dacdff99 Merge branch 'main' of https://github.com/sartography/spiff-arena 2023-04-06 20:17:13 +05:30
Madhurya Liyanage 67a1f152e6 Updated the button click to support when there are multiple processes for the user 2023-04-06 20:01:24 +05:30
jasquat d2d0e7e992 attempted to fix some cypress tests 2023-03-23 17:34:08 -04:00
jasquat 2464ad9a26 some updates for cypress pp1 test w/ burnettk 2023-03-09 10:59:20 -05:00
jasquat 94776a78b5 some minor tweaks and turn off debug logging for spiff step details w/ burnettk 2023-03-06 16:16:55 -05:00
jasquat 4ee7b299f2 pyl and fixed cypress tests w/ burnettk 2023-03-06 11:59:33 -05:00
burnettk 342e6091c5 finish test for pp1 2023-03-06 00:48:07 -05:00
burnettk a71754e722 add start of pp1 test 2023-03-04 23:48:23 -05:00
jasquat 8a421bfb2c corrected cypress env var 2023-02-16 13:31:08 -05:00
jasquat a98892be32 added some support for using the backend openid server for cypress tests w/ burnettk 2023-02-16 12:09:44 -05:00
jasquat d70acde4c0 fixed cypress tests 2023-01-16 12:24:02 -05:00
burnettk 479969db16 Merge remote-tracking branch 'origin/main' into bug/cypress-tests 2023-01-04 20:58:03 -05:00
jasquat 4b328df7c5 allow tests to determine what paginated entity id to use to determine a table has loaded 2022-12-30 09:13:03 -05:00
burnettk 744460fdbf make pagination test work for instances as well 2022-12-28 23:25:03 -05:00
burnettk 492f9478fc fix another race conditions in instance cypress test 2022-12-28 23:14:17 -05:00
burnettk 5199555996 delete videos on success and address race condition in cypress test 2022-12-28 22:55:46 -05:00
jasquat 3e26226514 some cypress tests w/ burnettk 2022-12-27 15:42:22 -05:00
burnettk f171ab49a4 Merge remote-tracking branch 'origin/main' into bug/cypress-tests 2022-12-20 22:05:21 -05:00
mike cullerton 9870a0b040 fixed process model tests 2022-12-15 17:59:01 -05:00
jasquat d95a05a60a process model cypress tests are passing w/ burnettk 2022-12-14 17:45:31 -05:00
jasquat 1e62a77e81 some fixes for ci w/ burnettk 2022-12-14 17:09:43 -05:00
jasquat 19333e38b2 fixed cypress tests 2022-11-23 09:38:45 -05:00
jasquat 1ec8d68ce9 the misc group is now 99-Misc 2022-11-22 07:32:27 -05:00
burnettk 54ae3104e9 fix tests and add frontend tests 2022-11-21 22:09:13 -05:00
jasquat de392c9fd1 task cypress tests are passing w/ burnettk cullerton 2022-11-21 16:47:04 -05:00
jasquat 5970ad04e0 process model cypress tests are passing w/ burnettk cullerton 2022-11-21 16:19:55 -05:00
jasquat 53d8b3f140 make sure to pass the correct form of process group id when creating a process model w/ burnettk cullerton 2022-11-21 15:39:33 -05:00
jasquat 92d77f3a51 allow getting all process models, process instances should not save when they are initialized, and fixed some cypress tests w/ burnettk 2022-11-21 14:12:04 -05:00
burnettk 19c7ae3275 add cypress grep 2022-11-15 22:34:28 -05:00
jasquat 22ad31300a merged in and recsovled conflicts of frontend tree w/ burnettk 2022-11-09 15:03:43 -05:00
jasquat c1c95aafa5 process instance cypress tests pass now w/ burnettk 2022-11-09 14:51:22 -05:00
jasquat afa8aae60e process model cypress tests are passing 2022-11-09 10:12:13 -05:00
burnettk 2cda810a04 fix process model create and a couple tests, docker build refactor 2022-11-08 22:36:39 -05:00
jasquat 06e5d05d51 fixed some acceptance tests w/ burnettk cullerton 2022-11-08 17:20:17 -05:00
burnettk a346df8059 fix a few tests 2022-11-04 17:14:48 -04:00
jasquat b165608430 instances tests are mostly passing, issues with table resizing on the list w/ burnettk 2022-11-04 15:07:40 -04:00
jasquat 8a7a7f3de2 process group cypress tests are passing w/ burnettk 2022-11-04 12:20:55 -04:00
Jon Herron d3efb6cfb9 Merge commit '2382c3f0ab9502dddb9a3f6a8b32981f92bedc18' as 'spiffworkflow-frontend' 2022-10-12 10:21:49 -04:00