fix: otp-2494: only update workflowVersionSelector when according workflow is different
Closes otp-2494
Summary by CodeRabbit
-
New Features
- Improved the method for selecting previous workflow version selectors based on project, workflow, and sequence type.
-
Tests
- Added integration tests to validate the creation and update of workflow version selectors.
- Removed outdated unit tests related to workflow version selection logic.
-
UI
- Updated the workflow selection functionality to handle multiple configurations and verify creation/deletion.
-
Configuration
- Modified the structure of "analysis" field in the
workflowSelection.json
file to include an array of objects.
- Modified the structure of "analysis" field in the
-
UI/UX
- Updated the condition in
index.js
to impact the logic flow for better code behavior.
- Updated the condition in
-
DevOps
- Included
cypress/videos
path in the artifacts for Cypress tests in GitLab CI.
- Included
-
Configuration
- Enabled video recording during test runs by updating the
video
configuration option incypress.config.js
.
- Enabled video recording during test runs by updating the
Edited by CodeRabbit