Skip to content

Conversation

@somalaya
Copy link
Contributor

@somalaya somalaya commented Oct 27, 2025

The testcase testUrlOverrideHandlesNonceRedirectUrl was failing because there was a new testcase introduced in the class where we were setting flights but we missed resetting them before the next testcase runs.
Fix : Resetting flights between the UTs
Additional fix : There was a change that was relying on the state of flights set in previous tests which was incorrect. Correcting this as well.
Fixes AB#3413737

@github-actions
Copy link

❌ Work item link check failed. Description does not contain AB#{ID}.

Click here to Learn more.

@somalaya somalaya added the No-Changelog This Pull-Request has no associated changelog entry. label Oct 27, 2025
@somalaya somalaya marked this pull request as ready for review October 27, 2025 15:53
@somalaya somalaya requested a review from a team as a code owner October 27, 2025 15:53
Copilot AI review requested due to automatic review settings October 27, 2025 15:53
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 fixes a test isolation issue where flight settings were persisting between test cases, causing testUrlOverrideHandlesNonceRedirectUrl to fail. The fix ensures proper test cleanup by resetting the flights manager after test execution.

  • Added flight manager reset call to prevent state leakage between tests

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@somalaya somalaya changed the title Reset flights between tests Reset flights between tests, Fixes AB#3413737 Oct 27, 2025
@github-actions
Copy link

✅ Work item link check complete. Description contains link AB#3413737 to an Azure Boards work item.

@github-actions
Copy link

❌ Work item link check failed. Description contains AB#3413737
but the Bot could not link it to an Azure Boards work item.

Click here to learn more.

Copy link
Contributor

@mohitc1 mohitc1 left a comment

Choose a reason for hiding this comment

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

:shipit:

@somalaya somalaya merged commit c01f461 into dev Oct 28, 2025
24 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

No-Changelog This Pull-Request has no associated changelog entry.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants