1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-08-10 22:11:50 +02:00

Chore: Desktop: Run integration tests on Windows (#12147)

This commit is contained in:
Henry Heino
2025-04-23 00:20:57 -07:00
committed by GitHub
parent 0da05737c6
commit 987c273376
2 changed files with 5 additions and 1 deletions

View File

@@ -9,7 +9,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-13, ubuntu-22.04]
os: [macos-13, ubuntu-22.04, windows-2025]
steps:
- uses: actions/checkout@v4
- name: Setup build environment
@@ -17,6 +17,7 @@ jobs:
- name: Build
run: yarn install
- name: Run UI tests
shell: bash
run: |
cd ${GITHUB_WORKSPACE}/packages/app-desktop/
bash ./integration-tests/run-ci.sh

View File

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