From db870bc89fb81232ea3810b9bf9f6218973245ca Mon Sep 17 00:00:00 2001 From: Kishan P Rao Date: Fri, 21 Aug 2026 14:49:31 +0200 Subject: [PATCH 1/5] ci: run sauce smoke tests --- .github/workflows/test.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2e407f17..4d9d6e56 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -67,7 +67,6 @@ jobs: browser: ${{ matrix.browser }} smoke_browser_sauce: - if: github.event_name == 'workflow_dispatch' runs-on: ubuntu-latest continue-on-error: true From c5dd864102e0eef2e359c9e6e9407a007718eade Mon Sep 17 00:00:00 2001 From: Kishan P Rao Date: Fri, 21 Aug 2026 15:09:36 +0200 Subject: [PATCH 2/5] ci: run smoke tests when workflow files change --- .github/actions/smoke-tests/action.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/actions/smoke-tests/action.yml b/.github/actions/smoke-tests/action.yml index 7cda5eed..5d6a5b22 100644 --- a/.github/actions/smoke-tests/action.yml +++ b/.github/actions/smoke-tests/action.yml @@ -44,11 +44,13 @@ runs: - 'packages/sdk-core/**' - 'smoketests/**' - '.github/actions/smoke-tests/**' + - '.github/workflows/**' node: - 'packages/sdk-core/**' - 'packages/node/**' - 'smoketests/**' - '.github/actions/smoke-tests/**' + - '.github/workflows/**' - run: npm run smoketest:node shell: bash From 16ca77bc8fcae088079a16767430473ab4231221 Mon Sep 17 00:00:00 2001 From: Kishan P Rao Date: Mon, 24 Aug 2026 16:54:57 +0200 Subject: [PATCH 3/5] smoketests: pin sauce connect version to 5.5.3 --- smoketests/wdio.conf.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/smoketests/wdio.conf.ts b/smoketests/wdio.conf.ts index 34ec1437..9780620d 100644 --- a/smoketests/wdio.conf.ts +++ b/smoketests/wdio.conf.ts @@ -50,6 +50,7 @@ export const config: Options.Testrunner & { { sauceConnect: true, sauceConnectOpts: { + scVersion: '5.5.3', // sc output is debug-level and dropped under logLevel info, print it so CI shows the exit reason logger: (output: string) => console.log(`[sauce-connect] ${output}`), }, From b0ea3d0816c6346e6fdccf7fd05396b5a397e278 Mon Sep 17 00:00:00 2001 From: Kishan P Rao Date: Mon, 24 Aug 2026 19:06:54 +0200 Subject: [PATCH 4/5] ci: pre-install sauce connect binary --- .github/workflows/test.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4d9d6e56..3c3b54fb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -77,6 +77,13 @@ jobs: node-version: 20.x - run: npm ci - run: npm run build + # NOTE: sc version must match wdio.conf.ts + - run: | + SC_VERSION=5.5.3 + SC_DIR="node_modules/saucelabs/build/sc-loader/.sc-v$SC_VERSION-linux-x86_64" + mkdir -p "$SC_DIR" + curl -sSf "https://saucelabs.com/downloads/sauce-connect/$SC_VERSION/sauce-connect-${SC_VERSION}_linux.x86_64.tar.gz" | tar xz -C "$SC_DIR" + chmod +x "$SC_DIR/sc" - name: smoke-test uses: ./.github/actions/smoke-tests with: From 96badde61602f6b98e18c0a2d5140f924fb9370e Mon Sep 17 00:00:00 2001 From: Kishan P Rao Date: Mon, 24 Aug 2026 19:31:01 +0200 Subject: [PATCH 5/5] smoketests: proxy localhost directly --- smoketests/wdio.conf.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/smoketests/wdio.conf.ts b/smoketests/wdio.conf.ts index 9780620d..3c3f7cf6 100644 --- a/smoketests/wdio.conf.ts +++ b/smoketests/wdio.conf.ts @@ -51,6 +51,8 @@ export const config: Options.Testrunner & { sauceConnect: true, sauceConnectOpts: { scVersion: '5.5.3', + // the static server runs on localhost + proxyLocalhost: 'direct', // sc output is debug-level and dropped under logLevel info, print it so CI shows the exit reason logger: (output: string) => console.log(`[sauce-connect] ${output}`), },