From 92aa24348c672230b5f33d693a9fcf7028b94faf Mon Sep 17 00:00:00 2001 From: Aakash Hotchandani Date: Mon, 8 Jun 2026 19:55:48 +0530 Subject: [PATCH] Enable BrowserStack Local so the local test passes 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 --- XunitReqnrollPlaywrightBrowserstack.Tests/browserstack.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/XunitReqnrollPlaywrightBrowserstack.Tests/browserstack.yml b/XunitReqnrollPlaywrightBrowserstack.Tests/browserstack.yml index 720f64e..68ef046 100644 --- a/XunitReqnrollPlaywrightBrowserstack.Tests/browserstack.yml +++ b/XunitReqnrollPlaywrightBrowserstack.Tests/browserstack.yml @@ -64,7 +64,7 @@ parallelsPerPlatform: 1 # ========================================== # Set browserstackLocal to true if your website under test is not accessible publicly over the internet # Learn more about how BrowserStack Local works here -> https://www.browserstack.com/docs/automate/selenium/local-testing-introduction -browserstackLocal: false # (Default false) +browserstackLocal: true # (Default false) # Options to be passed to BrowserStack local in-case of advanced configurations # browserStackLocalOptions: