Skip to content

Conversation

@mmvsk
Copy link

@mmvsk mmvsk commented Jan 14, 2026

Reviewers

r? @
cc @stripe/developer-products

Summary

TestLogin fails on Linux systems without a default browser configured because canOpenBrowser() returns false, causing the test to skip the browser-opening code path entirely.

This PR mocks canOpenBrowser (similar to how openBrowser is already mocked) to ensure consistent test behavior regardless of system configuration.

Fixes #1020

Mock canOpenBrowser in tests to ensure consistent behavior
regardless of system browser configuration.

Fixes stripe#1020
@mmvsk mmvsk requested a review from a team as a code owner January 14, 2026 06:35
@cla-assistant
Copy link

cla-assistant bot commented Jan 14, 2026

CLA assistant check
All committers have signed the CLA.

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.

login test fails

1 participant