move attachment Integration tests #403
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Describe your changes
This PR covers Integration tests for move attachments
Scenarios:
1)Move attachments from Source Entity to Target Entity with sourceFacet
2)Move attachments to entity with duplicate attachment with sourceFacet
3)Move attachments with notes and secondary properties with sourceFacet
4)Move valid attachments from Source Entity to Target Entity without sourceFacet
5)Move attachments into existing Target Entity when duplicate exists without sourceFacet
6)Move attachments with notes and secondary properties without sourceFacet
7)Move attachments with invalid or undefined secondary properties
8)Move attachments from Source Entity when Source Entity is in draft mode
9)Edit attachment file name in Source Entity and move it to Target Entity
10)Move attachments from Source Entity to Target Entity 1 and then to Target Entity 2
11)Move attachments when user does not have SDM Role
Type of change
Please delete options that are not relevant.
Checklist before requesting a review
Upload Screenshots/lists of the scenarios tested
Single tenant Integration test result
https://github.com/cap-java/sdm/actions/runs/20772556007
Multi tenant Integration test result
https://github.com/cap-java/sdm/actions/runs/20804656478