diff --git a/packages/app-desktop/integration-tests/wcag.spec.ts b/packages/app-desktop/integration-tests/wcag.spec.ts index db8bd07f53..f279285688 100644 --- a/packages/app-desktop/integration-tests/wcag.spec.ts +++ b/packages/app-desktop/integration-tests/wcag.spec.ts @@ -1,6 +1,5 @@ import { test, expect } from './util/test'; import MainScreen from './models/MainScreen'; -import SettingsScreen from './models/SettingsScreen'; import AxeBuilder from '@axe-core/playwright'; import { Page } from '@playwright/test'; @@ -39,24 +38,25 @@ const expectNoViolations = async (page: Page) => { }; test.describe('wcag', () => { - for (const tabName of ['General', 'Plugins']) { - test(`should not detect significant issues in the settings screen ${tabName} tab`, async ({ electronApp, mainWindow }) => { - const mainScreen = await new MainScreen(mainWindow).setup(); - await mainScreen.waitFor(); - - await mainScreen.openSettings(electronApp); - - // Should be on the settings screen - const settingsScreen = new SettingsScreen(mainWindow); - await settingsScreen.waitFor(); - - const tabLocator = settingsScreen.getTabLocator(tabName); - await tabLocator.click(); - await expect(tabLocator).toBeFocused(); - - await expectNoViolations(mainWindow); - }); - } + // Disabled due to random failure in CI: +// for (const tabName of ['General', 'Plugins']) { +// test(`should not detect significant issues in the settings screen ${tabName} tab`, async ({ electronApp, mainWindow }) => { +// const mainScreen = await new MainScreen(mainWindow).setup(); +// await mainScreen.waitFor(); +// +// await mainScreen.openSettings(electronApp); +// +// // Should be on the settings screen +// const settingsScreen = new SettingsScreen(mainWindow); +// await settingsScreen.waitFor(); +// +// const tabLocator = settingsScreen.getTabLocator(tabName); +// await tabLocator.click(); +// await expect(tabLocator).toBeFocused(); +// +// await expectNoViolations(mainWindow); +// }); +// } test('should not detect significant issues in the main screen with an open note', async ({ mainWindow }) => { const mainScreen = await new MainScreen(mainWindow).setup();