Skip to content

test(integration-service): add Integration Service integration tests#558

Draft
maninder-uipath wants to merge 1 commit into
mainfrom
feat/is-integration-tests
Draft

test(integration-service): add Integration Service integration tests#558
maninder-uipath wants to merge 1 commit into
mainfrom
feat/is-integration-tests

Conversation

@maninder-uipath

Copy link
Copy Markdown
Contributor

Summary

PR 5/5 — live-API integration tests for the Integration Service (Connectors, Connections, Elements, Execution), plus integration test wiring (test-config.ts, unified-setup.ts) and .env.integration.example fixtures.

⚠️ Draft — expected to fail until the feature PRs merge

This PR targets main but the four services it tests are not yet in main. CI will be red until the stack lands:

  1. feat(integration-service): add Connections service #554 Connections
  2. feat(integration-service): add Connectors service #555 Connectors
  3. feat(integration-service): add Elements service #556 Elements
  4. feat(integration-service): add Execution passthrough #557 Execution

After all four merge into main, rebase this branch onto main and the suite will compile and run green. Kept as a draft until then.

🤖 Generated with Claude Code

…[JAR-IS-5]

Adds live-API integration tests for Connectors, Connections, Elements, and
Execution, plus the integration test config wiring (test-config, unified-setup)
and .env.integration.example fixtures.

NOTE: This PR targets main and will fail CI until the four Integration Service
feature PRs (Connections, Connectors, Elements, Execution) merge into main.
Rebase onto main after they land and the suite will run green. Kept as a draft.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
});

describe('getAll', () => {
it.only('should return a non-empty list of connectors as a plain array', async () => {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Debugging artifact left in — it.only will cause every other test in this file to be silently skipped when the suite runs (only this one case executes). Change to it.

Suggested change
it.only('should return a non-empty list of connectors as a plain array', async () => {
it('should return a non-empty list of connectors as a plain array', async () => {

@claude

claude Bot commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

PR Review Summary

One issue found, with an inline comment posted. Everything else looks good.

Issue: debugging artifact in connectors.integration.test.ts line 30

The test call has the .only modifier appended to it, causing that single test to run exclusively and all other tests in the suite to be silently skipped. This is a debugging artifact that should not be committed. An inline comment with a fix suggestion has been posted on that line.

Everything else looks good:

  • beforeAll guards are correctly in place
  • Preconditions use throw new Error() (not silent return) as required
  • describe.skip on reauthenticate includes a comment explaining the PAT auth limitation
  • Transform validation covers both camelCase presence and PascalCase absence
  • SDK access validity is handled properly
  • Config wiring is correct

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.

1 participant