Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(performance): create a k6 purge script to run after creating dia…
…logs (#1435) A script that purges dialogs created by performance tests. Much is copied from common/sentinel.js, but that script didn't quite fit in. Purges max 200 in one run, searching and purging is time-consuming at the moment ## Description <!--- Describe your changes in detail --> ## Related Issue(s) - #1326 ## Verification - [ ] **Your** code builds clean without any errors or warnings - [ ] Manual testing done (required) - [ ] Relevant automated test added (if you find this hard, leave it and we'll help out) ## Documentation - [ ] Documentation is updated (either in `docs`-directory, Altinnpedia or a separate linked PR in [altinn-studio-docs.](https://github.com/Altinn/altinn-studio-docs), if applicable) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit ## Summary by CodeRabbit - **New Features** - Introduced a new script to automatically purge uncleaned dialogs after tests, enhancing test environment management. - **Bug Fixes** - Improved error handling for API responses during the purging process, ensuring more reliable cleanup operations. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
- Loading branch information