Enable BrowserStack Local so the local test passes#4
Open
AakashHotchandani wants to merge 1 commit into
Open
Conversation
Features/LocalSample.feature navigates to http://bs-local.com:45454/ and asserts the title contains "BrowserStack Local". That page is only reachable when the BrowserStack Local tunnel is running, but browserstack.yml shipped with browserstackLocal: false, so a fresh `dotnet test` failed: the sample (bstackdemo) scenario passed while the local scenario failed with net::ERR_CONNECTION_REFUSED on every platform. Set browserstackLocal: true so the SDK starts/stops the tunnel automatically. Verified live on BrowserStack Automate: both sample and local scenarios pass. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Enable BrowserStack Local in
browserstack.yml(browserstackLocal: false->true).Why
The repo ships a local test (
Features/LocalSample.feature) that navigates tohttp://bs-local.com:45454/and asserts the page title contains "BrowserStack Local". That page is served by the BrowserStack Local tunnel, which only runs whenbrowserstackLocal: true. With it shipped asfalse, a freshdotnet testproduced a failing build: the sample (bstackdemo add-to-cart) scenario passed, but the local scenario failed withnet::ERR_CONNECTION_REFUSEDon every platform.Verification (live on BrowserStack Automate)
511209731baccc6d71e941bb0556b63934912041): sample scenariopassed, local scenariofailedon both Windows/Chrome and macOS/WebKit.537b958eb11baf684b7eba2e055117a174ec946c): both scenariospassed.The SDK starts and stops the Local tunnel automatically; no test-code change is required.
🤖 Generated with Claude Code