Skip to content

Integration tests for Create Attachment for Active entity#536

Merged
akgarg06 merged 18 commits into
developfrom
RBSDMS-114-feature
Jul 27, 2026
Merged

Integration tests for Create Attachment for Active entity#536
akgarg06 merged 18 commits into
developfrom
RBSDMS-114-feature

Conversation

@akgarg06

@akgarg06 akgarg06 commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Describe your changes

Any documentation

Adds integration tests for creating attachments directly on active (published) entities, without going through the draft flow. Tests cover single-tenant and multi-tenant scenarios across named user and technical user token flows.

New test files:
IntegrationTest_ActiveEntity — core active-entity tests (16 test cases)
IntegrationTest_ActiveEntity_MultipleFacet — same tests across all 3 facets (attachments, references, footnotes)
IntegrationTest_ActiveEntity_Chapters_MultipleFacet — same tests on nested Chapters entities across all 3 facets

Workflow updates (6 files):
Added active-entity-test as a dedicated job in all integration test workflows (single-tenant and multi-tenant)
The job runs after the main integration-test slot to avoid fixture conflicts, and before the versioned/virus-scan slots
Tests run in parallel across namedUser / technicalUser token flows and TENANT1 / TENANT2 (multi-tenant)

Type of change

  • Integration test cases

Checklist before requesting a review

  • I follow Java Development Guidelines for SAP
  • I have tested the functionality on my cloud environment.
  • I have provided sufficient automated/ unit tests for the code.
  • I have increased or maintained the test coverage.
  • I have ran integration tests on my cloud environment.
  • I have validated blackduck portal for any vulnerability after my commit.

Individual test cases run
Single Tenant : https://github.com/cap-java/sdm/actions/runs/29014326579
https://github.com/cap-java/sdm/actions/runs/30237692480
Multi Tenant : https://github.com/cap-java/sdm/actions/runs/29013763522
https://github.com/cap-java/sdm/actions/runs/30238445650

Comment thread sdm/src/test/java/integration/com/sap/cds/sdm/Api.java Fixed
Comment thread sdm/src/test/java/integration/com/sap/cds/sdm/ApiMT.java Fixed
Comment thread sdm/src/test/java/integration/com/sap/cds/sdm/Api.java Fixed
Comment thread sdm/src/test/java/integration/com/sap/cds/sdm/Api.java Fixed
Comment thread sdm/src/test/java/integration/com/sap/cds/sdm/ApiMT.java Fixed
Comment thread sdm/src/test/java/integration/com/sap/cds/sdm/ApiMT.java Fixed
Comment thread sdm/src/test/java/integration/com/sap/cds/sdm/ApiInterface.java Dismissed
@akgarg06 akgarg06 changed the title Rbsdms 114 feature Integration tests for Create Attachment for Active entity Jul 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants