You've already forked joplin
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:
3
.github/workflows/ui-tests.yml
vendored
3
.github/workflows/ui-tests.yml
vendored
@@ -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
|
||||
|
@@ -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);
|
||||
};
|
||||
|
Reference in New Issue
Block a user