Skip to content

Enable BrowserStack Local so the local test passes#4

Open
AakashHotchandani wants to merge 1 commit into
mainfrom
fix/enable-browserstack-local
Open

Enable BrowserStack Local so the local test passes#4
AakashHotchandani wants to merge 1 commit into
mainfrom
fix/enable-browserstack-local

Conversation

@AakashHotchandani

Copy link
Copy Markdown
Collaborator

What

Enable BrowserStack Local in browserstack.yml (browserstackLocal: false -> true).

Why

The repo ships a local test (Features/LocalSample.feature) that navigates to http://bs-local.com:45454/ and asserts the page title contains "BrowserStack Local". That page is served by the BrowserStack Local tunnel, which only runs when browserstackLocal: true. With it shipped as false, a fresh dotnet test produced a failing build: the sample (bstackdemo add-to-cart) scenario passed, but the local scenario failed with net::ERR_CONNECTION_REFUSED on every platform.

Verification (live on BrowserStack Automate)

The SDK starts and stops the Local tunnel automatically; no test-code change is required.

🤖 Generated with Claude Code

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>
@AakashHotchandani AakashHotchandani requested a review from a team as a code owner June 8, 2026 14: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.

1 participant