mirror of
https://github.com/laurent22/joplin.git
synced 2026-06-18 20:16:34 +02:00
Chore: Desktop: Run integration tests on Windows (#12147)
This commit is contained in:
@@ -9,7 +9,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [macos-13, ubuntu-22.04]
|
os: [macos-13, ubuntu-22.04, windows-2025]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Setup build environment
|
- name: Setup build environment
|
||||||
@@ -17,6 +17,7 @@ jobs:
|
|||||||
- name: Build
|
- name: Build
|
||||||
run: yarn install
|
run: yarn install
|
||||||
- name: Run UI tests
|
- name: Run UI tests
|
||||||
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
cd ${GITHUB_WORKSPACE}/packages/app-desktop/
|
cd ${GITHUB_WORKSPACE}/packages/app-desktop/
|
||||||
bash ./integration-tests/run-ci.sh
|
bash ./integration-tests/run-ci.sh
|
||||||
|
|||||||
@@ -7,6 +7,9 @@ import { Page } from '@playwright/test';
|
|||||||
const createScanner = (page: Page) => {
|
const createScanner = (page: Page) => {
|
||||||
return new AxeBuilder({ page })
|
return new AxeBuilder({ page })
|
||||||
.disableRules(['page-has-heading-one'])
|
.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
|
// Needed because we're using Electron. See https://github.com/dequelabs/axe-core-npm/issues/1141
|
||||||
.setLegacyMode(true);
|
.setLegacyMode(true);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user