Skip to content

Bug fixes for integration tests#834

Merged
jeo02 merged 4 commits intomicrosoft:mainfrom
jeo02:timeout-issues
Feb 9, 2026
Merged

Bug fixes for integration tests#834
jeo02 merged 4 commits intomicrosoft:mainfrom
jeo02:timeout-issues

Conversation

@jeo02
Copy link
Collaborator

@jeo02 jeo02 commented Feb 9, 2026

  • Fixes testNamePattern to be passed argument in quotes, without quotes would just look for the first part.
  • Default wait time was on sendandwait is low so pass it larger time.

Copilot AI review requested due to automatic review settings February 9, 2026 22:56
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR targets reliability fixes for the test harness used to run and filter integration tests, aiming to reduce flaky/failed runs due to argument parsing and waiting/reporting behavior.

Changes:

  • Adjusts the integration test runner script to wrap --testNamePattern values in quotes.
  • Updates the agent-runner to always generate a markdown report in finally, even on error.
  • Increases the sendAndWait timeout used for follow-up prompts in integration agent sessions.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
tests/utils/agent-runner.ts Ensures report generation on failure and increases follow-up wait timeout for agent sessions.
tests/scripts/run-tests.js Tweaks Jest CLI argument construction for --testNamePattern to be quoted.

@saikoumudi
Copy link
Contributor

saikoumudi commented Feb 9, 2026

can you also update readme file with instructions on how to run a single integration test?

Copilot AI review requested due to automatic review settings February 9, 2026 23:08
saikoumudi
saikoumudi previously approved these changes Feb 9, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.

@jeo02 jeo02 merged commit 4777c0e into microsoft:main Feb 9, 2026
9 checks passed
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