Skip to content

Commit 987c273

Browse files
Chore: Desktop: Run integration tests on Windows (#12147)
1 parent 0da0573 commit 987c273

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/ui-tests.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,15 @@ jobs:
99
runs-on: ${{ matrix.os }}
1010
strategy:
1111
matrix:
12-
os: [macos-13, ubuntu-22.04]
12+
os: [macos-13, ubuntu-22.04, windows-2025]
1313
steps:
1414
- uses: actions/checkout@v4
1515
- name: Setup build environment
1616
uses: ./.github/workflows/shared/setup-build-environment
1717
- name: Build
1818
run: yarn install
1919
- name: Run UI tests
20+
shell: bash
2021
run: |
2122
cd ${GITHUB_WORKSPACE}/packages/app-desktop/
2223
bash ./integration-tests/run-ci.sh

packages/app-desktop/integration-tests/wcag.spec.ts

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ import { Page } from '@playwright/test';
77
const createScanner = (page: Page) => {
88
return new AxeBuilder({ page })
99
.disableRules(['page-has-heading-one'])
10+
// Ignore a failure related to CodeMirror that seems to be a Windows-specific false positive:
11+
// "Ensure elements that have scrollable content are accessible by keyboard".
12+
.exclude(['.cm-scroller'])
1013
// Needed because we're using Electron. See https://github.com/dequelabs/axe-core-npm/issues/1141
1114
.setLegacyMode(true);
1215
};

0 commit comments

Comments
 (0)