Skip to content

Commit 02e09db

Browse files
committed
Tests: disable browser renderer accessibility
1 parent 31c147b commit 02e09db

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# AGENTS.md
22

3-
## Quick ref
3+
## Commands
44

55
```shell
66
npm install # setup (requires Node.js ≥ 22 for `node --run`)

vite.config.ts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,13 +129,21 @@ export default defineConfig(
129129
provider: playwright({
130130
...playwrightOptions,
131131
launchOptions: {
132-
channel: 'chromium'
132+
channel: 'chromium',
133+
args: ['--disable-renderer-accessibility']
133134
}
134135
})
135136
},
136137
{
137138
browser: 'firefox',
138-
provider: playwright(playwrightOptions),
139+
provider: playwright({
140+
...playwrightOptions,
141+
launchOptions: {
142+
firefoxUserPrefs: {
143+
'accessibility.force_disabled': 1
144+
}
145+
}
146+
}),
139147
// TODO: remove when FF tests are stable
140148
fileParallelism: false
141149
}

0 commit comments

Comments
 (0)