Skip to content

Commit 92afc59

Browse files
authored
fix: windows multiremote (#124)
* chore: add wdio configs to detect-changes * chore: update deps * fix: enforce webdriverClassic
1 parent 19997e0 commit 92afc59

File tree

5 files changed

+8
-1
lines changed

5 files changed

+8
-1
lines changed

.github/workflows/_ci-detect-changes.reusable.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,10 @@ jobs:
6161
# E2E tests
6262
e2e_electron:
6363
- 'e2e/test/electron/**'
64+
- 'e2e/wdio.electron.conf.ts'
6465
e2e_tauri:
6566
- 'e2e/test/tauri/**'
67+
- 'e2e/wdio.tauri.conf.ts'
6668
6769
# Test fixtures and apps
6870
fixtures_electron:
@@ -87,6 +89,7 @@ jobs:
8789
- 'turbo.json'
8890
- 'version.config.json'
8991
- 'vitest.config.ts'
92+
- 'wdio.conf.ts'
9093
9194
- name: Determine What to Run
9295
id: determine

e2e/wdio.tauri.conf.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ switch (envContext.testType) {
133133
// Configure capabilities
134134
type TauriCapability = {
135135
browserName?: 'tauri';
136+
'wdio:enforceWebDriverClassic'?: boolean;
136137
'tauri:options': {
137138
application: string;
138139
args?: string[];
@@ -169,6 +170,7 @@ if (envContext.isMultiremote) {
169170
browserA: {
170171
capabilities: {
171172
browserName: 'tauri',
173+
'wdio:enforceWebDriverClassic': true,
172174
'tauri:options': {
173175
application: appBinaryPath,
174176
args: ['--browser=A'],
@@ -189,6 +191,7 @@ if (envContext.isMultiremote) {
189191
browserB: {
190192
capabilities: {
191193
browserName: 'tauri',
194+
'wdio:enforceWebDriverClassic': true,
192195
'tauri:options': {
193196
application: appBinaryPath,
194197
args: ['--browser=B'],
@@ -212,6 +215,7 @@ if (envContext.isMultiremote) {
212215
capabilities = [
213216
{
214217
browserName: 'tauri',
218+
'wdio:enforceWebDriverClassic': true,
215219
'tauri:options': {
216220
application: appBinaryPath,
217221
args: ['foo', 'bar=baz'],

pnpm-lock.yaml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

puppeteer-browsers-2.11.2.tgz

1.83 KB
Binary file not shown.

wdio-utils-9.23.0.tgz

1 Byte
Binary file not shown.

0 commit comments

Comments
 (0)