Skip to content

Conversation

@lalimasharda
Copy link
Contributor

No description provided.

@lalimasharda lalimasharda requested review from a team as code owners October 14, 2025 22:03
Copilot AI review requested due to automatic review settings October 14, 2025 22:03
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 race condition in the B2C e2e test where the sign-in button click and navigation were not properly synchronized, and updates the client secret environment variable name to match Azure conventions.

  • Fixed race condition by properly waiting for navigation after sign-in button click
  • Updated environment variable name from CLIENT_SECRET to AZURE_CLIENT_SECRET
  • Improved code formatting for the screenshot folder path

Reviewed Changes

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

File Description
samples/msal-node-samples/b2c-user-flows/test/user-flows-local.spec.ts Fixed race condition with Promise.all navigation wait and improved formatting
samples/msal-node-samples/b2c-user-flows/README.md Updated environment variable name to AZURE_CLIENT_SECRET

@lalimasharda lalimasharda changed the title fixed race condition between signin button and navigation in B2C e2e test fixed race condition between signin button click and navigation in B2C e2e test Oct 14, 2025
@lalimasharda lalimasharda merged commit 5ab933a into dev Oct 14, 2025
6 checks passed
@lalimasharda lalimasharda deleted the b2c_e2e_test_fix_v2 branch October 14, 2025 22:26
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