Skip to content

Commit a771dc0

Browse files
committed
up
1 parent 6f8159e commit a771dc0

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

scripts/run-browser-tests.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,10 @@ function startTunnel() {
7373
key: accessKey,
7474
force: true,
7575
forceLocal: true,
76+
// Enable verbose logging to debug tunnel issues
77+
verbose: true,
78+
// Enable local testing for all sites - more permissive
79+
onlyAutomate: true,
7680
};
7781

7882
return new Promise((resolve, reject) => {

vitest.browser.config.mts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,10 @@ export default defineConfig({
141141
allowedHosts: ['bs-local.com', 'localhost'],
142142
},
143143
test: {
144-
isolate: false,
145-
fileParallelism: true,
146-
maxConcurrency: 5,
144+
isolate: false,
145+
fileParallelism: true,
146+
// Reduce concurrency for BrowserStack to minimize tunnel load and WebSocket connection issues
147+
maxConcurrency: useLocalBrowser ? 5 : 1,
147148
onConsoleLog: () => true,
148149
browser: {
149150
enabled: true,

0 commit comments

Comments
 (0)