Skip to content

test: DTOSS 3884 e2e tests utilising WireMock#1563

Merged
alex-clayton-1 merged 8 commits intomainfrom
test/DTOSS-3884-e2e-tests
Sep 2, 2025
Merged

test: DTOSS 3884 e2e tests utilising WireMock#1563
alex-clayton-1 merged 8 commits intomainfrom
test/DTOSS-3884-e2e-tests

Conversation

@alex-clayton-1
Copy link
Copy Markdown
Contributor

@alex-clayton-1 alex-clayton-1 commented Aug 29, 2025

Description

  • Added WireMock container to compose.deps.yaml
  • Included steps in test runner for validating ServiceNow requests using WireMock
  • Added test file to cover two test cases

Context

DTOSS-10002
DTOSS-10003

Type of changes

  • Refactoring (non-breaking change)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would change existing functionality)
  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I am familiar with the contributing guidelines
  • I have followed the code style of the project
  • I have added tests to cover my changes
  • I have updated the documentation accordingly
  • This PR is a result of pair or mob programming

Sensitive Information Declaration

To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.

  • I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Aug 29, 2025

Unit Test Results

✔️ Tests 777 / 777 - passed in 58.8s
📝 Coverage 56.99%
📏 4286 / 7405 lines covered 🌿 1055 / 1966 branches covered
🔍 click here for more details

✏️ updated for commit 00fdd19

Comment thread application/CohortManager/compose.core.yaml Outdated
Comment thread tests/playwright-tests/src/tests/steps/steps.ts Outdated
Joseph2910
Joseph2910 previously approved these changes Sep 1, 2025
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Sep 2, 2025

@alex-clayton-1 alex-clayton-1 added this pull request to the merge queue Sep 2, 2025
Merged via the queue into main with commit 808192f Sep 2, 2025
65 checks passed
@alex-clayton-1 alex-clayton-1 deleted the test/DTOSS-3884-e2e-tests branch September 2, 2025 10:00
stephhou pushed a commit that referenced this pull request Sep 5, 2025
* test: Integrated WireMock into test runner and setup new test file

* test: Changed console log message

* test: Cleanup WireMock requests after running test

* test: Added steps to manual amend runner also

* test: Fixed wiremock URLs in compose file

* test: Fixed WireMock URL protocol in docker compose

* test: Added environment variable to config in env.ts

* test: Handles exception in cleanupWireMock
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.

4 participants