File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4747 with :
4848 path : e2e/.wdio-vscode-service
4949
50+ - name : 🖥️ Set screen resolution
51+ uses : ./.github/workflows/actions/set-screen-resolution
52+
5053 - name : 🧪 Run the e2e test
5154 env :
5255 E2E_SCENARIO : ${{ matrix.scenario }}
Original file line number Diff line number Diff line change 44 workflow_call :
55 # Make this a reusable workflow, no value needed
66 # https://docs.github.com/en/actions/using-workflows/reusing-workflows
7+ inputs :
8+ scenario :
9+ description : ' Smoke scenario'
10+ type : string
711
812env :
913 TURBO_TELEMETRY_DISABLED : 1
@@ -40,16 +44,21 @@ jobs:
4044 with :
4145 path : e2e/.wdio-vscode-service
4246
47+ - name : 🖥️ Set screen resolution
48+ uses : ./.github/workflows/actions/set-screen-resolution
49+
4350 - name : 🚂 Run the smoke test
44- run : pnpm run test:smoke
51+ env :
52+ E2E_SCENARIO : ${{ inputs.scenario }}
53+ run : pnpm --filter @vscode-wdio/e2e run test:smoke:${E2E_SCENARIO}
4554 shell : bash
4655
4756 - name : 📦 Upload Test Logs on Failure
4857 uses : ./.github/workflows/actions/upload-archive
4958 if : failure()
5059 with :
51- name : smoke-logs-${{ matrix.os }}
52- output : smoke-logs-${{ matrix.os }}.zip
60+ name : smoke-${{ inputs.scenario }}-- logs-${{ matrix.os }}
61+ output : smoke-${{ inputs.scenario }}- logs-${{ matrix.os }}.zip
5362 paths : e2e/logs
5463
5564 - name : 🐛 Debug Build
Original file line number Diff line number Diff line change 4646 with :
4747 compatibility-mode : ' yes'
4848
49- smoke :
50- name : Smoke
51- needs : [lint, build, e2e, compatibility ]
49+ smoke-config :
50+ name : Smoke - Update Config
51+ needs : [lint, build, e2e]
5252 uses : ./.github/workflows/ci-smoke.yml
53+ with :
54+ scenario : ' config'
55+
56+ smoke-timeout :
57+ name : Smoke - Worker idle timeout
58+ needs : [lint, build, e2e]
59+ uses : ./.github/workflows/ci-smoke.yml
60+ with :
61+ scenario : ' timeout'
Original file line number Diff line number Diff line change 1717 "test:e2e:basic:cucumber" : " cross-env VSCODE_WDIO_E2E_SCENARIO=cucumber xvfb-maybe pnpm run wdio" ,
1818 "test:e2e:workspace" : " cross-env VSCODE_WDIO_E2E_SCENARIO=workspace xvfb-maybe pnpm run wdio" ,
1919 "test:smoke" : " run-s test:smoke:*" ,
20- "test:smoke:update- config" : " cross-env VSCODE_WDIO_E2E_SCENARIO=config xvfb-maybe wdio run ./wdioSmoke.conf.ts" ,
20+ "test:smoke:config" : " cross-env VSCODE_WDIO_E2E_SCENARIO=config xvfb-maybe wdio run ./wdioSmoke.conf.ts" ,
2121 "test:smoke:timeout" : " cross-env VSCODE_WDIO_E2E_SCENARIO=timeout xvfb-maybe wdio run ./wdioSmoke.conf.ts" ,
2222 "wdio" : " wdio run ./wdio.conf.ts"
2323 },
You can’t perform that action at this time.
0 commit comments