kibana/test/accessibility/apps/console.ts
2024-09-17 16:35:20 +03:00

30 lines
1.1 KiB
TypeScript

/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the "Elastic License
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* Public License v 1"; you may not use this file except in compliance with, at
* your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/
import { FtrProviderContext } from '../ftr_provider_context';
export default function ({ getService, getPageObjects }: FtrProviderContext) {
const PageObjects = getPageObjects(['common', 'console']);
const a11y = getService('a11y');
describe('Dev tools console', () => {
before(async () => {
await PageObjects.common.navigateToApp('console');
});
it('Dev tools console view', async () => {
await a11y.testAppSnapshot();
});
it.skip('Dev tools settings page', async () => {
await PageObjects.console.setFontSizeSetting(20);
await a11y.testAppSnapshot();
});
});
}